mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-08 18:03:12 +00:00
21 lines
557 B
Dart
21 lines
557 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];
|
|
}
|