2022-12-31 08:51:54 +01:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'theme.dart';
|
|
|
|
|
2023-03-19 05:46:35 +01:00
|
|
|
// **************************************************************************
|
|
|
|
// CopyWithLintRuleGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
// ignore_for_file: library_private_types_in_public_api, duplicate_ignore
|
|
|
|
|
2022-12-31 08:51:54 +01:00
|
|
|
// **************************************************************************
|
|
|
|
// CopyWithGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2023-01-13 18:53:38 +01:00
|
|
|
abstract class $ThemeSettingsStateCopyWithWorker {
|
|
|
|
ThemeSettingsState call(
|
2022-12-31 08:51:54 +01:00
|
|
|
{bool? isFollowSystemTheme,
|
|
|
|
bool? isUseBlackInDarkTheme,
|
2023-01-13 18:53:38 +01:00
|
|
|
Color? seedColor});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _$ThemeSettingsStateCopyWithWorkerImpl
|
|
|
|
implements $ThemeSettingsStateCopyWithWorker {
|
|
|
|
_$ThemeSettingsStateCopyWithWorkerImpl(this.that);
|
|
|
|
|
|
|
|
@override
|
|
|
|
ThemeSettingsState call(
|
|
|
|
{dynamic isFollowSystemTheme,
|
|
|
|
dynamic isUseBlackInDarkTheme,
|
|
|
|
dynamic seedColor}) {
|
2022-12-31 08:51:54 +01:00
|
|
|
return ThemeSettingsState(
|
2023-01-13 18:53:38 +01:00
|
|
|
isFollowSystemTheme:
|
|
|
|
isFollowSystemTheme as bool? ?? that.isFollowSystemTheme,
|
2022-12-31 08:51:54 +01:00
|
|
|
isUseBlackInDarkTheme:
|
2023-01-13 18:53:38 +01:00
|
|
|
isUseBlackInDarkTheme as bool? ?? that.isUseBlackInDarkTheme,
|
|
|
|
seedColor: seedColor as Color? ?? that.seedColor);
|
2022-12-31 08:51:54 +01:00
|
|
|
}
|
2023-01-13 18:53:38 +01:00
|
|
|
|
|
|
|
final ThemeSettingsState that;
|
|
|
|
}
|
|
|
|
|
|
|
|
extension $ThemeSettingsStateCopyWith on ThemeSettingsState {
|
|
|
|
$ThemeSettingsStateCopyWithWorker get copyWith => _$copyWith;
|
|
|
|
$ThemeSettingsStateCopyWithWorker get _$copyWith =>
|
|
|
|
_$ThemeSettingsStateCopyWithWorkerImpl(this);
|
2022-12-31 08:51:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// NpLogGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
extension _$ThemeSettingsBlocNpLog on ThemeSettingsBloc {
|
|
|
|
// ignore: unused_element
|
|
|
|
Logger get _log => log;
|
|
|
|
|
|
|
|
static final log = Logger("bloc.settings.theme.ThemeSettingsBloc");
|
|
|
|
}
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// ToStringGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
extension _$ThemeSettingsStateToString on ThemeSettingsState {
|
|
|
|
String _$toString() {
|
|
|
|
// ignore: unnecessary_string_interpolations
|
|
|
|
return "ThemeSettingsState {isFollowSystemTheme: $isFollowSystemTheme, isUseBlackInDarkTheme: $isUseBlackInDarkTheme, seedColor: $seedColor}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension _$ThemeSettingsSetFollowSystemThemeToString
|
|
|
|
on ThemeSettingsSetFollowSystemTheme {
|
|
|
|
String _$toString() {
|
|
|
|
// ignore: unnecessary_string_interpolations
|
|
|
|
return "ThemeSettingsSetFollowSystemTheme {value: $value}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension _$ThemeSettingsSetUseBlackInDarkThemeToString
|
|
|
|
on ThemeSettingsSetUseBlackInDarkTheme {
|
|
|
|
String _$toString() {
|
|
|
|
// ignore: unnecessary_string_interpolations
|
|
|
|
return "ThemeSettingsSetUseBlackInDarkTheme {value: $value, theme: $theme}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension _$ThemeSettingsSetSeedColorToString on ThemeSettingsSetSeedColor {
|
|
|
|
String _$toString() {
|
|
|
|
// ignore: unnecessary_string_interpolations
|
|
|
|
return "ThemeSettingsSetSeedColor {value: $value}";
|
|
|
|
}
|
|
|
|
}
|