currentTheme property Null safety

ThemeData? currentTheme

Implementation

ThemeData? get currentTheme => _themeMode == ThemeMode.dark ? darkTheme : lightTheme;