bottomBorder method
Implementation
Decoration bottomBorder({required Color color, double? width, Color? bgColor, bool bottom = true, bool top = false}) {
return BoxDecoration(
color: bgColor,
border: Border(
bottom: bottom ? BorderSide(color: color, width: width ?? 1.w) : BorderSide.none,
top: top ? BorderSide(color: color, width: width ?? 1.w) : BorderSide.none,
));
}