setTilt method
Sets the map's tilt (bearing) in degrees.
0.0 is a 2D top-down view. Values up to 60.0-80.0 provide a 3D perspective view.
Implementation
Future<void> setTilt(double tilt) async {
await mapController.animateCamera(CameraUpdate.tiltTo(tilt));
}