onBuildApp method

Widget onBuildApp(
  1. BuildContext context,
  2. Widget app
)

Widgets can be added during the build of MasamuneApp.

The widget generated in MasamuneApp is passed to app.

Returning Widget will build the widget.

MasamuneAppのビルド時にウィジェットを追加することが可能です。

appMasamuneApp内で生成されたウィジェットが渡されます。

Widgetを返すとそのウィジェットがビルドされます。

Implementation

Widget onBuildApp(BuildContext context, Widget app) {
  return app;
}