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
Widget onBuildApp(BuildContext context, Widget app) {
return MasamuneAdapterScope<CalendarMasamuneAdapter>(
adapter: this,
child: app,
);
}