Gravity class Null safety
Defines the focal gravity for certain methods of cropping.
**Learn more https://cloudinary.com/documentation/image_transformations#control_gravity https://cloudinary.com/documentation/video_manipulation_and_delivery#gravity
- Implementers
Constructors
- Gravity()
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 -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Methods
-
autoGravity(
[List< FocusOn> ? focusOnObjects]) → AutoGravity -
center(
) → dynamic - North west corner (center). [...]
-
east(
) → dynamic - North west corner (right). [...]
-
focusOn(
List< FocusOn> focusOnObjects) → FocusOnGravity -
north(
) → dynamic - North west corner (top). [...]
-
northEast(
) → dynamic - North west corner (top right). [...]
-
northWest(
) → dynamic - North west corner (top left). [...]
-
south(
) → dynamic - North west corner (bottom). [...]
-
southEast(
) → dynamic - North west corner (bottom right). [...]
-
southWest(
) → dynamic - North west corner (bottom left). [...]
-
west(
) → dynamic - North west corner (left). [...]
-
xyCenter(
) → dynamic