DashOffset.percentage constructor

DashOffset.percentage(
  1. double percentage
)

gives offset of the dashed path that will be measured as a percentage which ranges from 0.0 to 1.0

Implementation

DashOffset.percentage(double percentage)
    : _value = percentage.clamp(0.0, 1.0),
      _dashOffsetType = _DashOffsetType.percentage;