selfprivacy.org.app/lib/logic/cubit/app_settings/app_settings_state.dart
NaiJi 2ac8e4366b Linting!
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
2022-06-06 01:40:34 +03:00

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];
}