Files
trainhub-flutter/lib/core/router/app_router.gr.dart
Kazimierz Ciołek 0c9eb8878d
Some checks failed
Build Linux App / build (push) Failing after 1m33s
Refactoring
2026-02-23 10:02:23 -05:00

240 lines
5.7 KiB
Dart

// dart format width=80
// GENERATED CODE - DO NOT MODIFY BY HAND
// **************************************************************************
// AutoRouterGenerator
// **************************************************************************
// ignore_for_file: type=lint
// coverage:ignore-file
part of 'app_router.dart';
/// generated route for
/// [AnalysisPage]
class AnalysisRoute extends PageRouteInfo<void> {
const AnalysisRoute({List<PageRouteInfo>? children})
: super(AnalysisRoute.name, initialChildren: children);
static const String name = 'AnalysisRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const AnalysisPage();
},
);
}
/// generated route for
/// [CalendarPage]
class CalendarRoute extends PageRouteInfo<void> {
const CalendarRoute({List<PageRouteInfo>? children})
: super(CalendarRoute.name, initialChildren: children);
static const String name = 'CalendarRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const CalendarPage();
},
);
}
/// generated route for
/// [ChatPage]
class ChatRoute extends PageRouteInfo<void> {
const ChatRoute({List<PageRouteInfo>? children})
: super(ChatRoute.name, initialChildren: children);
static const String name = 'ChatRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const ChatPage();
},
);
}
/// generated route for
/// [HomePage]
class HomeRoute extends PageRouteInfo<void> {
const HomeRoute({List<PageRouteInfo>? children})
: super(HomeRoute.name, initialChildren: children);
static const String name = 'HomeRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const HomePage();
},
);
}
/// generated route for
/// [KnowledgeBasePage]
class KnowledgeBaseRoute extends PageRouteInfo<void> {
const KnowledgeBaseRoute({List<PageRouteInfo>? children})
: super(KnowledgeBaseRoute.name, initialChildren: children);
static const String name = 'KnowledgeBaseRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const KnowledgeBasePage();
},
);
}
/// generated route for
/// [PlanEditorPage]
class PlanEditorRoute extends PageRouteInfo<PlanEditorRouteArgs> {
PlanEditorRoute({
Key? key,
required String planId,
List<PageRouteInfo>? children,
}) : super(
PlanEditorRoute.name,
args: PlanEditorRouteArgs(key: key, planId: planId),
rawPathParams: {'planId': planId},
initialChildren: children,
);
static const String name = 'PlanEditorRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
final args = data.argsAs<PlanEditorRouteArgs>(
orElse: () =>
PlanEditorRouteArgs(planId: pathParams.getString('planId')),
);
return PlanEditorPage(key: args.key, planId: args.planId);
},
);
}
class PlanEditorRouteArgs {
const PlanEditorRouteArgs({this.key, required this.planId});
final Key? key;
final String planId;
@override
String toString() {
return 'PlanEditorRouteArgs{key: $key, planId: $planId}';
}
}
/// generated route for
/// [SettingsPage]
class SettingsRoute extends PageRouteInfo<void> {
const SettingsRoute({List<PageRouteInfo>? children})
: super(SettingsRoute.name, initialChildren: children);
static const String name = 'SettingsRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const SettingsPage();
},
);
}
/// generated route for
/// [ShellPage]
class ShellRoute extends PageRouteInfo<void> {
const ShellRoute({List<PageRouteInfo>? children})
: super(ShellRoute.name, initialChildren: children);
static const String name = 'ShellRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const ShellPage();
},
);
}
/// generated route for
/// [TrainingsPage]
class TrainingsRoute extends PageRouteInfo<void> {
const TrainingsRoute({List<PageRouteInfo>? children})
: super(TrainingsRoute.name, initialChildren: children);
static const String name = 'TrainingsRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const TrainingsPage();
},
);
}
/// generated route for
/// [WelcomeScreen]
class WelcomeRoute extends PageRouteInfo<void> {
const WelcomeRoute({List<PageRouteInfo>? children})
: super(WelcomeRoute.name, initialChildren: children);
static const String name = 'WelcomeRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
return const WelcomeScreen();
},
);
}
/// generated route for
/// [WorkoutSessionPage]
class WorkoutSessionRoute extends PageRouteInfo<WorkoutSessionRouteArgs> {
WorkoutSessionRoute({
Key? key,
required String planId,
List<PageRouteInfo>? children,
}) : super(
WorkoutSessionRoute.name,
args: WorkoutSessionRouteArgs(key: key, planId: planId),
rawPathParams: {'planId': planId},
initialChildren: children,
);
static const String name = 'WorkoutSessionRoute';
static PageInfo page = PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
final args = data.argsAs<WorkoutSessionRouteArgs>(
orElse: () =>
WorkoutSessionRouteArgs(planId: pathParams.getString('planId')),
);
return WorkoutSessionPage(key: args.key, planId: args.planId);
},
);
}
class WorkoutSessionRouteArgs {
const WorkoutSessionRouteArgs({this.key, required this.planId});
final Key? key;
final String planId;
@override
String toString() {
return 'WorkoutSessionRouteArgs{key: $key, planId: $planId}';
}
}