marginSymmetric method

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

Add Horizontally and Vertically

Implementation

Widget marginSymmetric({double horizontal = 0.0, double vertical = 0.0}) =>
    Container(
        margin:
            EdgeInsets.symmetric(horizontal: horizontal, vertical: vertical),
        child: this);