options 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.
IMetaFormContext
IMetaFormFieldContext
IMetaPropertyHandler<T>
IOptionsService
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
MetadataOverrides
MetaDateFormatter<T, C, I>
Overrides for meta date properties
MetaFieldConfig
Marker interface for making configuration changes to widgets
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

Properties

optionsService IOptionsService
no setter

Functions

meta({String? label, String? pluralLabel, String? addLabel, String? editLabel, Set<JsonPath>? ignoredPaths, Map<dynamic, String>? labels, List? sortOrder, Map<JsonPath, MetaFieldConfig>? formConfig, Map<JsonPath, MetaDateFormatter>? metaDateFormatters, Map<dynamic, String>? placeholders}) MetadataOverrides

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)
MetaDateFormatterFactory<F, C, I> = MetaDateFormatter<F, C, I> Function()
SelectOption<K, T> = void Function(KeyedOption<K, T> input)
Selects the given option