AnnotationPainter constructor

AnnotationPainter({
  1. required List<Annotation> annotations,
  2. required List<Offset> currentPath,
  3. required Color currentColor,
  4. required double currentStrokeWidth,
  5. Offset? dragStart,
  6. Offset? dragEnd,
  7. required AnnotationMode currentMode,
  8. required ShapeType currentShapeType,
  9. 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,
});