LiveLocationWidget constructor
const
LiveLocationWidget({
- Key? key,
- required LatLng sourceCoordinates,
- required LatLng destinationCoordinates,
- String sourceIcon = sourceMarker,
- String destinationIcon = sourceMarker,
- String userIcon = userMarker,
- required String apiKey,
- required Color pathColor,
- int pathWidth = 6,
- double tiltMap = 30,
- double zoomLevel = 16.0,
- required dynamic recentLocationDetail(
- LocationData
- required Color indicatorColor,
- required Color indicatorTextColor,
- required Color loadingScreenBackground,
Implementation
const LiveLocationWidget({
Key? key,
required this.sourceCoordinates,
required this.destinationCoordinates,
this.sourceIcon = sourceMarker,
this.destinationIcon = sourceMarker,
this.userIcon = userMarker,
required this.apiKey,
required this.pathColor,
this.pathWidth = 6,
this.tiltMap = 30,
this.zoomLevel = 16.0,
required this.recentLocationDetail,
required this.indicatorColor,
required this.indicatorTextColor,
required this.loadingScreenBackground,
}) : super(key: key);