DropDownStateAdapter class

Inheritance
  • Object
  • ValuedWidgetAdapter<_DropDownWidgetState>
  • AbstractValuedWidgetAdapter<_DropDownWidgetState>
  • DropDownStateAdapter
Annotations
  • @WidgetAdapter.new(platforms: [TargetPlatform.android])
  • @Injectable.new()

Constructors

Properties

annotation ↔ WidgetAdapter
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
name → String
finalinherited
platforms ↔ List<TargetPlatform>
getter/setter pairinherited
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
override
dispose(WidgetProperty property) → void
dispose any resources
inherited
getId(_DropDownWidgetState widget) → String
inherited
getName() → String
return the element name
inherited
getType() → Type
return the element type
inherited
getValue(_DropDownWidgetState widget) → dynamic
return the current value given a widget widget the widget
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(_DropDownWidgetState widget, dynamic value, ValuedWidgetContext context) → void
set a current value widget the widget value the value context the ValuedWidgetContext
override
supportedPlatforms() → List<TargetPlatform>
inherited
supports(TargetPlatform platform) → bool
inherited
toString() → String
A string representation of this object.
inherited

Operators

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