border property

  1. @override
EdgeInsets get border
override

Implementation

@override
EdgeInsets get border {
  // If has border, render padding should subtracting the edge of the border
  return EdgeInsets.fromLTRB(
    effectiveBorderLeftWidth.computedValue,
    effectiveBorderTopWidth.computedValue,
    effectiveBorderRightWidth.computedValue,
    effectiveBorderBottomWidth.computedValue,
  );
}