side static method

BorderSide side({
  1. Color? color,
  2. double? width,
})

Implementation

static BorderSide side({Color? color, double? width}) {
  color ??= _color;
  width ??= _width;
  return BorderSide(
    color: color,
    width: width,
  );
}