only method

Widget only({
  1. double top = 0,
  2. double right = 0,
  3. double left = 0,
  4. double bottom = 0,
})

Implementation

Widget only({
  double top = 0,
  double right = 0,
  double left = 0,
  double bottom = 0,
}) =>
    Padding(
      padding: EdgeInsets.only(
        top: top,
        right: right,
        left: left,
        bottom: bottom,
      ),
      child: this,
    );