onBuildApp method

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

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

@override
Widget onBuildApp(BuildContext context, Widget app) {
  return MasamuneAdapterScope<CalendarMasamuneAdapter>(
    adapter: this,
    child: app,
  );
}