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