decoration property
What decoration to paint.
Commonly a BoxDecoration.
Implementation
Decoration get decoration => _decoration;
Implementation
set decoration(Decoration value) {
assert(value != null);
if (value == _decoration)
return;
_painter?.dispose();
_painter = null;
_decoration = value;
markNeedsPaint();
}