Правки + иконка
This commit is contained in:
@@ -44,20 +44,45 @@ class AuthRoute extends _i12.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.CollectionDetailScreen]
|
||||
class CollectionDetailRoute extends _i12.PageRouteInfo<void> {
|
||||
const CollectionDetailRoute({List<_i12.PageRouteInfo>? children})
|
||||
: super(CollectionDetailRoute.name, initialChildren: children);
|
||||
class CollectionDetailRoute
|
||||
extends _i12.PageRouteInfo<CollectionDetailRouteArgs> {
|
||||
CollectionDetailRoute({
|
||||
_i13.Key? key,
|
||||
required _i14.Collection collection,
|
||||
List<_i12.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
CollectionDetailRoute.name,
|
||||
args: CollectionDetailRouteArgs(key: key, collection: collection),
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'CollectionDetailRoute';
|
||||
|
||||
static _i12.PageInfo page = _i12.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i2.CollectionDetailScreen();
|
||||
final args = data.argsAs<CollectionDetailRouteArgs>();
|
||||
return _i2.CollectionDetailScreen(
|
||||
key: args.key,
|
||||
collection: args.collection,
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
class CollectionDetailRouteArgs {
|
||||
const CollectionDetailRouteArgs({this.key, required this.collection});
|
||||
|
||||
final _i13.Key? key;
|
||||
|
||||
final _i14.Collection collection;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'CollectionDetailRouteArgs{key: $key, collection: $collection}';
|
||||
}
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.CollectionScreen]
|
||||
class CollectionRoute extends _i12.PageRouteInfo<void> {
|
||||
|
||||
Reference in New Issue
Block a user