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

Constructors

EasingViewportTransition({Cubic curve = Curves.easeInOut, required Duration duration})
Creates an EasingViewportTransition with the specified curve and duration.
const
EasingViewportTransition.linear({required Duration duration})
Creates an EasingViewportTransition with a linear easing curve.
const

Properties

curve Cubic
The easing curve to use for the animation.
final
duration Duration
The duration of the animation.
final
hashCode int
The hash code for this object.
no setteroverride
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