initialRoute property Null safety

String? initialRoute
final

The name of the first route to show.

Defaults to Navigator.defaultRouteName.

The value is interpreted according to onGenerateInitialRoutes, which defaults to defaultGenerateInitialRoutes.

Implementation

final String? initialRoute;