StickyNoteAnnotation constructor
StickyNoteAnnotation({
- required int pageNumber,
- required String text,
- required Offset position,
- required PdfStickyNoteIcon icon,
Initializes a new instance of StickyNoteAnnotation class.
Implementation
StickyNoteAnnotation(
{required super.pageNumber,
required String text,
required Offset position,
required PdfStickyNoteIcon icon}) {
_text = text;
_icon = icon;
setBounds(_getDefualtStickyNoteSize(position));
}