FlutterOpenStreetMap constructor

FlutterOpenStreetMap({
  1. Key? key,
  2. double buttonHeight = 50,
  3. double buttonWidth = 300,
  4. Color locationIconColor = Colors.blue,
  5. IconData locationIcon = Icons.location_pin,
  6. Color buttonforegroundColor = Colors.white,
  7. TextStyle buttonTextStyle = const TextStyle(fontSize: 18),
  8. String buttonText = "Set Current Location",
  9. required LatLong center,
  10. required void onPicked(
    1. PickedData pickedData
    ),
  11. Color? primaryColor,
  12. 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);