maxRoundedDecoration function
Implementation
BoxDecoration maxRoundedDecoration({color, borderColor, radius}) {
return BoxDecoration(
color: color ?? Colors.white,
border: Border.all(color: borderColor ?? Colors.white, width: 1),
borderRadius: radius ??
const BorderRadius.all(
Radius.circular(16),
));
}