InkAnnotation constructor

InkAnnotation({
  1. required List<List<PdfPoint>> points,
  2. Widget? child,
  3. PdfColor? color,
  4. PdfBorder? border,
  5. String? author,
  6. DateTime? date,
  7. String? content,
  8. String? subject,
})

Implementation

InkAnnotation({
  required List<List<PdfPoint>> points,
  Widget? child,
  PdfColor? color,
  PdfBorder? border,
  String? author,
  DateTime? date,
  String? content,
  String? subject,
}) : super(
        child: child ??
            InkList(
                points: points,
                strokeColor: color,
                strokeWidth: border?.width ?? 1.0),
        builder: AnnotationInk(
          points,
          color: color,
          border: border,
          author: author,
          date: date,
          content: content,
          subject: subject,
        ),
      );