Files
iiEsaywebUIapp/lib/core/persistence/persistence_providers.dart
cogwheel0 80129c5711 chore: integrate Hive for local storage management
- Added `hive_ce` and `hive_ce_flutter` dependencies for enhanced local storage capabilities.
- Refactored the main application to initialize Hive and migrate existing data.
- Updated storage service implementations to utilize Hive for managing application settings and task queues.
- Removed the deprecated `StorageService` class to streamline the codebase and improve maintainability.
2025-10-01 16:55:44 +05:30

11 lines
347 B
Dart

import 'package:riverpod_annotation/riverpod_annotation.dart';
import 'hive_boxes.dart';
part 'persistence_providers.g.dart';
/// Provides access to eagerly opened Hive boxes. Must be overridden in [main].
@Riverpod(keepAlive: true)
HiveBoxes hiveBoxes(Ref ref) =>
throw UnimplementedError('Hive boxes must be provided during bootstrap.');