operator - method

BorderRadiusDirectional operator -(
  1. BorderRadiusDirectional other
)

Returns the difference between two BorderRadiusDirectional objects.

Implementation

BorderRadiusDirectional operator -(BorderRadiusDirectional other) {
  return BorderRadiusDirectional.only(
    topStart: topStart - other.topStart,
    topEnd: topEnd - other.topEnd,
    bottomStart: bottomStart - other.bottomStart,
    bottomEnd: bottomEnd - other.bottomEnd,
  );
}