mirrorBorderIfReversed method

BorderRadius mirrorBorderIfReversed({
  1. bool reverse = true,
})

Flips borders (Y)

Implementation

BorderRadius mirrorBorderIfReversed({bool reverse = true}) => reverse
    ? BorderRadius.only(
        topLeft: topRight,
        topRight: topLeft,
        bottomLeft: bottomRight,
        bottomRight: bottomLeft,
      )
    : this;