Skip to content

Commit 95354ff

Browse files
committed
fix: flutter analyze issues
1 parent deb87b0 commit 95354ff

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

example/lib/pages/poi_click.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class PoiClickPage extends ExamplePage {
2727
}
2828

2929
class _PoiClickPageState extends ExamplePageState<PoiClickPage> {
30-
GoogleMapViewController? _mapController;
3130
PointOfInterest? _lastClickedPoi;
3231

3332
@override
@@ -105,7 +104,6 @@ class _PoiClickPageState extends ExamplePageState<PoiClickPage> {
105104
}
106105

107106
Future<void> _onViewCreated(GoogleMapViewController controller) async {
108-
_mapController = controller;
109107
await controller.setMyLocationEnabled(true);
110108
}
111109

@@ -114,10 +112,4 @@ class _PoiClickPageState extends ExamplePageState<PoiClickPage> {
114112
_lastClickedPoi = poi;
115113
});
116114
}
117-
118-
@override
119-
void dispose() {
120-
_mapController = null;
121-
super.dispose();
122-
}
123115
}

0 commit comments

Comments
 (0)