BorderRadiusDirectional.only constructor

const BorderRadiusDirectional.only({
  1. Radius topStart = Radius.zero,
  2. Radius topEnd = Radius.zero,
  3. Radius bottomStart = Radius.zero,
  4. 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,
});