AbstractValuedWidgetAdapter<T> class abstract

base class for widget adapters T the widget type

Inheritance
Implementers

Constructors

AbstractValuedWidgetAdapter(String name, List<TargetPlatform> platforms)

Properties

annotation WidgetAdapter
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
final
platforms List<TargetPlatform>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build({required BuildContext context, required FormMapper mapper, required TypeProperty property, required Keywords args}) Widget
build and bind the corresponding widget context a FormMapper mapper the FormMapper property a TypeProperty args and parameters that will be handled by the adapter
inherited
dispose(WidgetProperty property) → void
dispose any resources
override
getId(T widget) String
override
getName() String
return the element name
override
getType() Type
return the element type
override
getValue(T widget) → dynamic
return the current value given a widget widget the widget
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(T widget, dynamic value, ValuedWidgetContext context) → void
set a current value widget the widget value the value context the ValuedWidgetContext
inherited
supportedPlatforms() List<TargetPlatform>
override
supports(TargetPlatform platform) bool
override
toString() String
A string representation of this object.
inherited

Operators

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