WidgetbookThemeData.fromResolver constructor
WidgetbookThemeData.fromResolver(
- Element element,
- bool isDarkTheme
Obtains a WidgetbookThemeData object from classes provided by the ThemeResolver
Implementation
factory WidgetbookThemeData.fromResolver(
Element element,
bool isDarkTheme,
) {
return WidgetbookThemeData(
name: element.name!,
importStatement: element.importStatement,
dependencies: element.dependencies,
isDarkTheme: isDarkTheme,
);
}