menu
sunny_lifecycle package
documentation
user_preferences_service.dart
UserPreferencesService
getBool method
getBool method
dark_mode
light_mode
getBool
method
Future
<
bool
>
getBool
(
UserPrefKey
key
)
Implementation
Future<bool> getBool(UserPrefKey key) async { return (await shared.get(prefName(key))) == "true"; }
sunny_lifecycle package
documentation
user_preferences_service
UserPreferencesService
getBool method
UserPreferencesService class