SelectionPainter constructor
SelectionPainter({
- required NodeFlowTheme theme,
Implementation
SelectionPainter({required this.theme})
: _fillPaint = Paint()
..color = theme.selectionTheme.color
..style = PaintingStyle.fill,
_borderPaint = Paint()
..color = theme.selectionTheme.borderColor
..strokeWidth = theme.selectionTheme.borderWidth
..style = PaintingStyle.stroke;