position property Null safety

DecorationPosition position

Whether to paint the box decoration behind or in front of the child.

Implementation

DecorationPosition get position => _position;
void position=(DecorationPosition value)

Implementation

set position(DecorationPosition value) {
  assert(value != null);
  if (value == _position) {
    return;
  }
  _position = value;
  markNeedsPaint();
}