functional_widget_annotation library

Classes

FunctionalWidget
Decorates a function to customize the generated class

Enums

FunctionalWidgetType
Determines which type of widget will be generated

Constants

cwidget → const FunctionalWidget
A decorator for functions to generate a ConsumerWidget.
hcwidget → const FunctionalWidget
A decorator for functions to generate a HookConsumerWidget.
hwidget → const FunctionalWidget
A decorator for functions to generate a HookWidget.
swidget → const FunctionalWidget
A decorator for functions to generate a StatelessWidget.