pLTRB method

Widget pLTRB(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom,
)

Padding left, top, right, bottom. child.pLTRB(8, 4, 8, 4)

Implementation

Widget pLTRB(double left, double top, double right, double bottom) => Padding(padding: EdgeInsets.fromLTRB(left, top, right, bottom), child: this);