hasVerticalScrollbar property

bool get hasVerticalScrollbar

Gets or sets whether the Diagram has a vertical Scrollbar.

To enable or disable scrolling itself, use #allowHorizontalScroll and #allowVerticalScroll.

Adding or removing a scrollbar modifies the diagram's viewport.

The initial value is true.

Implementation

_i2.bool get hasVerticalScrollbar => _i4.getProperty(
      this,
      'hasVerticalScrollbar',
    );
set hasVerticalScrollbar (bool value)

Implementation

set hasVerticalScrollbar(_i2.bool value) {
  _i4.setProperty(
    this,
    'hasVerticalScrollbar',
    value,
  );
}