CameraAnimationInterpolation enum

Easing curve applied by VietmapGlPlatform.easeCamera.

When easeCamera is called without an interpolation, each platform uses its historical default (an ease-in/ease-out curve).

Inheritance
Available extensions

Values

linear → const CameraAnimationInterpolation

Constant velocity throughout the animation (no easing).

Best for continuous tracking scenarios (e.g. following a moving GPS target) where velocity discontinuities between successive easeCamera calls would produce perceptible "animated jumps".

Supported exactly on both Android and iOS.

easeInOut → const CameraAnimationInterpolation

Accelerate at the start and decelerate at the end.

Produces a smooth, natural-feeling movement. This is the platform default on Android and iOS when no interpolation is specified.

easeOut → const CameraAnimationInterpolation

Decelerate towards the end of the animation.

iOS: mapped to CAMediaTimingFunctionName.easeOut.

Android: the native SDK only exposes a boolean easing flag on easeCamera, so this falls back to the default ease-in/ease-out and is indistinguishable from easeInOut.

fastOutLinearIn → const CameraAnimationInterpolation

Material Design "fast out, linear in" curve — cubic Bezier (0.4, 0.0, 1.0, 1.0). Accelerates quickly, then approaches the target at constant velocity.

iOS: implemented exactly via CAMediaTimingFunction(controlPoints:).

Android: falls back to the default ease-in/ease-out, same caveat as easeOut.

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<CameraAnimationInterpolation>
A constant List of the values in this enum, in order of their declaration.