padding property

set padding (EdgeInsets v)

Implementation

set padding(EdgeInsets v) {
  final l = _latest;

  if (l is Padding)
    return _applyPadding(
      l.padding,
      top: v.top,
      bottom: v.bottom,
      left: v.left,
      right: v.right,
    );

  _add((w) => Padding(padding: v, child: w));
}