feature(statistick): Основная верстка экрана статистики
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
// 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:flutter/material.dart' as _i16;
|
||||
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'
|
||||
@@ -366,16 +367,34 @@ class SplashRoute extends _i13.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i12.StatistickScreen]
|
||||
class StatistickRoute extends _i13.PageRouteInfo<void> {
|
||||
const StatistickRoute({List<_i13.PageRouteInfo>? children})
|
||||
: super(StatistickRoute.name, initialChildren: children);
|
||||
class StatistickRoute extends _i13.PageRouteInfo<StatistickRouteArgs> {
|
||||
StatistickRoute({_i16.Key? key, List<_i13.PageRouteInfo>? children})
|
||||
: super(
|
||||
StatistickRoute.name,
|
||||
args: StatistickRouteArgs(key: key),
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'StatistickRoute';
|
||||
|
||||
static _i13.PageInfo page = _i13.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i12.StatistickScreen();
|
||||
final args = data.argsAs<StatistickRouteArgs>(
|
||||
orElse: () => const StatistickRouteArgs(),
|
||||
);
|
||||
return _i12.StatistickScreen(key: args.key);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
class StatistickRouteArgs {
|
||||
const StatistickRouteArgs({this.key});
|
||||
|
||||
final _i16.Key? key;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'StatistickRouteArgs{key: $key}';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user