leftPad property
EdgeInsets
get
leftPad
Chainable padding extensions that use the first non-zero padding value as base
Implementation
EdgeInsets get leftPad {
double baseValue = this.left > 0
? this.left
: (this.right > 0 ? this.right : (top > 0 ? top : bottom));
return copyWith(left: baseValue);
}