resolvePadding method

void resolvePadding()

Implementation

void resolvePadding() {
  if (_resolvedPadding != null) {
    return;
  }
  _resolvedPadding = _padding.resolve(textDirection);
  _resolvedPadding = _resolvedPadding!.copyWith(left: _resolvedPadding!.left);

  assert(_resolvedPadding!.isNonNegative);
}