padding property
EdgeInsets
get
padding
Returns the padding from the nearest MediaQueryData
instance for the
current context.
Example usage:
EdgeInsets padding = context.padding;
Implementation
EdgeInsets get padding => MediaQuery.paddingOf(this);