Margin.symmetric constructor

const Margin.symmetric({
  1. double horizontal = 0.0,
  2. double vertical = 0.0,
})

Do that:

EdgeInsets.symmetric(horizontal: horizontal,
vertical: vertical);

Implementation

const Margin.symmetric({
  double horizontal = 0.0,
  double vertical = 0.0,
}) : super.symmetric(horizontal: horizontal, vertical: vertical);