part of 'settings_bloc.dart'; class SettingsState { final ThemeMode themeMode; const SettingsState({ this.themeMode = ThemeMode.system, }); SettingsState copyWith({ ThemeMode? themeMode, }) { return SettingsState( themeMode: themeMode ?? this.themeMode, ); } }