1import 'package:flutter/material.dart';
2import 'package:google_maps_flutter/google_maps_flutter.dart';
8 final Function(GoogleMapController) onMapCreated;
13 required this.currentLocation,
14 required this.markers,
15 required this.isMapLoaded,
16 required this.onMapCreated,
17 required this.mapStyle,
21 Widget
build(BuildContext context) {
26 initialCameraPosition: CameraPosition(
30 onMapCreated: onMapCreated,
32 myLocationEnabled:
false,
33 myLocationButtonEnabled:
false,
34 zoomControlsEnabled:
false,
35 zoomGesturesEnabled:
false,
36 scrollGesturesEnabled:
false,
37 rotateGesturesEnabled:
false,
38 tiltGesturesEnabled:
false,
39 mapToolbarEnabled:
false,
40 compassEnabled:
false,
44 color: Colors.white.withValues(alpha: 0.7),
46 child: CircularProgressIndicator(),