MapScreen constructor

const MapScreen({
  1. Key? key,
  2. required String userkey,
  3. bool? searchfunction = false,
  4. bool? straightDistance = false,
  5. bool? routeDistance = false,
  6. bool? showRoute = false,
})

Creates a MapScreen with the given parameters.

Implementation

const MapScreen({
  super.key,
  required this.userkey,
  this.searchfunction = false,
  this.straightDistance = false,
  this.routeDistance = false,
  this.showRoute = false,
});