CircleAnnotation constructor Null safety

CircleAnnotation(
  1. {Widget? child,
  2. PdfColor? color,
  3. PdfColor? interiorColor,
  4. PdfBorder? border,
  5. String? author,
  6. DateTime? date,
  7. String? subject,
  8. String? content}
)

Implementation

CircleAnnotation({
  Widget? child,
  PdfColor? color,
  PdfColor? interiorColor,
  PdfBorder? border,
  String? author,
  DateTime? date,
  String? subject,
  String? content,
}) : super(
        child: child ??
            Circle(
                fillColor: interiorColor,
                strokeWidth: border?.width ?? 1.0,
                strokeColor: color),
        builder: AnnotationCircle(
          color: color,
          interiorColor: interiorColor,
          border: border,
          author: author,
          date: date,
          content: content,
          subject: subject,
        ),
      );