fix(collection): правки по коллекциям

This commit is contained in:
2025-06-16 20:22:56 +03:00
parent 9981f1ef0f
commit 3d31cd7737
29 changed files with 1218 additions and 43 deletions

View File

@@ -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