WidgetbookThemeData class

Contains the data of a Theme

Inheritance

Constructors

WidgetbookThemeData({required String name, required String importStatement, required List<String> dependencies, required bool isDarkTheme})
Creates a new instance of WidgetbookThemeData
WidgetbookThemeData.fromMap(Map<String, dynamic> map)
transforms the serializable map into a WidgetbookThemeData object.
factory
WidgetbookThemeData.fromResolver(Element element, bool isDarkTheme)
Obtains a WidgetbookThemeData object from classes provided by the ThemeResolver
factory

Properties

dependencies List<String>
The import statements defined by the file in which the annotation is used.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
importStatement String
The import statement necessary to reference this type or function in the final output file
finalinherited
isDarkTheme bool
indicates whether the Theme is dark or light
final
name String
The name of the annotated element
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Maps this object into a serializable format
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited