routes property

  1. @override
List<RouteDefinition> get routes
override

The route definitions

Implementation

@override
List<RouteDefinition> get routes => [
      NamedRouteDefinition(
        route: '/main',
        builder: (ctx, settings) => const CubitPage(),
      )
    ];