CurrentLocationButton constructor

const CurrentLocationButton({
  1. required dynamic getCurrentLocation,
  2. Key? key,
})

Getting current location button

Implementation

const CurrentLocationButton({
  required this.getCurrentLocation,
  Key? key,
}) : super(key: key);