Margin.horizontal constructor

const Margin.horizontal(
  1. double amount
)

Do that:

EdgeInsets.symmetric(horizontal: amount)

Implementation

const Margin.horizontal(double amount) : super.symmetric(horizontal: amount);