getSolidStrokeWidthPx method

  1. @protected
double? getSolidStrokeWidthPx(
  1. double? strokeWidthPx
)

Implementation

@protected
double? getSolidStrokeWidthPx(double? strokeWidthPx) {
  return isSolid ? strokeWidthPx : (strokeWidthPx ?? 2.0);
}