DesignComboboxField class

The field, as DesignCombobox.fieldBuilder gets it: wire controller and focusNode to the look's text input, and submit to its onEditingComplete (and give it no onSubmitted; see submit).

Annotations

Constructors

DesignComboboxField({required TextEditingController controller, required FocusNode focusNode, required VoidCallback submit})
The field's wiring.
const

Properties

controller → TextEditingController
The text the field edits: the caller's when it gave one, else the combobox's own. The field never disposes it.
final
focusNode → FocusNode
The field's focus, owned as controller is.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
submit → VoidCallback
Takes the highlighted option (a tag input adds the words as a tag too, a command palette runs the highlighted command): the input's onEditingComplete, as onEditingComplete: field.submit, with no onSubmitted.
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