import 'package:shared_preferences/shared_preferences.dart'; abstract class KVStoreService { static SharedPreferences? _sharedPreferences; static SharedPreferences get sharedPreferences => _sharedPreferences!; static Future initialize() async { _sharedPreferences = await SharedPreferences.getInstance(); } static bool get doneGettingStarted => sharedPreferences.getBool('doneGettingStarted') ?? false; static set doneGettingStarted(bool value) => sharedPreferences.setBool('doneGettingStarted', value); }