File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class PoiClickPage extends ExamplePage {
2727}
2828
2929class _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}
You can’t perform that action at this time.
0 commit comments