scrollable property

bool scrollable

Gets or sets a value indicating whether this PdfTextBoxField is scrollable.

The default value is true.

Implementation

bool get scrollable {
  if (_helper.isLoadedField) {
    _scrollable = !(_helper.isFlagPresent(FieldFlags.doNotScroll) ||
        _helper.flags.contains(FieldFlags.doNotScroll));
  }
  return _scrollable;
}
void scrollable=(bool value)

Implementation

set scrollable(bool value) {
  if (scrollable != value) {
    _scrollable = value;
    _spellCheck
        ? _helper.isLoadedField
            ? _helper.removeFlag(FieldFlags.doNotScroll)
            : _helper.flags.remove(FieldFlags.doNotScroll)
        : _helper.flags.add(FieldFlags.doNotScroll);
  }
}