WidgetbookThemeData constructor

WidgetbookThemeData({
  1. required String name,
  2. required String importStatement,
  3. required List<String> dependencies,
  4. required bool isDefault,
  5. required String themeName,
})

Creates a new instance of WidgetbookThemeData

name is defined as the identifier of the annotated element importStatement is the statement required to include the annotated element in the Widgetbook dependencies are the import statements defined in the file in which the annotation is used isDefault specified whether the theme is the default themeName specifies the shown name in the widgetbook UI

Implementation

factory WidgetbookThemeData({
  required String name,
  required String importStatement,
  required List<String> dependencies,
  required bool isDefault,
  required String themeName,
}) = _WidgetbookThemeData;