pLTRB method

Padding pLTRB(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom, {
  5. Key? key,
})

Gives custom padding from all sides by left top right bottom.

Implementation

Padding pLTRB(
  double left,
  double top,
  double right,
  double bottom, {
  Key? key,
}) =>
    Padding(
      key: key,
      padding: EdgeInsets.fromLTRB(left, top, right, bottom),
      child: this,
    );