pFromLTRB method

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

Implementation

Widget pFromLTRB(double left, double top, double right, double bottom) {
  return Padding(
    padding: EdgeInsets.fromLTRB(left, top, right, bottom),
    child: this,
  );
}