Size class
Size is a class for image size.
The size contains width and height.
If the needRotate is true, the width and height need to be swapped when using.
Such as, orientation value of the jpeg format is 5, 6, 7, 8
.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → int
-
The height of the media.
final
- needRotate → bool
-
If the needRotate is true,
the width and height need to be swapped when using.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
The width of the media.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object obj) → bool -
The equality operator.
override