mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 22:29:15 +00:00
24 lines
599 B
Dart
24 lines
599 B
Dart
part of 'app_settings_cubit.dart';
|
|
|
|
class AppSettingsState extends Equatable {
|
|
const AppSettingsState({
|
|
required this.isDarkModeOn,
|
|
required this.isOnboardingShowing,
|
|
});
|
|
|
|
final bool isDarkModeOn;
|
|
final bool isOnboardingShowing;
|
|
|
|
AppSettingsState copyWith({
|
|
final bool? isDarkModeOn,
|
|
final bool? isOnboardingShowing,
|
|
}) =>
|
|
AppSettingsState(
|
|
isDarkModeOn: isDarkModeOn ?? this.isDarkModeOn,
|
|
isOnboardingShowing: isOnboardingShowing ?? this.isOnboardingShowing,
|
|
);
|
|
|
|
@override
|
|
List<Object> get props => [isDarkModeOn, isOnboardingShowing];
|
|
}
|