theme property

dynamic theme

Implementation

ThemeData get theme => prefs.getBool('darkMode') ? darkTheme : lightTheme;