ShapePadding.only constructor

ShapePadding.only({
  1. double left = 0,
  2. double top = 0,
  3. double right = 0,
  4. double bottom = 0,
  5. required ShapePart child,
})

Separate padding per side, such as a title clearing a leading control.

Implementation

ShapePadding.only({
  double left = 0,
  double top = 0,
  double right = 0,
  double bottom = 0,
  required ShapePart child,
}) : this._(left, top, right, bottom, false, child);