ComponentHighlightPainter constructor

ComponentHighlightPainter({
  1. required double width,
  2. required double height,
  3. Color color = Colors.red,
  4. double strokeWidth = 2,
  5. double dashWidth = 10,
  6. double dashSpace = 5,
})

Rectangular dashed line painter.

Useful if added as component widget to highlight it.

Implementation

ComponentHighlightPainter({
  required this.width,
  required this.height,
  this.color = Colors.red,
  this.strokeWidth = 2,
  this.dashWidth = 10,
  this.dashSpace = 5,
});