BaseApp constructor

const BaseApp({
  1. Key? key,
  2. List<Locale> supportedLocales = const [Locale('ru', 'RU')],
  3. String title = '',
  4. ThemeMode? themeMode,
  5. ThemeData? theme,
  6. ThemeData? darkTheme,
  7. RouterConfig<Object>? routerConfig,
  8. dynamic builder(
    1. BuildContext context,
    2. Widget child
    )?,
})

Конструктор BaseApp.

По умолчанию поддерживается только русский язык (ru_RU).

Implementation

const BaseApp({
  super.key,
  this.supportedLocales = const [Locale('ru', 'RU')],
  this.title = '',
  this.themeMode,
  this.theme,
  this.darkTheme,
  this.routerConfig,
  this.builder,
});