PrismApp constructor
const
PrismApp({
- Key? key,
- Widget? home,
- RouteFactory? onGenerateRoute,
- TransitionBuilder? builder,
- String title = '',
- ThemeData? theme,
- ThemeData? darkTheme,
- ThemeMode themeMode = ThemeMode.system,
- Locale? locale,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - Iterable<
Locale> supportedLocales = const [Locale('en', 'US')], - double? textScale,
- double minTextScale = 0,
- double maxTextScale = double.infinity,
- LiquidGlassQuality? liquidGlass,
- ({String family, Pattern pattern})? emojiFont,
- bool stackedBanners = false,
- double bannerTopInset = 0,
- bool remoteFocus = false,
- ValueListenable<
bool> ? floatingKeyboard, - bool debugShowCheckedModeBanner = true,
Implementation
const PrismApp({
super.key,
this.navigatorKey,
this.home,
this.onGenerateRoute,
this.onNavigationNotification,
this.builder,
this.title = '',
this.theme,
this.darkTheme,
this.themeMode = ThemeMode.system,
this.locale,
this.localizationsDelegates,
this.supportedLocales = const [Locale('en', 'US')],
this.textScale,
this.minTextScale = 0,
this.maxTextScale = double.infinity,
this.liquidGlass,
this.emojiFont,
this.stackedBanners = false,
this.bannerTopInset = 0,
this.remoteFocus = false,
this.floatingKeyboard,
this.debugShowCheckedModeBanner = true,
});