ComposableMaterialApp<AppState, AppAction> constructor
const
ComposableMaterialApp<AppState, AppAction> ({
- Key? key,
- required String title,
- required Store<
AppState, AppAction> store, - required MaterialAppState toMaterialAppState(
- AppState
- RouterConfig<
Object> ? routerConfig, - Widget builder()?,
- WidgetBindingReducer<
AppAction> ? observer, - Iterable<
LocalizationsDelegate> ? localizationsDelegates, - ThemeData toThemeData(
- MaterialAppState appState
- Iterable<
Locale> supportedLocales = const [Locale('en')], - LocaleListResolutionCallback? localeListResolutionCallback,
- LocaleResolutionCallback? localeResolutionCallback,
- dynamic onAppStart()?,
Creates a ComposableMaterialApp.
Implementation
const ComposableMaterialApp({
super.key,
required this.title,
required this.store,
required this.toMaterialAppState,
this.routerConfig,
this.builder,
this.observer,
this.localizationsDelegates,
this.toThemeData,
this.supportedLocales = const [Locale('en')],
this.localeListResolutionCallback,
this.localeResolutionCallback,
this.onAppStart,
});