Widgetbook constructor
const
Widgetbook({
- Key? key,
- String initialRoute = '/',
- required List<
WidgetbookNode> directories, - AppBuilder appBuilder = widgetsAppBuilder,
- List<
WidgetbookAddon> ? addons, - List<
WidgetbookIntegration> ? integrations, - ThemeData? lightTheme,
- ThemeData? darkTheme,
- ThemeMode? themeMode,
Implementation
const Widgetbook({
super.key,
this.initialRoute = '/',
required this.directories,
this.appBuilder = widgetsAppBuilder,
this.addons,
this.integrations,
this.lightTheme,
this.darkTheme,
this.themeMode,
});