doubleLine static method

List<Op> doubleLine(
  1. double x1,
  2. double y1,
  3. double x2,
  4. double y2,
  5. DrawConfig config,
)

Implementation

static List<Op> doubleLine(
    double x1, double y1, double x2, double y2, DrawConfig config) {
  final List<Op> o1 = _line(x1, y1, x2, y2, config, true, false);
  final List<Op> o2 = _line(x1, y1, x2, y2, config, true, true);
  return o1 + o2;
}