TextureAtlasLoader class

The base class for a custom texture atlas loader.

Use the TextureAtlas.withLoader function to load a texture atlas from a custom source by implementing a TextureAtlasLoader class.

Constructors

TextureAtlasLoader()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getPixelRatio() double
Get the pixel ratio of the texture atlas.
getRenderTextureQuad(String filename) Future<RenderTextureQuad>
Get the RenderTextureQuad for the texture atlas.
getSource() Future<String>
Get the source of the texture atlas.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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