borderPaint property

Paint? borderPaint
final

Implementation

final Paint? borderPaint = borderColor != null
    ? (Paint()
        ..color = borderColor
        ..style = PaintingStyle.stroke
        ..strokeWidth = borderWidth ?? 0)
    : null;