padding property

EdgeInsetsGeometry 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;
void padding=(EdgeInsetsGeometry value)

Implementation

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