CropAspectRatios class

A utility class containing commonly used crop aspect ratios.

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
Represents a custom aspect ratio.
original → const double
Represents the original aspect ratio.
ratio1_1 → const double
Represents a 1:1 aspect ratio.
ratio3_4 → const double
Represents a 3:4 aspect ratio.
ratio4_3 → const double
Represents a 4:3 aspect ratio.
ratio9_16 → const double
Represents a 9:16 aspect ratio.
ratio16_9 → const double
Represents a 16:9 aspect ratio.