dash static method

PatternItem dash(
  1. double length
)

A dash used in the stroke pattern for a Polyline.

length has to be non-negative.

Implementation

static PatternItem dash(double length) {
  assert(length >= 0.0);
  return VariableLengthPatternItem._(
      patternItemType: PatternItemType.dash, length: length);
}