showOnMap function

dynamic showOnMap(
  1. BuildContext context,
  2. LatLng location,
  3. String? title
)

Implementation

showOnMap(BuildContext context, LatLng location, String? title) {
  Navigator.push(
    context,
    MaterialPageRoute(
        builder: (context) => LocationDialog(
              title: title,
              postion: google.LatLng(location.latitude, location.longitude),
            )),
  );
}