hive_ce_flutter
2.6.0, released today by iodesignteam.com
Flutter extension for Hive database initialization and path management
What it does
Provides helper functions like initFlutter to easily integrate the Hive database into Flutter applications. It automatically configures storage paths using path_provider and registers default adapters.
AI-written summary of version 2.5.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are using Hive or hive_ce in a Flutter application
- You need automatic path initialization for local device storage
Skip it when
- You are building a pure Dart application without Flutter
- Not using Hive for local storage
Strengths
- Simplifies Hive setup on Flutter platforms
- Handles automatic flushing of boxes on app pause
Weaknesses
- Depends entirely on hive_ce for actual storage functionality
- Limited documentation in package README
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 7
Call Hive.initFlutter() before using Hive boxes in your app.
await Hive.initFlutter();Alternatives
Packages that do the same job and could replace hive_ce_flutter.
- hive_flutter
Flutter extension for Hive providing easy initialization and adapters for common types.
50Compare - mysql_utils
A helper library that makes MySQL database operations simpler using mysql_client_plus.
67Compare - flutter_cache
A wrapper for shared_preferences to cache data with lifetime support.
40Compare - stash_hive
Hive storage extension for the stash caching API
30Compare
Works with
Packages commonly used together with hive_ce_flutter: ones it builds on, ones built on it, and its own family.
- hookshive_ce_flutter depends on itDart API for the JSON-based protocol for package build and link hooks.
- code_assetshive_ce_flutter depends on itProvides the hook protocol specification for bundling native code with Dart packages.
- path_providerhive_ce_flutter depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- native_toolchain_chive_ce_flutter depends on itInvoke the native C compiler installed on the host machine.
- material_uihive_ce_flutter depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- hive_cehive_ce_flutter depends on itA lightweight and fast NoSQL key-value database written in pure Dart.
- hive_ce_generatorSame familyAutomatically generates TypeAdapters for Hive to store custom classes.
- hive_local_storageBuilt on hive_ce_flutterA wrapper around hive_ce for easy local data storage and encryption.