fromAtlas method
- @Deprecated('Use [atlasFromAssets] or [atlasFromStorage] instead')
Loads the specified pack file. Uses the parent directory of the pack file to find the page images.
Implementation
@Deprecated('Use [atlasFromAssets] or [atlasFromStorage] instead')
Future<TexturePackerAtlas> fromAtlas(
String assetsPath, {
bool fromStorage = false,
Images? images,
}) async =>
TexturePackerAtlas.load(
assetsPath,
fromStorage: fromStorage,
images: images,
);