allTo method

void allTo(
  1. double radius
)

Sets all the corner radius to the same value.

Implementation

void allTo(double radius) {
  topLeft = topRight = bottomLeft = bottomRight = radius;
}