create property

Future<AppTheme> get create

Implementation

static Future<AppTheme> get create async {
  final themePreference = await _ThemePreference.create;
  final mode = themePreference.getMode();
  final colorSet = CustomColorSet.createOrUpdate(mode);

  return AppTheme._(
    colorSet,

    themePreference,
    mode,
  );
}