decoration property

Decoration get decoration

Implementation

Decoration get decoration => _decoration;
set decoration (Decoration value)

Implementation

set decoration(Decoration value) {
  if (value == _decoration) return;
  _painter?.dispose();
  _painter = null;
  _decoration = value;
  markNeedsPaint();
}