170 lines
4.5 KiB
Dart
170 lines
4.5 KiB
Dart
// dart format width=80
|
|
// 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:arbiter/screens/bootstrap.dart' as _i2;
|
|
import 'package:arbiter/screens/dashboard.dart' as _i4;
|
|
import 'package:arbiter/screens/dashboard/about.dart' as _i1;
|
|
import 'package:arbiter/screens/dashboard/calc.dart' as _i3;
|
|
import 'package:arbiter/screens/server_connection.dart' as _i5;
|
|
import 'package:arbiter/screens/server_info_setup.dart' as _i6;
|
|
import 'package:arbiter/screens/vault_setup.dart' as _i7;
|
|
import 'package:auto_route/auto_route.dart' as _i8;
|
|
import 'package:flutter/material.dart' as _i9;
|
|
|
|
/// generated route for
|
|
/// [_i1.AboutScreen]
|
|
class AboutRoute extends _i8.PageRouteInfo<void> {
|
|
const AboutRoute({List<_i8.PageRouteInfo>? children})
|
|
: super(AboutRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'AboutRoute';
|
|
|
|
static _i8.PageInfo page = _i8.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i1.AboutScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i2.Bootstrap]
|
|
class Bootstrap extends _i8.PageRouteInfo<void> {
|
|
const Bootstrap({List<_i8.PageRouteInfo>? children})
|
|
: super(Bootstrap.name, initialChildren: children);
|
|
|
|
static const String name = 'Bootstrap';
|
|
|
|
static _i8.PageInfo page = _i8.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i2.Bootstrap();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i3.CalcScreen]
|
|
class CalcRoute extends _i8.PageRouteInfo<void> {
|
|
const CalcRoute({List<_i8.PageRouteInfo>? children})
|
|
: super(CalcRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'CalcRoute';
|
|
|
|
static _i8.PageInfo page = _i8.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i3.CalcScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i4.DashboardRouter]
|
|
class DashboardRouter extends _i8.PageRouteInfo<void> {
|
|
const DashboardRouter({List<_i8.PageRouteInfo>? children})
|
|
: super(DashboardRouter.name, initialChildren: children);
|
|
|
|
static const String name = 'DashboardRouter';
|
|
|
|
static _i8.PageInfo page = _i8.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i4.DashboardRouter();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i5.ServerConnectionScreen]
|
|
class ServerConnectionRoute
|
|
extends _i8.PageRouteInfo<ServerConnectionRouteArgs> {
|
|
ServerConnectionRoute({
|
|
_i9.Key? key,
|
|
String? arbiterUrl,
|
|
List<_i8.PageRouteInfo>? children,
|
|
}) : super(
|
|
ServerConnectionRoute.name,
|
|
args: ServerConnectionRouteArgs(key: key, arbiterUrl: arbiterUrl),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServerConnectionRoute';
|
|
|
|
static _i8.PageInfo page = _i8.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<ServerConnectionRouteArgs>(
|
|
orElse: () => const ServerConnectionRouteArgs(),
|
|
);
|
|
return _i5.ServerConnectionScreen(
|
|
key: args.key,
|
|
arbiterUrl: args.arbiterUrl,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class ServerConnectionRouteArgs {
|
|
const ServerConnectionRouteArgs({this.key, this.arbiterUrl});
|
|
|
|
final _i9.Key? key;
|
|
|
|
final String? arbiterUrl;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ServerConnectionRouteArgs{key: $key, arbiterUrl: $arbiterUrl}';
|
|
}
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(this, other)) return true;
|
|
if (other is! ServerConnectionRouteArgs) return false;
|
|
return key == other.key && arbiterUrl == other.arbiterUrl;
|
|
}
|
|
|
|
@override
|
|
int get hashCode => key.hashCode ^ arbiterUrl.hashCode;
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i6.ServerInfoSetupScreen]
|
|
class ServerInfoSetupRoute extends _i8.PageRouteInfo<void> {
|
|
const ServerInfoSetupRoute({List<_i8.PageRouteInfo>? children})
|
|
: super(ServerInfoSetupRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'ServerInfoSetupRoute';
|
|
|
|
static _i8.PageInfo page = _i8.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i6.ServerInfoSetupScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [_i7.VaultSetupScreen]
|
|
class VaultSetupRoute extends _i8.PageRouteInfo<void> {
|
|
const VaultSetupRoute({List<_i8.PageRouteInfo>? children})
|
|
: super(VaultSetupRoute.name, initialChildren: children);
|
|
|
|
static const String name = 'VaultSetupRoute';
|
|
|
|
static _i8.PageInfo page = _i8.PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const _i7.VaultSetupScreen();
|
|
},
|
|
);
|
|
}
|