visibleBorderWidth static method

double visibleBorderWidth(
  1. ShapeStyle style
)

The width of an always-visible border drawn for style.

Implementation

static double visibleBorderWidth(ShapeStyle style) =>
    math.max(1.5, style.strokeWidth);