AskQuestion class final
One structured question for the host's AskCallback.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- multiSelect → bool
-
Whether the user may select several options.
final
-
options
→ List<
AskOption> -
The picker options; empty for a free-form answer.
final
- question → String
-
The question text shown to the user.
final
- recommended → int?
-
The 0-based index of the recommended option (the host renders a
"Recommended" badge), or
nullwhen none was given or the given index/label did not resolve.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited