BoundsTestPainter constructor
BoundsTestPainter({
- Listenable? repaint,
- required BoundsList boundsData,
- Color color = const Color(0x3300FF00),
- Color? visibleBoundsColor,
- Color? boundsColor,
Creates a BoundsTestPainter.
boundsData is a map of region labels to their corresponding Paths.
color sets the fill or stroke color for the regions.
Implementation
BoundsTestPainter({
super.repaint,
required this.boundsData,
this.color = const Color(0x3300FF00),
Color? visibleBoundsColor,
Color? boundsColor,
}) : visibleBoundsColor = visibleBoundsColor ?? color,
boundsColor = boundsColor ?? color;