paddingFromLTRB method

Padding paddingFromLTRB(
  1. double l,
  2. double t,
  3. double r,
  4. double b,
)

Adds padding around the widget. EdgeInsets.only() is used to create the padding.

Implementation

Padding paddingFromLTRB(double l, double t, double r, double b) => Padding(
      padding: EdgeInsets.fromLTRB(l, t, r, b),
      child: this,
    );