ImageRenderer class

Image renderer presentation.

Constructors

ImageRenderer(String _pathname)

Properties

hashCode int
The hash code for this object.
no setterinherited
image Image
no setter
pathname String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load() Future<void>
Loads the image of the sprite.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Canvas canvas, Offset lt, Size size) → void
Renders the image in the given Canvas.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited