routes method

  1. @override
void routes(
  1. RouteManager r
)
override

Implementation

@override
void routes(RouteManager r) {
  r.child(
    '/',
    child: (_) => const CalendarScreen(),
    transition: TransitionType.custom,
    customTransition: defaultTransition,
    children: [
      ChildRoute('/plan', child: (_) => const PlanScreen()),
      ChildRoute('/tasks-overview', child: (_) => const TasksOverviewScreen()),
    ],
  );
}