changeCameraPosition method
void
changeCameraPosition(
- LatLng location
Function to change camera position
Implementation
void changeCameraPosition(LatLng location) {
///Moving maps camera
_controller!.animateCamera(CameraUpdate.newLatLngZoom(
LatLng(
location.latitude,
location.longitude,
),
cameraZoom));
notifyListeners();
}