ScaleSpec class final

Immutable configuration for a ScaleEffect.

Constructors

ScaleSpec({double begin = 0.92, double end = 1, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.easeOutBack, bool repeat = false, bool reverse = true})
const

Properties

begin → double
Scale applied at the start of the animation.
final
curve → Curve
Curve applied to the scale progress.
final
duration → Duration
Duration of one forward pass.
final
end → double
Scale applied at the end of the animation.
final
hashCode → int
The hash code for this object.
no setterinherited
repeat → bool
Whether the scale 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