PrismApp constructor

const PrismApp({
  1. Key? key,
  2. GlobalKey<NavigatorState>? navigatorKey,
  3. Widget? home,
  4. RouteFactory? onGenerateRoute,
  5. NotificationListenerCallback<NavigationNotification>? onNavigationNotification,
  6. TransitionBuilder? builder,
  7. String title = '',
  8. ThemeData? theme,
  9. ThemeData? darkTheme,
  10. ThemeMode themeMode = ThemeMode.system,
  11. Locale? locale,
  12. Iterable<LocalizationsDelegate>? localizationsDelegates,
  13. Iterable<Locale> supportedLocales = const [Locale('en', 'US')],
  14. double? textScale,
  15. double minTextScale = 0,
  16. double maxTextScale = double.infinity,
  17. LiquidGlassQuality? liquidGlass,
  18. ({String family, Pattern pattern})? emojiFont,
  19. bool stackedBanners = false,
  20. double bannerTopInset = 0,
  21. bool remoteFocus = false,
  22. ValueListenable<bool>? floatingKeyboard,
  23. 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,
});