AnnotationMarker constructor

const AnnotationMarker({
  1. Key? key,
  2. required int index,
  3. required Annotation annotation,
  4. required VoidCallback onTap,
  5. bool isSelected = false,
  6. bool isHovered = false,
  7. ValueChanged<bool>? onHoverChanged,
  8. Color? accentColor,
  9. WidgetBounds? boundsOverride,
  10. bool isExiting = false,
  11. int layerIndex = 0,
  12. int layerSize = 1,
  13. bool animateEntrance = true,
})

Implementation

const AnnotationMarker({
  super.key,
  required this.index,
  required this.annotation,
  required this.onTap,
  this.isSelected = false,
  this.isHovered = false,
  this.onHoverChanged,
  this.accentColor,
  this.boundsOverride,
  this.isExiting = false,
  this.layerIndex = 0,
  this.layerSize = 1,
  this.animateEntrance = true,
});