copyWithColor method
Implementation
Border copyWithColor(Color? color) {
return Border(
top: top.copyWith(color: color),
bottom: bottom.copyWith(color: color),
left: left.copyWith(color: color),
right: right.copyWith(color: color),
);
}