ComposableMaterialApp<AppState, AppAction> constructor

const ComposableMaterialApp<AppState, AppAction>({
  1. Key? key,
  2. required String title,
  3. required Store<AppState, AppAction> store,
  4. required MaterialAppState toMaterialAppState(
    1. AppState
    ),
  5. RouterConfig<Object>? routerConfig,
  6. Widget builder(
    1. BuildContext,
    2. Widget?
    )?,
  7. WidgetBindingReducer<AppAction>? observer,
  8. Iterable<LocalizationsDelegate>? localizationsDelegates,
  9. ThemeData toThemeData(
    1. MaterialAppState appState
    )?,
  10. Iterable<Locale> supportedLocales = const [Locale('en')],
  11. LocaleListResolutionCallback? localeListResolutionCallback,
  12. LocaleResolutionCallback? localeResolutionCallback,
  13. dynamic onAppStart()?,
})

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,
});