marginSymmetric method Null safety

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

Implementation

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