SlideSpec class

Immutable configuration for a SlideEffect.

Constructors

SlideSpec({Offset begin = const Offset(0, 24), Offset end = Offset.zero, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.easeOutCubic, bool repeat = false, bool reverse = true})
const

Properties

begin → Offset
Translation offset at the beginning of the animation.
final
curve → Curve
Curve applied to the animation progress.
final
duration → Duration
Duration of one forward pass.
final
end → Offset
Translation offset at the end of the animation.
final
hashCode → int
The hash code for this object.
no setterinherited
repeat → bool
Whether the slide keeps playing after the first pass.
final
reverse → bool
When repeating, play the next pass in the opposite direction.
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