init method Null safety
Initialises the dark mode and background colour of the application by retrieving it from shared preferences.
Implementation
Future<void> init() async {
await _getIsDarkMode();
await _getBackgroundColour();
}
Initialises the dark mode and background colour of the application by retrieving it from shared preferences.
Future<void> init() async {
await _getIsDarkMode();
await _getBackgroundColour();
}