AnnotationWidget constructor
const
AnnotationWidget({
- Key? key,
- required Annotation annotation,
- bool isSelected = false,
- bool isHighlighted = false,
Creates an annotation widget.
Parameters
annotation: The annotation to renderisSelected: Whether this annotation is currently selectedisHighlighted: Whether this annotation is being highlighted (e.g., during drag-over)
Implementation
const AnnotationWidget({
super.key,
required this.annotation,
this.isSelected = false,
this.isHighlighted = false,
});