DialogResponse<T> class
The response returned from awaiting a call on the DialogService
- Inheritance
-
- Object
- OverlayResponse<
T> - DialogResponse
Constructors
- DialogResponse({bool confirmed = false, @Deprecated('Prefer to use `data` and pass in a generic type. ResponseData has no effect anymore') dynamic responseData, T? data})
Properties
- confirmed → bool
-
Indicates if a show confirmation call has been confirmed or rejected.
null will be returned when it's not a confirmation dialog.
finalinherited
- data → T?
-
A place to put any response data from dialogs that may contain text fields
or multi selection options
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- responseData → dynamic
-
A place to put any response data from dialogs that may contain text fields
or multi selection options
finalinherited
- 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.
override