To load multiple atlas files in the Flutter runtime with a single skeleton file, you can use the Atlas class to load each atlas file separately. The SkeletonData class can then be used to load the skeleton file, and you can provide the loaded atlas data to it. Unfortunately, the current documentation and examples do not explicitly cover loading multiple atlas files for a single skeleton, but you can manage multiple atlases by loading them individually and ensuring that the SkeletonData is aware of all the images it needs from these atlases.
Here's a basic approach you might consider:
- Load each atlas file using the Atlasclass.
- Load the skeleton data using the SkeletonDataclass, providing it with the necessary atlas data.
- Ensure that your SpineWidgetor other rendering components are aware of all the atlas data.
This approach requires some manual handling of the atlas files, but it should allow you to work with multiple atlases in the Flutter runtime.