359 lines
9.6 KiB
Dart
359 lines
9.6 KiB
Dart
// dart format width=80
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
// **************************************************************************
|
|
// AutoRouterGenerator
|
|
// **************************************************************************
|
|
|
|
// ignore_for_file: type=lint
|
|
// coverage:ignore-file
|
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
|
import 'package:auto_route/auto_route.dart' as _i13;
|
|
import 'package:flutter/cupertino.dart' as _i14;
|
|
import 'package:remever/database/database.dart' as _i15;
|
|
import 'package:remever/screens/auth/auth_screen.dart' as _i1;
|
|
import 'package:remever/screens/collections/collection_detail_screen.dart'
|
|
as _i2;
|
|
import 'package:remever/screens/collections/collection_search_screen.dart'
|
|
as _i4;
|
|
import 'package:remever/screens/collections/collections_screen.dart' as _i3;
|
|
import 'package:remever/screens/create_card/create_screen.dart' as _i5;
|
|
import 'package:remever/screens/crud_collection/crud_collection.dart' as _i7;
|
|
import 'package:remever/screens/crud_collection/widgets/crud_collection_fullscreen_field.dart'
|
|
as _i6;
|
|
import 'package:remever/screens/home/home_screen.dart' as _i8;
|
|
import 'package:remever/screens/sandbox/sandbox_screen.dart' as _i9;
|
|
import 'package:remever/screens/settings/settings_screen.dart' as _i10;
|
|
import 'package:remever/screens/splash/splash_screen.dart' as _i11;
|
|
import 'package:remever/screens/statistick/statistick_screen.dart' as _i12;
|
|
|
|
/// generated route for
|
|
/// [_i1.AuthScreen]
|
|
class AuthRoute extends _i13.PageRouteInfo<void> {
|
|
const AuthRoute({List<_i13.PageRouteInfo>? children})
|
|
: super(AuthRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'AuthRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i1.AuthScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i2.CollectionDetailScreen]
|
|
class CollectionDetailRoute
|
|
extends _i13.PageRouteInfo<CollectionDetailRouteArgs> {
|
|
CollectionDetailRoute({
|
|
_i14.Key? key,
|
|
required _i15.Collection collection,
|
|
List<_i13.PageRouteInfo>? children,
|
|
}) : super(
|
|
CollectionDetailRoute.name,
|
|
args: CollectionDetailRouteArgs(key: key, collection: collection),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'CollectionDetailRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<CollectionDetailRouteArgs>();
|
|
return _i2.CollectionDetailScreen(
|
|
key: args.key,
|
|
collection: args.collection,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class CollectionDetailRouteArgs {
|
|
const CollectionDetailRouteArgs({this.key, required this.collection});
|
|
|
|
final _i14.Key? key;
|
|
|
|
final _i15.Collection collection;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'CollectionDetailRouteArgs{key: $key, collection: $collection}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i3.CollectionScreen]
|
|
class CollectionRoute extends _i13.PageRouteInfo<void> {
|
|
const CollectionRoute({List<_i13.PageRouteInfo>? children})
|
|
: super(CollectionRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'CollectionRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i3.CollectionScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i4.CollectionSearchScreen]
|
|
class CollectionSearchRoute
|
|
extends _i13.PageRouteInfo<CollectionSearchRouteArgs> {
|
|
CollectionSearchRoute({
|
|
_i14.Key? key,
|
|
required void Function(_i15.Collection) onCollectionSelect,
|
|
List<_i13.PageRouteInfo>? children,
|
|
}) : super(
|
|
CollectionSearchRoute.name,
|
|
args: CollectionSearchRouteArgs(
|
|
key: key,
|
|
onCollectionSelect: onCollectionSelect,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'CollectionSearchRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<CollectionSearchRouteArgs>();
|
|
return _i4.CollectionSearchScreen(
|
|
key: args.key,
|
|
onCollectionSelect: args.onCollectionSelect,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class CollectionSearchRouteArgs {
|
|
const CollectionSearchRouteArgs({this.key, required this.onCollectionSelect});
|
|
|
|
final _i14.Key? key;
|
|
|
|
final void Function(_i15.Collection) onCollectionSelect;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'CollectionSearchRouteArgs{key: $key, onCollectionSelect: $onCollectionSelect}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i5.CreateScreen]
|
|
class CreateRoute extends _i13.PageRouteInfo<void> {
|
|
const CreateRoute({List<_i13.PageRouteInfo>? children})
|
|
: super(CreateRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'CreateRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i5.CreateScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i6.CrudCollectionFullscreenField]
|
|
class CrudCollectionFullscreenField
|
|
extends _i13.PageRouteInfo<CrudCollectionFullscreenFieldArgs> {
|
|
CrudCollectionFullscreenField({
|
|
_i14.Key? key,
|
|
String title = '',
|
|
String? hint,
|
|
String? content,
|
|
double height = 92,
|
|
required void Function(String?) onEditingComplete,
|
|
List<_i13.PageRouteInfo>? children,
|
|
}) : super(
|
|
CrudCollectionFullscreenField.name,
|
|
args: CrudCollectionFullscreenFieldArgs(
|
|
key: key,
|
|
title: title,
|
|
hint: hint,
|
|
content: content,
|
|
height: height,
|
|
onEditingComplete: onEditingComplete,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'CrudCollectionFullscreenField';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<CrudCollectionFullscreenFieldArgs>();
|
|
return _i6.CrudCollectionFullscreenField(
|
|
key: args.key,
|
|
title: args.title,
|
|
hint: args.hint,
|
|
content: args.content,
|
|
height: args.height,
|
|
onEditingComplete: args.onEditingComplete,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class CrudCollectionFullscreenFieldArgs {
|
|
const CrudCollectionFullscreenFieldArgs({
|
|
this.key,
|
|
this.title = '',
|
|
this.hint,
|
|
this.content,
|
|
this.height = 92,
|
|
required this.onEditingComplete,
|
|
});
|
|
|
|
final _i14.Key? key;
|
|
|
|
final String title;
|
|
|
|
final String? hint;
|
|
|
|
final String? content;
|
|
|
|
final double height;
|
|
|
|
final void Function(String?) onEditingComplete;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'CrudCollectionFullscreenFieldArgs{key: $key, title: $title, hint: $hint, content: $content, height: $height, onEditingComplete: $onEditingComplete}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i7.CrudCollectionScreen]
|
|
class CrudCollectionRoute extends _i13.PageRouteInfo<CrudCollectionRouteArgs> {
|
|
CrudCollectionRoute({
|
|
_i14.Key? key,
|
|
_i15.Collection? editedCollection,
|
|
List<_i13.PageRouteInfo>? children,
|
|
}) : super(
|
|
CrudCollectionRoute.name,
|
|
args: CrudCollectionRouteArgs(
|
|
key: key,
|
|
editedCollection: editedCollection,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'CrudCollectionRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<CrudCollectionRouteArgs>(
|
|
orElse: () => const CrudCollectionRouteArgs(),
|
|
);
|
|
return _i7.CrudCollectionScreen(
|
|
key: args.key,
|
|
editedCollection: args.editedCollection,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class CrudCollectionRouteArgs {
|
|
const CrudCollectionRouteArgs({this.key, this.editedCollection});
|
|
|
|
final _i14.Key? key;
|
|
|
|
final _i15.Collection? editedCollection;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'CrudCollectionRouteArgs{key: $key, editedCollection: $editedCollection}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i8.HomeScreen]
|
|
class HomeRoute extends _i13.PageRouteInfo<void> {
|
|
const HomeRoute({List<_i13.PageRouteInfo>? children})
|
|
: super(HomeRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'HomeRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i8.HomeScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i9.SandboxScreen]
|
|
class SandboxRoute extends _i13.PageRouteInfo<void> {
|
|
const SandboxRoute({List<_i13.PageRouteInfo>? children})
|
|
: super(SandboxRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'SandboxRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i9.SandboxScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i10.SettingsScreen]
|
|
class SettingsRoute extends _i13.PageRouteInfo<void> {
|
|
const SettingsRoute({List<_i13.PageRouteInfo>? children})
|
|
: super(SettingsRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'SettingsRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i10.SettingsScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i11.SplashScreen]
|
|
class SplashRoute extends _i13.PageRouteInfo<void> {
|
|
const SplashRoute({List<_i13.PageRouteInfo>? children})
|
|
: super(SplashRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'SplashRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i11.SplashScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i12.StatistickScreen]
|
|
class StatistickRoute extends _i13.PageRouteInfo<void> {
|
|
const StatistickRoute({List<_i13.PageRouteInfo>? children})
|
|
: super(StatistickRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'StatistickRoute';
|
|
|
|
static _i13.PageInfo page = _i13.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i12.StatistickScreen();
|
|
},
|
|
);
|
|
}
|