Marker constructor

const Marker({
  1. Key? key,
  2. required LatLng point,
  3. required Widget child,
  4. double width = 30,
  5. double height = 30,
  6. Alignment? alignment,
  7. bool? rotate,
})

Creates a container for a child widget located at a geographic coordinate point

Some properties defaults will absorb the values from the parent MarkerLayer, if the reflected properties are defined there.

Implementation

const Marker({
  this.key,
  required this.point,
  required this.child,
  this.width = 30,
  this.height = 30,
  this.alignment,
  this.rotate,
});