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