routes property

  1. @override
List<RouteDefinition> get routes
override

The route definitions

Implementation

@override
List<RouteDefinition> get routes => [
      NamedRouteDefinition(
          builder: (ctx, settings) => ClockCustomizer((model) => Builder(
                builder: (context) => SpaceClockScene(
                  model,
                  showMoon: showMoon,
                  showSun: showSun,
                  showEarth: showEarth,
                ),
              )),
          route: route)
    ];