copyWithColor method

Border copyWithColor(
  1. Color? color
)

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