AtlasFlutter class
Flutter wrapper for Atlas that manages texture loading and Paint creation
Properties
-
atlasPagePaints
→ List<
Map< BlendMode, Paint> > -
final
-
atlasPages
→ List<
Image> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nativePtr
→ Pointer<
NativeType> -
Get the native pointer for FFI calls
no setterinherited
- pages → ArrayAtlasPage
-
no setterinherited
- regions → ArrayAtlasRegion
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Disposes all resources including the native atlas and images
override
-
findRegion(
String name) → AtlasRegion? -
Returns the first region found with the specified name. This method uses
String comparison to find the region, so the result should be cached
rather than calling this method multiple times.
inherited
-
flipV(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- filterQuality ↔ FilterQuality
-
getter/setter pair
Static Methods
-
fromAsset(
String atlasFileName, {AssetBundle? bundle}) → Future< AtlasFlutter> -
Loads an AtlasFlutter from the file
atlasFileNamein the root bundle or the optionally providedbundle. -
fromFile(
String atlasFileName) → Future< AtlasFlutter> -
Loads an AtlasFlutter from the file
atlasFileName. -
fromHttp(
String atlasURL) → Future< AtlasFlutter> -
Loads an AtlasFlutter from the URL
atlasURL. -
fromMemory(
String atlasFileName, Future< Uint8List> loadFile(String name)) → Future<AtlasFlutter> - Loads an AtlasFlutter using a custom file loading function.