easeCamera abstract method
Future<bool?>
easeCamera(
- CameraUpdate cameraUpdate, {
- Duration? duration,
- CameraAnimationInterpolation? interpolation,
Eases the camera with an explicit easing curve.
Unlike animateCamera, which always uses the platform's default
ease-in/ease-out, this lets the caller pick the interpolation. Use
CameraAnimationInterpolation.linear for smooth continuous tracking
(e.g. following a moving GPS target) without velocity discontinuities
between successive calls.
Implementation
Future<bool?> easeCamera(
CameraUpdate cameraUpdate, {
Duration? duration,
CameraAnimationInterpolation? interpolation,
});