TextureSource class

Properties

aspectRatio double
no setter
exif Map<String, IfdTag>?
final
hashCode int
The hash code for this object.
no setterinherited
height int
final
image Image
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
no setter
width int
final

Methods

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 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>