particlePaint property

Paint? get particlePaint

Implementation

Paint? get particlePaint => _paint;
set particlePaint (Paint? value)

Implementation

set particlePaint(Paint? value) {
  if (value == null) {
    _paint = Paint()
      ..strokeCap = StrokeCap.round
      ..style = PaintingStyle.fill
      ..strokeWidth = 1.0;
  } else {
    _paint = value;
  }

  if (_paint!.strokeWidth <= 0) _paint!.strokeWidth = 1.0;
}