strokeOutset property
Get the amount of the stroke width that lies outside of the BorderSide.
For example, this will return 0 for a strokeAlign of -1, half the width for a strokeAlign of 0, and the width for a strokeAlign of 1.
Implementation
double get strokeOutset => width * (1 + strokeAlign) / 2;