tlbrPadding method

EdgeInsets tlbrPadding()

Implementation

EdgeInsets tlbrPadding() {
  if (length != 4) return EdgeInsets.zero;
  return EdgeInsets.only(
    top: this[0].toDouble(),
    left: this[1].toDouble(),
    bottom: this[2].toDouble(),
    right: this[3].toDouble(),
  );
}