Add local data store adapter layer and Hive scaffold

This commit is contained in:
Rijad Zuzo
2026-02-15 19:05:20 +01:00
parent 2a7d039475
commit 21c911ad4c
13 changed files with 328 additions and 19 deletions
+4
View File
@@ -22,6 +22,10 @@ class AppConfig {
static bool get useFakeBackend =>
const bool.fromEnvironment('USE_FAKE_BACKEND', defaultValue: true);
/// Enables Hive local persistence store instead of shared_preferences.
static bool get useHiveLocalDb =>
const bool.fromEnvironment('USE_HIVE_LOCAL_DB', defaultValue: false);
/// Runtime override for backend URL (e.g. local settings screen).
static void overrideBackendBaseUrl(String? baseUrl) {
_baseUrlOverride = baseUrl;