Opaque handle to raw decoded image data (pixels).

To obtain an Image object, use decodeImageFromList.

To draw an Image, use one of the methods on the Canvas class, such as drawImage.

Constructors

Image()

Properties

height int

The number of image pixels along the image's vertical axis.

read-only
width int

The number of image pixels along the image's horizontal axis.

read-only
hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

dispose() → void

Release the resources used by this object. The object is no longer usable after this method is called.

toString() String

Returns a string representation of this object.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited