Sprite class Null safety

Constructors

Sprite({required Texture texture, ScalingMode scalingMode = ScalingMode.containX, Vector2? position, double? rotation, double? scale, Vector2? size, Color? color})

Properties

color Color
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
position Vector2
read / write
rotation double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scale double
read / write
scos double
read-only
size Vector2
write-only
ssin double
read-only
texture Texture
final
transform RSTransform
read-only
tx double
read-only
ty double
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
render(Canvas canvas) → void
toString() String
A string representation of this object. [...]
inherited

Operators

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