functional_widget_annotation library Null safety

Classes

FunctionalWidget
Decorates a function to customize the generated class

Constants

hwidget → const FunctionalWidget
A decorator for functions to generate a HookWidget. [...]
const FunctionalWidget(widgetType: FunctionalWidgetType.hook)
swidget → const FunctionalWidget
A decorator for functions to generate a StatelessWidget. [...]
const FunctionalWidget(widgetType: FunctionalWidgetType.stateless)

Enums

FunctionalWidgetType
Determines which type of widget will be generated [...]