Dashbook constructor
Dashbook({
- Key? key,
- ThemeData? theme,
- String title = '',
- bool usePreviewSafeArea = false,
- bool autoPinStoriesOnLargeScreen = false,
- OnChapterChange? onChapterChange,
- List<
LocalizationsDelegate> ? localizationsDelegates, - 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);