BorderRadiusGeometry.only constructor

const BorderRadiusGeometry.only({
  1. Radius topLeft,
  2. Radius topRight,
  3. Radius bottomLeft,
  4. Radius bottomRight,
})

Creates a BorderRadius with only the given non-zero values.

The other corners will be right angles.

Implementation

const factory BorderRadiusGeometry.only({
  Radius topLeft,
  Radius topRight,
  Radius bottomLeft,
  Radius bottomRight,
}) = BorderRadius.only;