AnnotationPainter constructor
AnnotationPainter({
- required List<
Annotation> annotations, - required List<
Offset> currentPath, - required Color currentColor,
- required double currentStrokeWidth,
- Offset? dragStart,
- Offset? dragEnd,
- required AnnotationMode currentMode,
- required ShapeType currentShapeType,
- Annotation? selectedAnnotation,
Implementation
AnnotationPainter({
required this.annotations,
required this.currentPath,
required this.currentColor,
required this.currentStrokeWidth,
this.dragStart,
this.dragEnd,
required this.currentMode,
required this.currentShapeType,
this.selectedAnnotation,
});