Widgetbook constructor

const Widgetbook({
  1. Key? key,
  2. String initialRoute = '/',
  3. required List<WidgetbookNode> directories,
  4. AppBuilder appBuilder = widgetsAppBuilder,
  5. List<WidgetbookAddon>? addons,
  6. List<WidgetbookIntegration>? integrations,
  7. ThemeData? lightTheme,
  8. ThemeData? darkTheme,
  9. 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,
});