TimeSelectionOptions class
StringSelectionOptions for DateTime dropdown selector.
- Inheritance
-
- Object
- GroupedOptions<
DateTime> - SelectionOptions<
DateTime> - StringSelectionOptions<
DateTime> - TimeSelectionOptions
- Implemented types
Constructors
-
TimeSelectionOptions(List<
DateTime> options)
Properties
- currentLimit → int?
-
Max number of items requested on the last call to filter.
no setterinherited
- currentQuery → Object?
-
The query passed in on the last call to filter.
no setterinherited
- filterApplied → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotEmpty → bool
-
TODO(google): Remove method after b/26784290 is resolved.
no setterinherited
- maxTime ← DateTime?
-
no getter
- minTime ← DateTime?
-
no getter
-
optionGroups
↔ List<
OptionGroup< DateTime> > -
The groups of available options.
getter/setter pairinherited
-
optionsList
→ List<
DateTime> -
All options flattened in one list.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
List< OptionGroup< >DateTime> > -
Provides the stream of options group changes.
no setterinherited
-
unfilteredOptionGroups
→ List<
OptionGroup< ?DateTime> > -
no setterinherited
Methods
-
dispose(
) → void -
Dispose when the the options come from a stream.
inherited
-
filter(
Object query, {int? limit = -1}) → DisposableFuture< bool> -
Accepts a string query and limit and applies the filter to the options.
inherited
-
filterOption(
DateTime option, String filterQuery) → bool -
inherited
-
filterOptionGroup(
OptionGroup< DateTime> group, String filterQuery, int limit) → OptionGroup<DateTime> -
inherited
-
getSelectable(
DateTime item) → SelectableOption -
Whether
item
should be shown as selectable.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refilter(
) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited