FlareController class abstract

FlareController is a general-purpose interface for customizing the behavior of a Flare animation at runtime.

FlareControllers should be attached to FlareActor widgets:

FlareActor(
   "flare_file.flr",
   controller: _myCustomController
)

FlareControllers can implement three methods:

A basic implementation can be found in FlareControls.

Implementers

Constructors

FlareController()

Properties

hashCode int
The hash code for this object.
no setterinherited
isActive ValueNotifier<bool>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

advance(FlutterActorArtboard artboard, double elapsed) bool
Advances the animation of the current artboard by elapsed.
initialize(FlutterActorArtboard artboard) → void
Useful to fetch references to animation components that will be affected by this controller.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setViewTransform(Mat2D viewTransform) → void
Relays the information regarding the global Flutter viewTransform matrix of the FlareActor this controller is attached to.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited