ScaleEffect class
Explicitly driven scale effect.
- Inheritance
-
- Object
- MotionEffect
- ExplicitMotionEffect
- ScaleEffect
Constructors
- ScaleEffect(ScaleSpec spec, {MotionTrigger activation = MotionTrigger.onMount})
Properties
- activation → MotionTrigger
-
final
- controller → AnimationController?
-
The engine-owned controller available to concrete explicit effects.
no setterinherited
- curve → Curve
-
no setteroverride
- duration → Duration
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- preferredDriver → MotionDriver
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
Current scale value produced by the effect.
no setter
- spec → ScaleSpec
-
final
- trigger → MotionTrigger
-
Which trigger starts this effect. Defaults to MotionTrigger.onMount.
no setteroverride
Methods
-
attach(
MotionContext context) → void -
inherited
-
dispose(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
play(
{required MotionTrigger trigger}) → void -
override
-
tick(
Duration elapsed) → void -
override
-
toRender(
) → MotionRender -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited