DashPattern.uniform constructor - DashPattern - mapview library - Dart API
DashPattern.uniform
DashPattern.uniform constructor
- 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 ' ——— ——— ———'.
dashLengthThe 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);