BorderRadiusDirectional.only constructor

const BorderRadiusDirectional.only({Radius topStart: Radius.zero, Radius topEnd: Radius.zero, Radius bottomStart: Radius.zero, Radius bottomEnd: Radius.zero })

Creates a border radius with only the given non-zero values. The other corners will be right angles.

Implementation

const BorderRadiusDirectional.only({
  this.topStart = Radius.zero,
  this.topEnd = Radius.zero,
  this.bottomStart = Radius.zero,
  this.bottomEnd = Radius.zero,
});