symmetric method

Widget symmetric({
  1. double horizontal = 0,
  2. double vertical = 0,
})

Implementation

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