atlasFromStorage method

Future<TexturePackerAtlas> atlasFromStorage(
  1. String storagePath, {
  2. Images? images,
})

Loads the specified pack file from storage Uses the parent directory of the pack file to find the page images.

Implementation

Future<TexturePackerAtlas> atlasFromStorage(
  String storagePath, {
  Images? images,
}) async =>
    TexturePackerAtlas.load(storagePath, fromStorage: true, images: images);