visibleBorderStyle property
ShapeStyle
get
visibleBorderStyle
Resolved fallback for the separate always-visible border pass: the shape's own stroke, or a dark hairline when it has none.
Implementation
ShapeStyle get visibleBorderStyle => source.style.copyWith(
stroke: source.style.stroke.argb >> 24 == 0
? const DiagramColor(0xff111111)
: source.style.stroke,
strokeWidth: visibleBorderWidth(source.style),
);