PulseEffect class

Creates a painting effect where a two colors are lerped back nad forward based on animation value

Inheritance

Constructors

PulseEffect({Color from = const Color(0xFFEBEBF4), Color to = const Color(0xFFF6F6F6), double lowerBound = 0.0, double upperBound = 1.0, Duration duration = const Duration(milliseconds: 1000)})
Default constructor
const

Properties

duration Duration
The duration of the effect animation
finalinherited
from Color
The color to fade from
final
hashCode int
The hash code for this object.
no setteroverride
lowerBound double
The starting value for the animation controller
finalinherited
reverse bool
Whether to animate in reverse
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to Color
The color to fade to
final
upperBound double
The ending value for the animation controller
finalinherited

Methods

createPaint(double t, Rect rect, TextDirection? textDirection) Paint
Evaluates the painting effect at animation value t
override
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