padding property Null safety
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;
Implementation
set padding(EdgeInsetsGeometry value) {
assert(value != null);
assert(value.isNonNegative);
if (_padding == value) {
return;
}
_padding = value;
_markNeedResolution();
}