ImageInfos class

Contains information about an image's size and rotation status.

Constructors

ImageInfos({required Size rawSize, required Size renderedSize, required Size cropRectSize, required double pixelRatio, required bool isRotated})
Creates an instance of ImageInfos.
const

Properties

cropRectSize Size
The size of the cropping rectangle.
final
hashCode int
The hash code for this object.
no setterinherited
isRotated bool
Whether the image is rotated.
final
pixelRatio double
The pixel ratio of the image.
final
rawSize Size
The raw size of the image.
final
renderedSize Size
The size of the image after rendering.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Size? rawSize, Size? renderedSize, Size? cropRectSize, double? pixelRatio, bool? isRotated}) ImageInfos
Creates a copy of the current ImageInfos instance with optional updated values.
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