Skip to content
pubscout

hive_ce_flutter

2.6.0, released today by iodesignteam.com

Flutter extension for Hive database initialization and path management

WASM-readyUses material_uiRock solid
$ flutter pub add hive_ce_flutter
Source repository

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.

  • mysql_utils

    A helper library that makes MySQL database operations simpler using mysql_client_plus.

  • flutter_cache

    A wrapper for shared_preferences to cache data with lifetime support.

  • stash_hive

    Hive storage extension for the stash caching API

Works with

Packages commonly used together with hive_ce_flutter: ones it builds on, ones built on it, and its own family.