CropAspectRatios class

Constructors

CropAspectRatios()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Constants

custom → const double
no aspect ratio for crop
null
original → const double
the same as aspect ratio of image cropAspectRatio is not more than 0.0, it's original
0.0
ratio1_1 → const double
ratio of width and height is 1 : 1
1.0
ratio3_4 → const double
ratio of width and height is 3 : 4
3.0 / 4.0
ratio4_3 → const double
ratio of width and height is 4 : 3
4.0 / 3.0
ratio9_16 → const double
ratio of width and height is 9 : 16
9.0 / 16.0
ratio16_9 → const double
ratio of width and height is 16 : 9
16.0 / 9.0