fix(collection): правки по коллекциям
This commit is contained in:
@@ -147,20 +147,43 @@ class CollectionSearchRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.CreateScreen]
|
||||
class CreateRoute extends _i13.PageRouteInfo<void> {
|
||||
const CreateRoute({List<_i13.PageRouteInfo>? children})
|
||||
: super(CreateRoute.name, initialChildren: children);
|
||||
class CreateRoute extends _i13.PageRouteInfo<CreateRouteArgs> {
|
||||
CreateRoute({
|
||||
_i14.Key? key,
|
||||
_i15.Collection? collection,
|
||||
List<_i13.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
CreateRoute.name,
|
||||
args: CreateRouteArgs(key: key, collection: collection),
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'CreateRoute';
|
||||
|
||||
static _i13.PageInfo page = _i13.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.CreateScreen();
|
||||
final args = data.argsAs<CreateRouteArgs>(
|
||||
orElse: () => const CreateRouteArgs(),
|
||||
);
|
||||
return _i5.CreateScreen(key: args.key, collection: args.collection);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
class CreateRouteArgs {
|
||||
const CreateRouteArgs({this.key, this.collection});
|
||||
|
||||
final _i14.Key? key;
|
||||
|
||||
final _i15.Collection? collection;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'CreateRouteArgs{key: $key, collection: $collection}';
|
||||
}
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.CrudCollectionFullscreenField]
|
||||
class CrudCollectionFullscreenField
|
||||
|
||||
Reference in New Issue
Block a user