DefaultOptionViewMixin2<K, T> mixin

Superclass Constraints
  • TypeaheadHandler<K, T>
Mixin Applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getSelection(KeyedOption<K, T>? selectedOption) String?
Gets the selected text that shows up in the
override
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
override
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. If you override this method, you should make sure to invoke renderSuggestionTileTrailing
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
toString() String
A string representation of this object.
inherited
wrapSuggestionTile(Widget tile) Widget
override

Operators

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