TextureSource class
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
fromAsset(String asset, {TileMode tmx = TileMode.repeated, TileMode tmy = TileMode.repeated, TargetImageSize? targetSize})
→ Future<TextureSource>
-
-
fromFile(File file, {TileMode tmx = TileMode.repeated, TileMode tmy = TileMode.repeated, TargetImageSize? targetSize})
→ Future<TextureSource>
-
-
fromImage(Image image, {TileMode tmx = TileMode.repeated, TileMode tmy = TileMode.repeated, Map<String, IfdTag>? exif, TargetImageSize? targetSize})
→ TextureSource
-
-
fromMemory(Uint8List data, {TileMode tmx = TileMode.repeated, TileMode tmy = TileMode.repeated, TargetImageSize? targetSize})
→ Future<TextureSource>
-