From ab1efc000307fa24cd25cfde82ec8ccc619cde2b Mon Sep 17 00:00:00 2001 From: Jonathan van Duppen Date: Mon, 5 Feb 2024 16:20:30 -0500 Subject: [PATCH] Expose bounds on the PdfFormField class for the PdfViewer --- .../lib/src/form_fields/pdf_form_field.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/syncfusion_flutter_pdfviewer/lib/src/form_fields/pdf_form_field.dart b/packages/syncfusion_flutter_pdfviewer/lib/src/form_fields/pdf_form_field.dart index 4c6a9f789..d04f98f88 100644 --- a/packages/syncfusion_flutter_pdfviewer/lib/src/form_fields/pdf_form_field.dart +++ b/packages/syncfusion_flutter_pdfviewer/lib/src/form_fields/pdf_form_field.dart @@ -23,6 +23,11 @@ abstract class PdfFormField { _helper.rebuild(); } } + + /// Gets the bounds of the form field. + Rect get bounds { + return _helper.bounds; + } } /// Represents the form field helper.