routes property
If routerConfig is not specified or home is specified, this is used to specify subsequent routing.
Specify a route name as the key for Map and a callback that returns the widget to be displayed as the value.
routerConfigが指定されていない場合やhomeが指定されている場合、その後のルーティングを指定する際に利用します。
Mapのキーにルート名を指定し、値に表示するウィジェットを返すコールバックを指定します。
Implementation
final Map<String, Widget Function(BuildContext)> routes;