nc-photos/app/lib/widget/settings/theme_settings.g.dart

112 lines
3.5 KiB
Dart
Raw Normal View History

2022-12-16 16:01:04 +01:00
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'theme_settings.dart';
2023-05-28 19:11:34 +02:00
// **************************************************************************
// CopyWithLintRuleGenerator
// **************************************************************************
// ignore_for_file: library_private_types_in_public_api, duplicate_ignore
// **************************************************************************
// CopyWithGenerator
// **************************************************************************
abstract class $_StateCopyWithWorker {
_State call(
{bool? isFollowSystemTheme,
bool? isUseBlackInDarkTheme,
int? seedColor,
int? secondarySeedColor,
ExceptionEvent? error});
2023-05-28 19:11:34 +02:00
}
class _$_StateCopyWithWorkerImpl implements $_StateCopyWithWorker {
_$_StateCopyWithWorkerImpl(this.that);
@override
_State call(
{dynamic isFollowSystemTheme,
dynamic isUseBlackInDarkTheme,
dynamic seedColor = copyWithNull,
dynamic secondarySeedColor = copyWithNull,
dynamic error = copyWithNull}) {
2023-05-28 19:11:34 +02:00
return _State(
isFollowSystemTheme:
isFollowSystemTheme as bool? ?? that.isFollowSystemTheme,
isUseBlackInDarkTheme:
isUseBlackInDarkTheme as bool? ?? that.isUseBlackInDarkTheme,
seedColor:
seedColor == copyWithNull ? that.seedColor : seedColor as int?,
secondarySeedColor: secondarySeedColor == copyWithNull
? that.secondarySeedColor
: secondarySeedColor as int?,
error: error == copyWithNull ? that.error : error as ExceptionEvent?);
2023-05-28 19:11:34 +02:00
}
final _State that;
}
extension $_StateCopyWith on _State {
$_StateCopyWithWorker get copyWith => _$copyWith;
$_StateCopyWithWorker get _$copyWith => _$_StateCopyWithWorkerImpl(this);
}
2022-12-16 16:01:04 +01:00
// **************************************************************************
// NpLogGenerator
// **************************************************************************
extension _$_WrappedThemeSettingsStateNpLog on _WrappedThemeSettingsState {
2022-12-16 16:01:04 +01:00
// ignore: unused_element
2022-12-20 17:49:14 +01:00
Logger get _log => log;
static final log =
Logger("widget.settings.theme_settings._WrappedThemeSettingsState");
2022-12-16 16:01:04 +01:00
}
2023-05-28 19:11:34 +02:00
extension _$_BlocNpLog on _Bloc {
// ignore: unused_element
Logger get _log => log;
static final log = Logger("widget.settings.theme_settings._Bloc");
}
// **************************************************************************
// ToStringGenerator
// **************************************************************************
extension _$_StateToString on _State {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_State {isFollowSystemTheme: $isFollowSystemTheme, isUseBlackInDarkTheme: $isUseBlackInDarkTheme, seedColor: $seedColor, secondarySeedColor: $secondarySeedColor, error: $error}";
}
}
extension _$_InitToString on _Init {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_Init {}";
2023-05-28 19:11:34 +02:00
}
}
extension _$_SetFollowSystemThemeToString on _SetFollowSystemTheme {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetFollowSystemTheme {value: $value}";
}
}
extension _$_SetUseBlackInDarkThemeToString on _SetUseBlackInDarkTheme {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetUseBlackInDarkTheme {value: $value, theme: $theme}";
}
}
extension _$_SetThemeColorToString on _SetThemeColor {
2023-05-28 19:11:34 +02:00
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetThemeColor {primary: $primary, secondary: $secondary}";
2023-05-28 19:11:34 +02:00
}
}