ImageInfo class Null safety
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.
The receiver of an ImageInfo object must call dispose. To safely share the object with other clients, use the clone method before calling dispose.
- Annotations
Constructors
Properties
- debugLabel → String?
-
A string used for debugging purposes to identify the source of this image.
final
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- image → Image
-
The raw image pixels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- scale → double
-
The linear scale factor for drawing this image at its intended size.
final
- sizeBytes → int
-
The size of raw image pixels in bytes.
read-only
Methods
-
clone(
) → ImageInfo - Creates an ImageInfo with a cloned image.
-
dispose(
) → void - Disposes of this object.
-
isCloneOf(
ImageInfo other) → bool -
Whether this ImageInfo is a clone of the
other
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override