options/options_service library
Classes
-
KeyedOptionsHandler<
K, T> - A base interface for helping to populate drop-downs and typeaheads. There are a couple of common mixins to cut down on boilerplate:
-
OptionHandlerPair<
K, T> -
OptionsHandler<
T> - A base class for helping to populate drop-downs and typeaheads.
- OptionsService
Enums
Extensions
- BuildContextOptionService on BuildContext
-
IKeyedOptionHandlerCast
on IKeyedOptionsHandler<
K, V>
Constants
- kDefaultNumOptions → const int
Functions
-
noopHandler<
T> (String? key) → OptionsHandler< T?> -
noopKeyHandler<
K, T> (String? key) → KeyedOptionsHandler< K, T> -
openPicker<
K, V> (BuildContext context, {dynamic title, dynamic content, required Set< KeyedOption< options}) → Future<K, V> >KeyedOption< K, V> ?> -
showPicker<
K, V> (BuildContext context, {dynamic title, dynamic content, required Set< KeyedOption< options, dynamic extraOptions}) → Future<K, V> >KeyedOption< K, V> ?>
Typedefs
-
AdhocBuilder<
T> = AdhocOption< T> Function(String message)