effectiveWidth property

double get effectiveWidth

Returns the effective width of the border, using 1 by default.

Implementation

double get effectiveWidth => width ?? 1;