mOnly method

Widget mOnly({
  1. double l = 0.0,
  2. double t = 0.0,
  3. double r = 0.0,
  4. double b = 0.0,
})

Applies margin to specific sides of the widget.

Implementation

Widget mOnly(
        {double l = 0.0, double t = 0.0, double r = 0.0, double b = 0.0}) =>
    Container(
        margin: EdgeInsets.only(left: l, top: t, right: r, bottom: b),
        child: this);