setPadding method

void setPadding(
  1. EdgeInsetsGeometry value
)

Implementation

void setPadding(EdgeInsetsGeometry value) {
  assert(value.isNonNegative);
  if (_padding == value) {
    return;
  }
  _padding = value;
  _markNeedsPaddingResolution();
}