AutoCompleteDropDownFormField<T> class

Inheritance

Constructors

AutoCompleteDropDownFormField({required GlobalKey<AutoCompleteDropDownFormFieldState<T>> key, required List<AutoCompleteItem<T>> autoCompleteItems, AdeptValueController<AutoCompleteItem<T>>? controller, InputEventCallback<T>? valueChanged, AutoCompleteOverlayItemBuilder<T>? itemBuilder, Comparator<AutoCompleteItem<T>>? itemSorter, Filter<T>? itemFilter, List<TextInputFormatter>? inputFormatters, TextStyle? style, InputDecoration? decoration, StringCallback? textChanged, StringCallback? textSubmitted, ValueSetter<bool>? onFocusChanged, TextInputType? keyboardType, int? autoCompleteItemsAmount, bool? submitOnAutoCompleteItemTap, bool? clearOnSubmit, TextInputAction? textInputAction, TextCapitalization? textCapitalization, int? minLength, FocusNode? focusNode, double? autoCompleteItemItemHeight, double? autoCompleteItemsBoxMaxHeight, bool? enabled})
const

Properties

autoCompleteItemItemHeight double?
final
autoCompleteItems List<AutoCompleteItem<T>>
final
autoCompleteItemsAmount int?
final
autoCompleteItemsBoxMaxHeight double?
final
clearOnSubmit bool?
final
controller → AdeptValueController<AutoCompleteItem<T>>?
final
decoration InputDecoration?
final
enabled bool?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
inputFormatters List<TextInputFormatter>?
final
itemBuilder AutoCompleteOverlayItemBuilder<T>?
final
itemFilter Filter<T>?
final
itemSorter Comparator<AutoCompleteItem<T>>?
final
key GlobalKey<AutoCompleteDropDownFormFieldState<T>>
Controls how one widget replaces another widget in the tree.
final
keyboardType TextInputType?
final
minLength int?
final
onFocusChanged ValueSetter<bool>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
final
submitOnAutoCompleteItemTap bool?
final
textCapitalization TextCapitalization?
final
textChanged StringCallback?
final
textField TextField?
no setter
textInputAction TextInputAction?
final
textSubmitted StringCallback?
final
valueChanged InputEventCallback<T>?
final

Methods

addSuggestion(AutoCompleteItem<T> autoCompleteItem) → void
clear() → void
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
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
removeSuggestion(AutoCompleteItem<T> autoCompleteItem) → void
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
triggerSubmitted() → void
updateDecoration({InputDecoration? decoration, List<TextInputFormatter>? inputFormatters, TextCapitalization? textCapitalization, TextStyle? style, TextInputType? keyboardType, TextInputAction? textInputAction}) → void
updateSuggestions(List<AutoCompleteItem<T>> autoCompleteItems) → void

Operators

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