GetFilterableTextFieldState<T extends Comparable> class

Inheritance
Available Extensions

Properties

clearOnSubmit bool
no setter
context BuildContext
The location in the tree where this widget builds.
no setterinherited
controller TextEditingController
no setter
currentText String
getter/setter pair
disableFiltering bool
no setter
error String?
no setter
filteredItems List<T>
getter/setter pair
focusNode FocusNode
no setter
hashCode int
The hash code for this object.
no setterinherited
helper String?
no setter
initialValue String?
no setter
inputFormatters List<TextInputFormatter>?
no setter
isTextEmpty bool
no setter
itemCount int
no setter
itemHeight double
no setter
items List<T>
no setter
itemsOverlayEntry OverlayEntry?
getter/setter pair
keyboardType TextInputType
no setter
label String?
no setter
minLength int
no setter
mounted bool
Whether this State object is currently in a tree.
no setterinherited
nextFocusNode FocusNode?
no setter
onFocusChanged ValueSetter<bool>?
no setter
onlyAcceptItem bool
no setter
readOnly bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAllOnFocus bool
no setter
style TextStyle?
no setter
submitOnItemTap bool
no setter
textCapitalization TextCapitalization
no setter
textChanged OnString?
no setter
textInputAction TextInputAction
no setter
textSubmitted OnString?
no setter
validateEmpty bool
no setter
visibleCount int
no setter
widget GetFilterableTextField<Comparable>
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
addItem(T item) → void
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
clear() → void
clearItems() → void
clearOverlay() → void
deactivate() → void
Called when this object is removed from the tree.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant GetFilterableTextField<Comparable> oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
focusListener() → void
getItems(List<T> items, Comparator<T> sorter, Filter<T> filter, int maxAmount, String? query) Future<List<T>>
initState() → void
Called when this object is inserted into the tree.
override
itemBuilder(BuildContext context, T data, VoidCallback onTap) Widget
itemFilter(T data, String query) bool
itemSorter(T a, T b) int
itemSubmitted(T? data) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
removeError({bool focus = false}) → void
removeItem(T item) → void
setError(String? errorText, {bool focus = false}) → void
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
triggerItemSubmitted() → void
triggerSubmitted([dynamic submittedText]) → void
updateItems(List<T> items) → void
updateOverlay({String? query, bool withoutFilter = false}) Future<void>

Operators

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