BorderRadiusDirectional.all constructor Null safety

const BorderRadiusDirectional.all(
  1. Radius radius
)

Creates a border radius where all radii are radius.

Implementation

const BorderRadiusDirectional.all(Radius radius) : this.only(
  topStart: radius,
  topEnd: radius,
  bottomStart: radius,
  bottomEnd: radius,
);