setStrokeWidthFromLength method
void
setStrokeWidthFromLength()
Implementation
void setStrokeWidthFromLength() => setStroke(
width: min(initialStrokeWidth, maxStrokeWidthToLengthRatio * getLength()),
family: false);