FunctionalWidget class

Decorates a function to customize the generated class

Constructors

FunctionalWidget({FunctionalWidgetType widgetType = FunctionalWidgetType.stateless, bool? debugFillProperties, String? name})
const

Properties

debugFillProperties bool?
Defines if the generated widget should emit diagnostics informations.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
Defines the name of the generated widget.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widgetType FunctionalWidgetType
Configures which types of widget is generated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited