gap static method

PatternItem gap(
  1. double length
)

A gap used in the stroke pattern for a Polyline.

length has to be non-negative.

Implementation

static PatternItem gap(double length) {
  assert(length >= 0.0);
  return PatternItem._(<dynamic>['gap', length]);
}