EdgeRadius.vertical constructor
Do that:
BorderRadius.vertical(
top: Radius.circular(top),
bottom: Radius.circular(bottom),
)
Implementation
EdgeRadius.vertical({double top = 0.0, double bottom = 0.0})
: super.vertical(
top: Radius.circular(top), bottom: Radius.circular(bottom));