MapMarker constructor

const MapMarker({
  1. Key? key,
  2. required double latitude,
  3. required double longitude,
  4. Size? size,
  5. AlignmentGeometry alignment = Alignment.center,
  6. Offset offset = Offset.zero,
  7. Color? iconColor,
  8. Color? iconStrokeColor,
  9. double? iconStrokeWidth,
  10. MapIconType iconType = MapIconType.circle,
  11. Widget? child,
})

Creates a MapMarker.

Implementation

const MapMarker({
  Key? key,
  required this.latitude,
  required this.longitude,
  this.size,
  this.alignment = Alignment.center,
  this.offset = Offset.zero,
  this.iconColor,
  this.iconStrokeColor,
  this.iconStrokeWidth,
  this.iconType = MapIconType.circle,
  Widget? child,
}) : super(key: key, child: child);