CropAspectRatios class

Constructors

CropAspectRatios()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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