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