mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 17:26:18 +01:00
33 lines
611 B
Dart
33 lines
611 B
Dart
|
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,
|
||
|
});
|
||
|
|
||
|
@override
|
||
|
String toString() => _$toString();
|
||
|
|
||
|
final language_util.AppLanguage language;
|
||
|
final bool isDarkTheme;
|
||
|
final bool isFollowSystemTheme;
|
||
|
final bool isUseBlackInDarkTheme;
|
||
|
final int? seedColor;
|
||
|
}
|
||
|
|
||
|
abstract class _Event {}
|
||
|
|
||
|
@toString
|
||
|
class _Init implements _Event {
|
||
|
const _Init();
|
||
|
|
||
|
@override
|
||
|
String toString() => _$toString();
|
||
|
}
|