XTextFieldDropdownOptions class

A configuration class for dropdown-based input on XTextField.

Constructors

XTextFieldDropdownOptions({List? items, String itemAsString(dynamic)?, dynamic selectedItem, bool showSearchBox = false})
Creates a new XTextFieldDropdownOptions instance.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
itemAsString String Function(dynamic)?
Converts an item into a displayable string.
final
items List?
The list of selectable items.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItem → dynamic
The initially selected item.
final
showSearchBox bool
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