Margin.top constructor

const Margin.top(
  1. double amount
)

Do that:

EdgeInsets.only(top: amount)

Implementation

const Margin.top(double amount) : super.only(top: amount);