DefaultOptionViewHandler<K, T> class

Inheritance
  • Object
  • TypeaheadOptionsAndHandler<K, T>
  • DefaultOptionViewHandler
Mixed in types
Available Extensions

Constructors

DefaultOptionViewHandler({Icon? prefixIcon, required OptionValueType valueType, TypeaheadFocusMode focusMode = TypeaheadFocusMode.showAll, String? placeholder, required String noOptionsLabel, required bool showExpand, RenderSuggestionTile<K, T>? renderSuggestionTile})
const

Properties

focusMode → TypeaheadFocusMode
final
hashCode int
The hash code for this object.
no setterinherited
noOptionsLabel String
final
placeholder String?
Gets the placeholder text, given a selected option
final
prefixIcon Icon?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showExpand bool
final
valueType → OptionValueType
final

Methods

getSelection(KeyedOption<K, T>? selectedOption) String?
Gets the selected text that shows up in the
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderSelectedItemSuffix(BuildContext context, KeyedOption<K, T> selected, {required SelectOption<K, T> selectOption}) Widget?
Renders the suffix for the selected item in the form control
inherited
renderSuggestionTile(BuildContext context, KeyedOption<K, T> suggestion, {required bool isSelected, required SelectOption<K, T> selectOption, VoidCallback? onTap}) Widget
Renders the suggested tile in the list of options
override
renderSuggestionTileTrailing(BuildContext context, KeyedOption<K, T> option, bool isSelected, SelectOption<K, T> selectOption) Widget?
Renders the suffix for an item that shows up in the list of options. If this method returns null, then the leading spot will not be rendered
inherited
toString() String
A string representation of this object.
inherited
wrapSuggestionTile(Widget tile) Widget
inherited

Operators

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