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

95 lines
2.9 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});
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}) {
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?);
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}";
}
}
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 _$_SetSeedColorToString on _SetSeedColor {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetSeedColor {value: $value}";
}
}