DefaultQueryResultMixin mixin

Implemented types
Mixin applications
Available extensions

Properties

flexiDate → FlexiDate?
The resolved date, as a FlexiDate
no setterinherited
formattedDate → String?

Available on SmartDateQueryResult, provided by the SmartDateQueryResultExtension extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
hasTime → bool?
no setter
icon → String?
no setterinherited
isCard → bool
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 setterinherited
isRecurring → bool?
Whether or not we should automatically set this to recurring
no setterinherited
isResolved → bool
Whether the query resolved to an actual date
no setterinherited
isTimeInferred → bool?
Whether the result date has an inferred time.
no setterinherited
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 setterinherited
resultDate → DateTime?
The resolved date
no setterinherited
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
shouldDisplayTime → bool

Available on SmartDateQueryResult, provided by the SmartDateQueryResultExtension extension

no setter
smartDateQuery → String?
The query that was sent to the SmartDateService
no setterinherited
subtitle → List?
no setterinherited
title → String?
no setterinherited
trailing → dynamic
Action text to display in the trailing section;
no setterinherited

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
inherited
toOption() → Option<SmartDateQueryResult>
override
toString() → String
A string representation of this object.
inherited
withDateRef(DateRef ref) → SmartDateQueryResult

Available on SmartDateQueryResult, provided by the SmartDateQueryResultDateRefExtensions extension

Operators

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