ImgDetails class

Constructors

ImgDetails({int? width, int? height, Image? uiImage, ByteData? byteData, Color pixelColorAt(int x, int y)?, Color pixelColorAtAlignment(Alignment alignment)?})

Properties

byteData ByteData?
The image itself as a ByteData. Usually you should not read from the image directly, but through the helper methods pixelColorAt and pixelColorAtAlignment.
final
hashCode int
The hash code for this object.
no setterinherited
hasImage bool
Returns true when the image is downloaded and available.
no setter
height int?
The height (number of pixels) of the original image.
final
pixelColorAt → (Color Function(int x, int y)?)
Returns the pixel color from its coordinates: (0,0) top-left; To (width-1, height-1) bottom-right.
final
pixelColorAtAlignment → (Color Function(Alignment alignment)?)
Returns the pixel color from its coordinates: (-1, -1) top-left; To (1, 1) bottom-right.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uiImage Image?
The image itself, as a ui.Image. Usually you should not read from the image directly, but through the helper methods pixelColorAt and pixelColorAtAlignment.
final
width int?
The width (number of pixels) of the original image.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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