You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jenshor
changed the title
@WidgetbookTheme cannot be used on properties
missing error reporting when @WidgetbookTheme is used on properties
Mar 23, 2022
Description
Using
@WidgetbookTheme
on aThemeData
defining property results in incorrectly generated code.Example code:
@WidgetbookTheme(name: 'Something')
ThemeData get myTheme => ThemeData.dark();
Leads to generated code:
Expected Behavior
Generated code should be
The text was updated successfully, but these errors were encountered: