page property

PdfPage? get page

Gets the page of the field.

Implementation

PdfPage? get page {
  if (_fieldHelper.isLoadedField && _fieldHelper.page == null) {
    _fieldHelper.page = _getLoadedPage();
  } else if (_fieldHelper.page != null &&
          PdfPageHelper.getHelper(_fieldHelper.page!).isLoadedPage &&
          _fieldHelper.changed ||
      (_fieldHelper.form != null &&
          PdfFormHelper.getHelper(_fieldHelper.form!).flatten) ||
      _fieldHelper.flattenField) {
    _fieldHelper.page = _getLoadedPage();
  }
  return _fieldHelper.page;
}