show static method
void
show(
- BuildContext context,
- String mapApiKey,
- PlaceSelected placeSelected, {
- LatLng? initialLocation,
- String? title,
Implementation
static void show(
BuildContext context, String mapApiKey, PlaceSelected placeSelected,
{LatLng? initialLocation, String? title}) {
Navigator.of(context).push(MaterialPageRoute(
builder: (context) => _MapScreen(
mapApiKey: mapApiKey,
placeSelected: placeSelected,
defaultLocation:
initialLocation ?? const LatLng(45.521563, -122.677433),
title: title,
),
));
}