ImageInfo class

A dart:ui.Image object with its corresponding scale.

ImageInfo objects are used by ImageStream objects to represent the actual data of the image once it has been obtained.

Annotations
  • @immutable

Constructors

ImageInfo({@required Image image, double scale: 1.0 })
Creates an ImageInfo object for the given image and scale. [...]
const

Properties

hashCode int
The hash code for this object. [...]
read-only
image Image
The raw image pixels. [...]
final
scale double
The linear scale factor for drawing this image at its intended size. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]