CropAspectRatioPreset enum

Enum that defines various aspect ratio presets for image cropping.

Inheritance
Available extensions

Values

original → const CropAspectRatioPreset

Original aspect ratio of the image (no cropping).

square → const CropAspectRatioPreset

Square aspect ratio (1:1).

ratio3x2 → const CropAspectRatioPreset

3:2 aspect ratio.

ratio5x3 → const CropAspectRatioPreset

5:3 aspect ratio.

ratio4x3 → const CropAspectRatioPreset

4:3 aspect ratio.

ratio5x4 → const CropAspectRatioPreset

5:4 aspect ratio.

ratio7x5 → const CropAspectRatioPreset

7:5 aspect ratio.

ratio16x9 → const CropAspectRatioPreset

16:9 aspect ratio.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

values → const List<CropAspectRatioPreset>
A constant List of the values in this enum, in order of their declaration.