options/select_option library

Classes

AdhocOption<V>
IKeyedOptionsHandler<K, V>
A builder that passes in whether or not the current suggested item is the one that's presently selected.
KeyedAdhocOption<K, V>
KeyedContextSwitchOption<K, V>
KeyedOption<K, V>
The backing model for a drop down option. Allows us to easily render it as a tile, or in other contexts
Option<V>
StringOption
TypeaheadHandler<K, T>
Contains all the view-related concerns for integrating KeyedOption handlers into typeahead fields
TypeaheadOptions
TypeaheadOptionsAndHandler<K, T>

Mixins

KeyedAdhocOptionMixin<K, V>
A more natural way to define adhocs when you have a static class

Typedefs

AdhocOptionCreator<T> = Future<T> Function(dynamic context, AdhocOption<T> option)
KeyedAdhocBuilder<K, V> = KeyedAdhocOption<K, V>? Function(String message)
KeyedAdhocOptionCreator<K, T> = Future<T> Function(dynamic context, KeyedAdhocOption<K, T> option)
SelectOption<K, T> = void Function(KeyedOption<K, T> input)
Selects the given option