strokeOffset property

double get strokeOffset

The offset of the stroke, taking into account the stroke alignment.

For example, this will return the negative effectiveWidth of the stroke for a effectiveOffset of -1, 0 for a effectiveOffset of 0, and the effectiveWidth for a effectiveOffset of -1.

Implementation

double get strokeOffset => effectiveWidth * effectiveOffset;