SmartDateOptionsHandler class

Inheritance
Mixed-in types

Constructors

SmartDateOptionsHandler(OptionsService optionService, SmartDateService smartDateService)
SmartDateOptionsHandler.of({required SmartDateOptionsConfig config, required String placeholder, required SmartDateService smartDateService})
SmartDateOptionsHandler.withContext(SmartDateService _smartDateService, {String? placeholder, required SmartDateOptionsConfig config, OptionsService? optionService})

Properties

adhocOptionBuilder → KeyedAdhocBuilder<SmartDateQueryResult, SmartDateQueryResult>?
no setteroverride
canShowAll → bool
Whether or not its reasonable to display all options (or at least the first few), without any query input from the user.
no setteroverride
config → SmartDateOptionsConfig
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
finalinherited
placeholder → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeaheadHandler → TypeaheadHandler<SmartDateQueryResult, SmartDateQueryResult>
no setter

Methods

cast<KK, VV>() → IKeyedOptionsHandler<KK, VV>
override
castList(List input) → List<SmartDateQueryResult>
Casts a list of inputs as this type
inherited
copy({SmartDateService? smartDateService, SmartDateOptionsConfig? config, String? placeholder}) → SmartDateOptionsHandler
filter(String? query, List currentSelections, int limit) → Future<List<SmartDateQueryResult>>
Filters the list of all options based on a query - the list of current selections is also provided.
override
listAllOptions([int? limit]) → FutureOr<List<SmartDateQueryResult>>
A list of all options.
inherited
loadValue(SmartDateQueryResult key) → SmartDateQueryResult?
Loads a value given a key - because some options can be suggestive type-aheads, consumers should use StringOptionsHandlerExtension.resolveOption and StringOptionsHandlerExtension.resolveAllOptions
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toKey(SmartDateQueryResult value) → SmartDateQueryResult
Produces a key, given a value
override
toOption(SmartDateQueryResult? value) → Option<SmartDateQueryResult>?
Converts a value T to a KeyedOption
override
toString() → String
A string representation of this object.
inherited
withInputContext(SmartDateOptionsConfig config) → SmartDateOptionsHandler
withMetaContext(IMetaFormFieldContext context) → OptionsHandler<SmartDateQueryResult>
Creates a copy of this handler, for hte provided context. Sometimes the behavior of options will change based on the surrounding context.
inherited

Operators

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