menu
control_config package
documentation
config.dart
ControlPrefs
getBool method
getBool method
dark_mode
light_mode
getBool
method
bool
getBool
(
String
key
, {
bool
defaultValue
=
false
,
})
Implementation
bool getBool(String key, {bool defaultValue = false}) => prefs?.getBool(key) ?? defaultValue;
control_config package
documentation
config
ControlPrefs
getBool method
ControlPrefs class