SquareAnnotation constructor
SquareAnnotation({})
Implementation
SquareAnnotation({
Widget? child,
PdfColor? color,
PdfColor? interiorColor,
PdfBorder? border,
String? author,
DateTime? date,
String? subject,
String? content,
}) : super(
child: child ??
Rectangle(
fillColor: interiorColor,
strokeWidth: border?.width ?? 1.0,
strokeColor: color),
builder: AnnotationSquare(
color: color,
interiorColor: interiorColor,
border: border,
author: author,
date: date,
content: content,
subject: subject,
),
);