# hive_ce_flutter 2.5.0

Extension for Hive. Makes it easier to use Hive in Flutter apps.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'hive_ce_flutter:2.5.0'
```
Published: 2026-10-14T20:50:54.685358Z
Expected archive SHA-256: 7853fb2924c5dd6715c81f7a5cc4574afe4aac3c2d7ecd657fdeba409505f1d1

Available in cache; verification: upstream_checksum
## Direct dependencies
- flutter: map[sdk:flutter]
- hive_ce: ^2.22.0
- material_ui: ^1.0.0
- path: ^1.8.2
- path_provider: ^2.0.10

## Package README (untrusted upstream documentation)
### Extension for [hive_ce](https://github.com/IO-Design-Team/hive_ce) please go there for documentation.

## Changelog
## 2.5.0

- `initFlutter` flushes every open box when the app is paused

## 2.4.0

- Adds `MaterialUiTimeOfDayAdapter` for the `TimeOfDay` class from `package:material_ui`
- Adds `useMaterialUi` flag to `initFlutter` to register `MaterialUiTimeOfDayAdapter` instead of `TimeOfDayAdapter`
- Updates minimum Flutter version to 3.44.0
- `Hive.initFlutter` uses absolute paths as-is without calling `getApplicationDocumentsDirectory` (by [@jheld](https://github.com/jheld) in [#293](https://github.com/IO-Design-Team/hive_ce/pull/293))
- `IsolatedHive.initFlutter` also uses absolute paths as-is

## 2.3.4

- Adds `hive_ce_flutter.dart` to make the publish action happy

## 2.3.3

- Catch exception when Flutter engine is not available in `IsolatedHive.initFlutter`

## 2.3.2

- Fixes an issue with the `ColorAdapter` reading legacy color data

## 2.3.1

- Fixes web compatibility check

## 2.3.0

- Adds `IsolatedHive.initFlutter`
- Allows changing the type ids of `ColorAdapter` and `TimeOfDayAdapter`

## 2.2.0

- Fixes deprecation of `Color.value`

## 2.1.0

- Does not crash with multiple calls to `initFlutter`

## 2.0.0

- BREAKING: Registers `ColorAdapter` and `TimeOfDayAdapter` in `Hive.initFlutter`
  - MIGRATION: Remove external registration of `ColorAdapter` and `TimeOfDayAdapter`

## 1.2.0

- The first release of hive_ce_flutter







 
