FormeAsyncInputChip<T extends Object> class

Inheritance

Constructors

FormeAsyncInputChip({Key? key, String? name, List<T> initialValue = const [], FormeAsyncValidator<List<T>>? asyncValidator, Duration? asyncValidatorDebounce, AutovalidateMode? autovalidateMode, FormeFieldDecorator<List<T>>? decorator, bool enabled = true, FocusNode? focusNode, FormeFieldInitialized<List<T>>? onInitialized, FormeFieldSetter<List<T>>? onSaved, FormeFieldStatusChanged<List<T>>? onStatusChanged, int? order, bool quietlyValidate = false, bool readOnly = false, bool requestFocusOnUserInteraction = true, FormeFieldValidationFilter<List<T>>? validationFilter, FormeValidator<List<T>>? validator, AutocompleteOptionToString<T> displayStringForOption = RawAutocomplete.defaultStringForOption, double optionsMaxHeight = 200, Duration? debounce, required FormeAsyncAutocompleteOptionsBuilder<T> optionsBuilder, FormeSearchCondition? searchCondition, FormeAsyncInputChipFieldViewBuilder<T>? fieldViewBuilder, InputDecoration? fieldViewDecoration = const InputDecoration(), FormeFieldDecorator<List<T>>? fieldViewdecorator, FormeAsyncInputChipBuilder<T>? inputChipBuilder, FormeAsyncInputChipOptionsViewBuilder<T>? optionsViewBuilder, InputDecoration? searchInputDecoration, double searchInputMinWidth = 50, double? searchInputStepWidth, WrapAlignment wrapAlignment = WrapAlignment.start, Clip wrapClipBehavior = Clip.none, WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.center, Axis wrapDirection = Axis.horizontal, WrapAlignment wrapRunAlignment = WrapAlignment.start, double wrapRunSpacing = 0.0, double wrapSpacing = 4.0, TextDirection? wrapTextDirection, VerticalDirection wrapVerticalDirection = VerticalDirection.down, EdgeInsets? fieldViewPadding = const EdgeInsets.symmetric(vertical: 8, horizontal: 6)})

Properties

asyncValidator → FormeAsyncValidator<List<T>>?
used to perform an async validation
finalinherited
asyncValidatorDebounce Duration?
not worked when validate manually
finalinherited
autovalidateMode AutovalidateMode
finalinherited
builder → FormeFieldBuilder<List<T>>
finalinherited
debounce Duration?
async loader debounce
final
decorator → FormeFieldDecorator<List<T>>?
used to decorate field
finalinherited
displayStringForOption AutocompleteOptionToString<T>
final
enabled bool
whether field is enabled,
finalinherited
fieldType Type
no setterinherited
fieldViewBuilder FormeAsyncInputChipFieldViewBuilder<T>?
final
fieldViewDecoration InputDecoration?
final
fieldViewdecorator → FormeFieldDecorator<List<T>>?
this decorator is used to decorate fieldView Only
final
fieldViewPadding EdgeInsets?
final
focusNode FocusNode?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialValue List<T>
initial value
finalinherited
inputChipBuilder FormeAsyncInputChipBuilder<T>?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
name String?
field name
finalinherited
onInitialized → FormeFieldInitialized<List<T>>?
called immediately after FormeFieldState.initStatus
finalinherited
onSaved → FormeFieldSetter<List<T>>?
finalinherited
onStatusChanged → FormeFieldStatusChanged<List<T>>?
listen field status change
finalinherited
optionsBuilder FormeAsyncAutocompleteOptionsBuilder<T>
final
optionsMaxHeight double
final
optionsViewBuilder FormeAsyncInputChipOptionsViewBuilder<T>?
final
order int?
used to support Forme.autovalidateByOrder
finalinherited
quietlyValidate bool
quietlyValidate
finalinherited
readOnly bool
finalinherited
requestFocusOnUserInteraction bool
whether request focus when field value changed
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchCondition FormeSearchCondition?
whether perform a search with current input
final
searchInputDecoration InputDecoration?
final
searchInputMinWidth double
final
searchInputStepWidth double?
final
validationFilter → FormeFieldValidationFilter<List<T>>?
used to determine whether perform a validation
finalinherited
validator → FormeValidator<List<T>>?
sync validator
finalinherited
wrapAlignment WrapAlignment
final
wrapClipBehavior Clip
final
wrapCrossAxisAlignment WrapCrossAlignment
final
wrapDirection Axis
final
wrapRunAlignment WrapAlignment
final
wrapRunSpacing double
final
wrapSpacing double
final
wrapTextDirection TextDirection?
final
wrapVerticalDirection VerticalDirection
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → FormeFieldState<List<T>>
Creates the mutable state for this widget at a given location in the tree.
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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