CameraAnimation class sealed

How MapController.animateCamera moves the camera to its target.

Annotations

Constructors

CameraAnimation.ease({Duration duration, Cubic curve})
Interpolates center, zoom, bearing and pitch over duration along curve.
const
factory
CameraAnimation.fly({Duration? duration, double speed, double? peakZoom, Cubic curve})
Zooms out, moves and zooms in again, like a flight. Suits targets that are far away.
const
factory

Properties

curve → Cubic
The progress of the animation over time.
final
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