BorderRadiusGeometry.directional constructor

const BorderRadiusGeometry.directional({
  1. Radius topStart,
  2. Radius topEnd,
  3. Radius bottomStart,
  4. Radius bottomEnd,
})

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

The other corners will be right angles.

Implementation

const factory BorderRadiusGeometry.directional({
  Radius topStart,
  Radius topEnd,
  Radius bottomStart,
  Radius bottomEnd,
}) = BorderRadiusDirectional.only;