isVisible property

bool get isVisible

Whether the decoration should be painted.

Defaults to true.

Implementation

bool get isVisible => _isVisible;
set isVisible (bool value)

Implementation

set isVisible(bool value) {
  if (value == _isVisible) {
    return;
  }
  _isVisible = value;
  controller.markNeedsPaint();
}