DashPattern.uniform constructor

DashPattern.uniform(
  1. double dashLength
)

Creates a uniform dash pattern in which the length of a gap is the same as the length of a dash.

This allows for patterns like ' — — — —' or ' ——— ——— ———'.

  • dashLength The length of a dash in pixels. The gap will have the same length. Clamped to the range of [1, 500].

Implementation

factory DashPattern.uniform(double dashLength) => $prototype.uniform(dashLength);