DefaultTrajectoryEffectRenderer class final
The default interaction trail renderer, with a white core and green glow.
- Inheritance
-
- Object
- ChangeNotifier
- DefaultTrajectoryEffectRenderer
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- view → Widget
-
The overlay view displaying the current trail effects.
no setteroverride
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Releases listeners, animation resources, and drawing resources owned by the component.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
renderBegan(
List< TrajectoryPoint> points) → void -
Creates or replaces a pointer's trail and begins rendering its effects.
override
-
renderEnded(
List< TrajectoryID> identifiers) → void -
Ends input for the specified trails, allowing them to fade according to the renderer policy.
override
-
renderMoved(
List< TrajectoryPoint> points) → void -
Updates a pointer's trail position, creating the trail if it does not exist.
override
-
reset(
) → void -
Clears trail nodes and stops rendering updates.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited