function_widget library

Classes

FunctionalWidget
Decorates a function to customize the generated class

Constants

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

Enums

FunctionalWidgetEquality
Determines how operator== and hashCode of the class will be treated. [...]
FunctionalWidgetType
Determines which type of widget will be generated [...]