builder property
If routerConfig is not specified, a callback that is executed after the widget created by onGenerateRoute or other methods is generated.
The build context is passed to context
and the generated widget to child
.
Return a widget with child
wrapped in the return value.
routerConfigが指定されていない場合、onGenerateRouteなどで作成されたウィジェットが生成された後に実行されるコールバック。
context
にビルドコンテキスト、child
に生成されたウィジェットが渡されます。
戻り値にchild
をラッピングしたウィジェットを返してください。
Implementation
final Widget Function(BuildContext context, Widget? child)? builder;