FlutterOpenStreetMap constructor
FlutterOpenStreetMap({
- Key? key,
- double buttonHeight = 50,
- double buttonWidth = 300,
- Color locationIconColor = Colors.blue,
- IconData locationIcon = Icons.location_pin,
- Color buttonforegroundColor = Colors.white,
- TextStyle buttonTextStyle = const TextStyle(fontSize: 18),
- String buttonText = "Set Current Location",
- required LatLong center,
- required void onPicked(
- PickedData pickedData
- Color? primaryColor,
- bool? showZoomButtons,
Implementation
FlutterOpenStreetMap(
{Key? key,
this.buttonHeight = 50,
this.buttonWidth = 300,
this.locationIconColor = Colors.blue,
this.locationIcon = Icons.location_pin,
this.buttonforegroundColor = Colors.white,
this.buttonTextStyle = const TextStyle(fontSize: 18),
this.buttonText = "Set Current Location",
required this.center,
required this.onPicked,
this.primaryColor,
this.showZoomButtons})
: super(key: key);