debugPaint property
The debugColor
represented as a Paint object.
Implementation
Paint get debugPaint {
if (!_debugPaintCache.isCacheValid([debugColor])) {
final paint = Paint()
..color = debugColor
..strokeWidth = 0 // hairline-width
..style = PaintingStyle.stroke;
_debugPaintCache.updateCache(paint, [debugColor]);
}
return _debugPaintCache.value!;
}