2023-08-19 18:47:56 +02:00
|
|
|
part of '../my_app.dart';
|
|
|
|
|
|
|
|
@genCopyWith
|
|
|
|
@toString
|
|
|
|
class _State {
|
|
|
|
const _State({
|
|
|
|
required this.language,
|
|
|
|
required this.isDarkTheme,
|
|
|
|
required this.isFollowSystemTheme,
|
|
|
|
required this.isUseBlackInDarkTheme,
|
|
|
|
required this.seedColor,
|
2024-05-18 16:00:25 +02:00
|
|
|
required this.secondarySeedColor,
|
2023-08-19 18:47:56 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() => _$toString();
|
|
|
|
|
|
|
|
final language_util.AppLanguage language;
|
|
|
|
final bool isDarkTheme;
|
|
|
|
final bool isFollowSystemTheme;
|
|
|
|
final bool isUseBlackInDarkTheme;
|
|
|
|
final int? seedColor;
|
2024-05-18 16:00:25 +02:00
|
|
|
final int? secondarySeedColor;
|
2023-08-19 18:47:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class _Event {}
|
|
|
|
|
|
|
|
@toString
|
|
|
|
class _Init implements _Event {
|
|
|
|
const _Init();
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() => _$toString();
|
|
|
|
}
|