DialogAnimations class

the animation for the dialog we will set the scale animation as default animation

Constructors

DialogAnimations()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Static Methods

downToUp({required Widget child, required Animation<double> animation}) → Transform
animate the dialog from bottom to up
getCurvedValue(dynamic animation) → double
leftToRight({required Widget child, required Animation<double> animation}) → Transform
animate the dialog from left to right
rightToLeft({required Widget child, required Animation<double> animation}) → Transform
animate the dialog from right to left
rotateDialog({required Widget child, required Animation<double> animation}) → Transform
rotate dialog 360 degree animation
scaleDialog({required Widget child, required Animation<double> animation}) → Transform
scale the dialog from zero size to the max height and width
upToDown({required Widget child, required Animation<double> animation}) → Transform
animate the dialog from up to down