Dashbook constructor

Dashbook({
  1. Key? key,
  2. ThemeData? theme,
  3. String title = '',
  4. bool usePreviewSafeArea = false,
  5. bool autoPinStoriesOnLargeScreen = false,
  6. GlobalKey<NavigatorState>? navigatorKey,
  7. OnChapterChange? onChapterChange,
  8. List<LocalizationsDelegate>? localizationsDelegates,
  9. List<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
})

Implementation

Dashbook({
  Key? key,
  this.theme,
  this.title = '',
  this.usePreviewSafeArea = false,
  this.autoPinStoriesOnLargeScreen = false,
  this.navigatorKey,
  this.onChapterChange,
  this.localizationsDelegates,
  this.supportedLocales = const <Locale>[Locale('en', 'US')],
})  : _dualTheme = null,
      _multiTheme = null,
      super(key: key);