@@ -8,7 +8,8 @@ import 'page.dart';
88const _nullIsland = CameraPosition (target: LatLng (0 , 0 ), zoom: 4.0 );
99
1010class FullMapPage extends ExamplePage {
11- const FullMapPage ({super .key}) : super (const Icon (Icons .map), 'Full screen map' );
11+ const FullMapPage ({super .key})
12+ : super (const Icon (Icons .map), 'Full screen map' );
1213
1314 @override
1415 Widget build (BuildContext context) {
@@ -30,13 +31,14 @@ class FullMapState extends State<FullMap> {
3031 @override
3132 Widget build (BuildContext context) {
3233 return Scaffold (
33- floatingActionButtonLocation: FloatingActionButtonLocation .miniCenterFloat,
34+ floatingActionButtonLocation:
35+ FloatingActionButtonLocation .miniCenterFloat,
3436 floatingActionButton: canInteractWithMap
3537 ? FloatingActionButton (
36- onPressed: _moveCameraToNullIsland,
37- mini: true ,
38- child: const Icon (Icons .restore),
39- )
38+ onPressed: _moveCameraToNullIsland,
39+ mini: true ,
40+ child: const Icon (Icons .restore),
41+ )
4042 : null ,
4143 body: MapLibreMap (
4244 onMapCreated: (controller) => mapController.complete (controller),
@@ -46,6 +48,6 @@ class FullMapState extends State<FullMap> {
4648 );
4749 }
4850
49- void _moveCameraToNullIsland () =>
50- mapController.future. then ( (c) => c.animateCamera (CameraUpdate .newCameraPosition (_nullIsland)));
51+ void _moveCameraToNullIsland () => mapController.future. then (
52+ (c) => c.animateCamera (CameraUpdate .newCameraPosition (_nullIsland)));
5153}
0 commit comments