EdgeRadius.horizontal constructor

EdgeRadius.horizontal({
  1. double left = 0.0,
  2. double right = 0.0,
})

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),
      );