mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
126 lines
3.5 KiB
Dart
126 lines
3.5 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'slideshow_viewer.dart';
|
|
|
|
// **************************************************************************
|
|
// CopyWithLintRuleGenerator
|
|
// **************************************************************************
|
|
|
|
// ignore_for_file: library_private_types_in_public_api, duplicate_ignore
|
|
|
|
// **************************************************************************
|
|
// CopyWithGenerator
|
|
// **************************************************************************
|
|
|
|
abstract class $_StateCopyWithWorker {
|
|
_State call(
|
|
{bool? hasInit,
|
|
int? page,
|
|
int? nextPage,
|
|
FileDescriptor? currentFile,
|
|
bool? isShowUi});
|
|
}
|
|
|
|
class _$_StateCopyWithWorkerImpl implements $_StateCopyWithWorker {
|
|
_$_StateCopyWithWorkerImpl(this.that);
|
|
|
|
@override
|
|
_State call(
|
|
{dynamic hasInit,
|
|
dynamic page,
|
|
dynamic nextPage,
|
|
dynamic currentFile,
|
|
dynamic isShowUi}) {
|
|
return _State(
|
|
hasInit: hasInit as bool? ?? that.hasInit,
|
|
page: page as int? ?? that.page,
|
|
nextPage: nextPage as int? ?? that.nextPage,
|
|
currentFile: currentFile as FileDescriptor? ?? that.currentFile,
|
|
isShowUi: isShowUi as bool? ?? that.isShowUi);
|
|
}
|
|
|
|
final _State that;
|
|
}
|
|
|
|
extension $_StateCopyWith on _State {
|
|
$_StateCopyWithWorker get copyWith => _$copyWith;
|
|
$_StateCopyWithWorker get _$copyWith => _$_StateCopyWithWorkerImpl(this);
|
|
}
|
|
|
|
// **************************************************************************
|
|
// NpLogGenerator
|
|
// **************************************************************************
|
|
|
|
extension _$_BlocNpLog on _Bloc {
|
|
// ignore: unused_element
|
|
Logger get _log => log;
|
|
|
|
static final log = Logger("widget.slideshow_viewer._Bloc");
|
|
}
|
|
|
|
extension _$_BodyNpLog on _Body {
|
|
// ignore: unused_element
|
|
Logger get _log => log;
|
|
|
|
static final log = Logger("widget.slideshow_viewer._Body");
|
|
}
|
|
|
|
extension _$_PageViewNpLog on _PageView {
|
|
// ignore: unused_element
|
|
Logger get _log => log;
|
|
|
|
static final log = Logger("widget.slideshow_viewer._PageView");
|
|
}
|
|
|
|
// **************************************************************************
|
|
// ToStringGenerator
|
|
// **************************************************************************
|
|
|
|
extension _$_StateToString on _State {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_State {hasInit: $hasInit, page: $page, nextPage: $nextPage, currentFile: ${currentFile.fdPath}, isShowUi: $isShowUi}";
|
|
}
|
|
}
|
|
|
|
extension _$_InitToString on _Init {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_Init {}";
|
|
}
|
|
}
|
|
|
|
extension _$_ToggleShowUiToString on _ToggleShowUi {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_ToggleShowUi {}";
|
|
}
|
|
}
|
|
|
|
extension _$_PreloadSidePagesToString on _PreloadSidePages {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_PreloadSidePages {center: $center}";
|
|
}
|
|
}
|
|
|
|
extension _$_VideoCompletedToString on _VideoCompleted {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_VideoCompleted {page: $page}";
|
|
}
|
|
}
|
|
|
|
extension _$_SetCurrentPageToString on _SetCurrentPage {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_SetCurrentPage {value: $value}";
|
|
}
|
|
}
|
|
|
|
extension _$_NextPageToString on _NextPage {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_NextPage {value: $value}";
|
|
}
|
|
}
|