padding property

EdgeInsetsGeometry get padding

The amount to pad the child in each dimension.

If this is set to an EdgeInsetsDirectional object, then textDirection must not be null.

Implementation

EdgeInsetsGeometry get padding => _padding;
set padding (EdgeInsetsGeometry value)

Implementation

set padding(EdgeInsetsGeometry value) {
  assert(value.isNonNegative);
  if (_padding == value) {
    return;
  }
  _padding = value;
  _markNeedResolution();
}