EdgeRadius.horizontal constructor
Do that:
BorderRadius.horizontal(
left: Radius.circular(left),
right: Radius.circular(right),
)
Implementation
EdgeRadius.horizontal({double left = 0.0, double right = 0.0})
: super.horizontal(
left: Radius.circular(left),
right: Radius.circular(right),
);