WidgetbookThemeData constructor
WidgetbookThemeData({})
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
isDarkTheme
specified whether the theme is dark or light
Implementation
WidgetbookThemeData({
required String name,
required String importStatement,
required List<String> dependencies,
required this.isDarkTheme,
}) : super(
name: name,
importStatement: importStatement,
dependencies: dependencies,
);