hasHorizontalScrollbar property

bool get hasHorizontalScrollbar

Gets or sets whether the Diagram has a horizontal 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 hasHorizontalScrollbar => _i4.getProperty(
      this,
      'hasHorizontalScrollbar',
    );
set hasHorizontalScrollbar (bool value)

Implementation

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