scale method

Implementation

DynamicBorderSide scale(double t) {
  return DynamicBorderSide(
    color: color,
    gradient: gradient?.scale(t),
    width: max(0.0, width * t),
    style: t <= 0.0 ? BorderStyle.none : style,
    begin: begin,
    end: end,
    shift: shift,
    strokeJoin: strokeJoin,
    strokeCap: strokeCap,
  );
}