Sprite class

Constructors

Sprite({required String name, required int width, required int height, required int x, required int y, required int pixelRatio, List<int>? content, required List<List<int>> stretchX, required List<List<int>> stretchY})

Properties

content List<int>?
final
hashCode int
The hash code for this object.
no setterinherited
height int
final
name String
final
pixelRatio int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stretchX List<List<int>>
final
stretchY List<List<int>>
final
width int
final
x int
final
y int
final

Methods

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