BorderRadius.all constructor

const BorderRadius.all(
  1. Radius radius
)

Creates a border radius where all radii are radius.

Implementation

const BorderRadius.all(Radius radius) : this.only(
  topLeft: radius,
  topRight: radius,
  bottomLeft: radius,
  bottomRight: radius,
);