TexturepackerLoader extension

on
  • Game

Methods

atlasFromAssets(String assetsPath, {Images? images}) Future<TexturePackerAtlas>
Loads the specified pack file from assets Uses the parent directory of the pack file to find the page images.
atlasFromStorage(String storagePath, {Images? images}) Future<TexturePackerAtlas>
Loads the specified pack file from storage Uses the parent directory of the pack file to find the page images.
fromAtlas(String assetsPath, {bool fromStorage = false, Images? images}) Future<TexturePackerAtlas>
Loads the specified pack file. Uses the parent directory of the pack file to find the page images.