getThemeData function

Future<AppTheme?> getThemeData()

returns AppTheme if theme data is saved else returns null.

Implementation

Future<AppTheme?> getThemeData() async {
  return await ThemeService().getThemeData();
}