EasingViewportTransition class final
A ViewportTransition that animates viewport changes using an easing curve.
The EasingViewportTransition allows you to define smooth animations between different viewport states by specifying a curve and a duration.
- Inheritance
-
- Object
- ViewportTransition
- EasingViewportTransition
Constructors
- EasingViewportTransition({Cubic curve = Curves.easeInOut, required Duration duration})
-
Creates an EasingViewportTransition with the specified
curveandduration.const - EasingViewportTransition.linear({required Duration duration})
-
Creates an EasingViewportTransition with a linear easing curve.
const
Properties
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