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
Flutter has recently introduced the @widgetFactory annotation to improve the dev UX for widgets created in extension methods. It's currently only available in the master channel, so implementing this will have to wait until the next stable feature release and a point at which this package is fine with requiring that version of Flutter.
Currently, the Animate widget, created in animate, is not included in the summary widget tree in the widget inspector:
After annotating the animate method with @widgetFactory the Animate widget is included in the summary widget tree like if Animate was used directly and not through the extension method.
The text was updated successfully, but these errors were encountered:
Flutter has recently introduced the
@widgetFactory
annotation to improve the dev UX for widgets created in extension methods. It's currently only available in the master channel, so implementing this will have to wait until the next stable feature release and a point at which this package is fine with requiring that version of Flutter.Take this example:
Currently, the
Animate
widget, created inanimate
, is not included in the summary widget tree in the widget inspector:After annotating the
animate
method with@widgetFactory
theAnimate
widget is included in the summary widget tree like ifAnimate
was used directly and not through the extension method.The text was updated successfully, but these errors were encountered: