AnimatedCanvasState class abstract

This is a state object that tracks time. Base class to track the state

Implementers

Constructors

AnimatedCanvasState()

Properties

c Canvas
getter/setter pair
context BuildContext
no setter
fps int
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
t double
Funvas inspired interfaces
no setter
time double
no setter
timeDelta double
no setter
x ↔ _DrawContext
getter/setter pair

Methods

C(double v) double
dispose() → void
init(BuildContext context) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size) → void
This will paint on the screen
R(num r, num g, num b, [num? o]) Color
S(double v) double
s2q(double dimension, {bool translate = true, bool clip = true}) Size
NOTE: Yanked from Funvas Scales the canvas to a square with side lengths of dimension.
step(double deltaTime) → void
T(double v) double
toString() String
A string representation of this object.
inherited

Operators

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