Margin.horizontal constructor
const
Margin.horizontal(
- double amount
Do that:
EdgeInsets.symmetric(horizontal: amount)
Implementation
const Margin.horizontal(double amount) : super.symmetric(horizontal: amount);