NoTrail class
A subclass of Trail representing a trail with no visible drawing.
This class represents a trail with no specific drawing behavior. When drawn, it does nothing and leaves no visible trail on the canvas.
Constructors
- NoTrail()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailProgress → double
-
The progress of the trail, typically a value between 0 and 1.
To clarify,
trailProgress
means how far we want to go back for the trail to be drawn.finalinherited
Methods
-
draw(
Canvas canvas, double currentProgress, AnimatedParticle animatedParticle) → void -
Draws the trail on the
canvas
using the givencurrentProgress
andanimatedParticle
.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.
inherited