MasamuneAdapter constructor

const MasamuneAdapter()

Adapter for easily adding functions to Masamune Framework.

Setting runZonedGuarded to true allows wrapping runApp with runZonedGuarded. At that time, onPreRunApp can be used to execute the process before runApp, and onError can be used to describe the process in case of an error.

You can set up observers to monitor transitions between pages at navigatorObservers.

Various adapters for the katana package are available at loggerAdapters, etc.

Widgets can be added during the build of MasamuneApp with onBuildApp.

Masamune Frameworkに機能を手軽に追加するためのアダプター。

アプリ起動時とMasamuneAppに渡す処理を記述することができます。

runZonedGuardedtrueにするとrunApprunZonedGuardedでラッピングすることができます。 その際、onPreRunApprunApp前の処理を実行することができ、onErrorでエラー時の処理を記述することができます。

navigatorObserversでページ間の遷移を監視するためのオブザーバーを設置することができます。

loggerAdaptersなどでkatanaパッケージの各種アダプターを利用することが可能です。

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

Implementation

const MasamuneAdapter();