paddingSymmetric method

Widget paddingSymmetric({
  1. double horizontal = 0.0,
  2. double vertical = 0.0,
})

Padding horizontally and vertically

Implementation

Widget paddingSymmetric({double horizontal = 0.0, double vertical = 0.0}) =>
    Padding(
        padding:
            EdgeInsets.symmetric(horizontal: horizontal, vertical: vertical),
        child: this);