initialRoute property

String? initialRoute
final

The name of the first route to display.

Defaults to '/'. If routes or onGenerateRoute can handle this route, it will be pushed on initialization.

Implementation

final String? initialRoute;