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