onBuildApp method
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
のビルド時にウィジェットを追加することが可能です。
app
にMasamuneApp
内で生成されたウィジェットが渡されます。
Widgetを返すとそのウィジェットがビルドされます。
Implementation
@override
@mustCallSuper
Widget onBuildApp(BuildContext context, Widget app) {
for (final tmp in masamuneAdapters) {
app = tmp.onBuildApp(context, app);
}
return app;
}