PdfAnnotator constructor

const PdfAnnotator({
  1. Key? key,
  2. required PdfDocument document,
  3. Map<int, List<Annotation>>? initialAnnotations,
  4. void onAnnotationsChanged(
    1. Map<int, List<Annotation>> annotations
    )?,
  5. bool showToolbar = true,
  6. Widget? customToolbar,
  7. Color backgroundColor = Colors.grey,
})

Implementation

const PdfAnnotator({
  super.key,
  required this.document,
  this.initialAnnotations,
  this.onAnnotationsChanged,
  this.showToolbar = true,
  this.customToolbar,
  this.backgroundColor = Colors.grey,
});