diff --git a/lib/widgets/map_view.dart b/lib/widgets/map_view.dart index 0dcd8f9..9407569 100644 --- a/lib/widgets/map_view.dart +++ b/lib/widgets/map_view.dart @@ -160,7 +160,7 @@ class MapViewState extends State { getNearbyNodes: () { if (mounted) { try { - LatLngBounds? mapBounds; + final LatLngBounds mapBounds; try { mapBounds = _controller.mapController.camera.visibleBounds; } catch (_) {