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.
- debugLabel → String?
A string used for debugging purposes to identify the source of this image.
- hashCode → int
The hash code for this object.
- image → Image
The raw image pixels.
- runtimeType → Type
A representation of the runtime type of the object.
- scale → double
The linear scale factor for drawing this image at its intended size.
- sizeBytes → int
The size of raw image pixels in bytes.
) → ImageInfo
- Creates an ImageInfo with a cloned image.
) → void
- Disposes of this object.
ImageInfo other) → bool
Whether this ImageInfo is a clone of the
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.