initial commit
This commit is contained in:
149
lib/app_router/app_router.gr.dart
Normal file
149
lib/app_router/app_router.gr.dart
Normal file
@@ -0,0 +1,149 @@
|
||||
// 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 _i6;
|
||||
import 'package:flutter/material.dart' as _i7;
|
||||
import 'package:xiao_pet_tracker/app_router/app_router.dart' as _i1;
|
||||
import 'package:xiao_pet_tracker/recordings/view/recordings_details.dart'
|
||||
as _i2;
|
||||
import 'package:xiao_pet_tracker/recordings/view/recordings_page.dart' as _i3;
|
||||
import 'package:xiao_pet_tracker/xiao_connector/view/xiao_connector_page.dart'
|
||||
as _i4;
|
||||
import 'package:xiao_pet_tracker/xiao_connector/view/xiao_data_page.dart'
|
||||
as _i5;
|
||||
|
||||
/// generated route for
|
||||
/// [_i1.MainPage]
|
||||
class MainRoute extends _i6.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i6.PageRouteInfo>? children})
|
||||
: super(
|
||||
MainRoute.name,
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'MainRoute';
|
||||
|
||||
static _i6.PageInfo page = _i6.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i1.MainPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.RecordingsDetailsPage]
|
||||
class RecordingsDetailsRoute
|
||||
extends _i6.PageRouteInfo<RecordingsDetailsRouteArgs> {
|
||||
RecordingsDetailsRoute({
|
||||
required String uuid,
|
||||
required String type,
|
||||
_i7.Key? key,
|
||||
List<_i6.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
RecordingsDetailsRoute.name,
|
||||
args: RecordingsDetailsRouteArgs(
|
||||
uuid: uuid,
|
||||
type: type,
|
||||
key: key,
|
||||
),
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'RecordingsDetailsRoute';
|
||||
|
||||
static _i6.PageInfo page = _i6.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<RecordingsDetailsRouteArgs>();
|
||||
return _i2.RecordingsDetailsPage(
|
||||
uuid: args.uuid,
|
||||
type: args.type,
|
||||
key: args.key,
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
class RecordingsDetailsRouteArgs {
|
||||
const RecordingsDetailsRouteArgs({
|
||||
required this.uuid,
|
||||
required this.type,
|
||||
this.key,
|
||||
});
|
||||
|
||||
final String uuid;
|
||||
|
||||
final String type;
|
||||
|
||||
final _i7.Key? key;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'RecordingsDetailsRouteArgs{uuid: $uuid, type: $type, key: $key}';
|
||||
}
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.RecordingsPage]
|
||||
class RecordingsRoute extends _i6.PageRouteInfo<void> {
|
||||
const RecordingsRoute({List<_i6.PageRouteInfo>? children})
|
||||
: super(
|
||||
RecordingsRoute.name,
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'RecordingsRoute';
|
||||
|
||||
static _i6.PageInfo page = _i6.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i3.RecordingsPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i4.XiaoConnectorPage]
|
||||
class XiaoConnectorRoute extends _i6.PageRouteInfo<void> {
|
||||
const XiaoConnectorRoute({List<_i6.PageRouteInfo>? children})
|
||||
: super(
|
||||
XiaoConnectorRoute.name,
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'XiaoConnectorRoute';
|
||||
|
||||
static _i6.PageInfo page = _i6.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i4.XiaoConnectorPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.XiaoDataPage]
|
||||
class XiaoDataRoute extends _i6.PageRouteInfo<void> {
|
||||
const XiaoDataRoute({List<_i6.PageRouteInfo>? children})
|
||||
: super(
|
||||
XiaoDataRoute.name,
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'XiaoDataRoute';
|
||||
|
||||
static _i6.PageInfo page = _i6.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.XiaoDataPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user