AnnotationMarker constructor
const
AnnotationMarker({
- Key? key,
- required int index,
- required Annotation annotation,
- required VoidCallback onTap,
- bool isSelected = false,
- bool isHovered = false,
- ValueChanged<
bool> ? onHoverChanged, - Color? accentColor,
- WidgetBounds? boundsOverride,
- bool isExiting = false,
- int layerIndex = 0,
- int layerSize = 1,
- 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,
});