padding property

EdgeInsets padding
final

padding is applied inside the Container, while margin is the value used to create space outside the Container. default value is EdgeInsets.zero.

Implementation

final EdgeInsets padding;