Search packages, repositories and app categories

Package detailsv2.2.3

hive

Lightweight and blazing fast key-value database written in pure Dart. Strongly encrypted using AES-256.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.2M
Likes
6.3K
Pub points
120

Install package

flutter pub add hive

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Hive is a lightweight, high-performance key-value database built entirely in Dart, designed for fast and efficient data storage. It supports strong AES-256 encryption for secure data handling and works across multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. Hive is ideal for storing app state, user preferences, or cached data with minimal overhead. Its simple API makes it easy to integrate into Flutter applications without requiring complex setup or external dependencies.

Use cases

  • Storing user preferences
  • Caching app data
  • Persisting session state
  • Offline-first app functionality
  • Saving small structured datasets

Key features

  • Blazing fast performance
  • AES-256 encryption
  • Pure Dart implementation
  • Cross-platform support
  • Minimal memory footprint
  • Simple, intuitive API

Suitable for

  • Flutter apps needing local storage
  • Apps requiring encrypted data persistence
  • Lightweight data caching
  • Developers seeking zero-configuration databases

Considerations

  • Not suitable for large-scale relational data
  • Limited query capabilities compared to SQL databases
  • Requires manual schema management for complex types

Categories

Dependencies

Dependency list 2 items

Projects using this package