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