DesignDialogDetails class
What a DesignDialogRoute's builder paints from.
- Annotations
Constructors
-
DesignDialogDetails({required Animation<
double> animation, required bool isAlert, required VoidCallback close}) -
The route's details; the route makes them.
const
Properties
-
animation
→ Animation<
double> -
The dialog's presence on the route's spring: 0 gone, 1 open, for the
look's own scale or fade. An underdamped token passes 1 before it
rests: clamp it before an
Opacity, which asserts outside 0 to 1, and let it overshoot only in a scale or a move. Under Reduce Motion it stays at 1 and the route fades the whole dialog itself.final - close → VoidCallback
-
Closes the dialog through
Navigator.maybePop, so aPopScopein it may refuse: for a close button.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isAlert → bool
-
Whether the route is an alert (DesignDialogRoute.isAlert).
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