📅  最后修改于: 2022-03-11 14:55:42.242000             🧑  作者: Mango
Future _gotoUserCurrentLocation() async {
final _curentPosition = _userLocationSnapshotCache.position;
final GoogleMapController _controller = await _mapController.future;
_controller.animateCamera(
CameraUpdate.newCameraPosition(
MapUtil.initialCameraPosition(position: _curentPosition),
),
);
}