AnnotationOverlay constructor
const
AnnotationOverlay({
- Key? key,
- required int pageNumber,
- required List<
Annotation> annotations, - required AnnotationMode currentMode,
- required Color currentColor,
- required double currentStrokeWidth,
- required ShapeType currentShapeType,
- required void onAnnotationAdded(),
- required void onAnnotationUpdated(),
- required void onAnnotationRemoved(),
- required Size pageSize,
- double scaleX = 1.0,
- double scaleY = 1.0,
Implementation
const AnnotationOverlay({
super.key,
required this.pageNumber,
required this.annotations,
required this.currentMode,
required this.currentColor,
required this.currentStrokeWidth,
required this.currentShapeType,
required this.onAnnotationAdded,
required this.onAnnotationUpdated,
required this.onAnnotationRemoved,
required this.pageSize,
this.scaleX = 1.0,
this.scaleY = 1.0,
});