DelegatingSmartDateQueryResult class

Used when you need to wrap a result, but delegate changes

Implemented types
Available Extensions

Constructors

DelegatingSmartDateQueryResult(SmartDateQueryResult delegate, {String? title, List? subtitle, String? icon, String? selection})

Properties

delegate SmartDateQueryResult
final
flexiDate → FlexiDate?
The resolved date, as a FlexiDate
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isFlexible bool
Whether the result is a FlexiDate. If true, then flexiDate should not be null. If false, then resultDate should not be null
no setteroverride
isRecurring bool?
Whether or not we should automatically set this to recurring
no setteroverride
isResolved bool
Whether the query resolved to an actual date
no setteroverride
isTimeInferred bool?
Whether the result date has an inferred time.
no setteroverride
recurrence → TimeSpan?
Returns the suggested recurrence for this result. This doesn't necessarily mean that the result should be interpreted as recurring. See isRecurring
no setteroverride
resultDate DateTime?
The resolved date
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection String?
What gets put back into the search box when this item is selected
no setteroverride
smartDateQuery String?
The query that was sent to the SmartDateService
no setteroverride

Methods

buildListTile(BuildContext context, {bool? isCard, VoidCallback? onTap}) Widget
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onSelected(BuildContext context) FutureOr<SmartDateQueryResult?>
override
toDueConfig() → ITaskDueConfig
override
toOption() → Option<SmartDateQueryResult>
override
toString() String
A string representation of this object.
inherited
unbox([List<SmartDateQueryResult>? processed]) SmartDateQueryResult

Operators

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