selectionRectBorderColor property
Border color of the selection zooming rectangle.
It used to change the stroke color of the selection rectangle.
Defaults to null
.
late ZoomPanBehavior zoomPanBehavior;
void initState() {
zoomPanBehavior = ZoomPanBehavior(
enableSelectionZooming: true,
selectionRectBorderColor: Colors.red
);
super.initState();
}
Widget build(BuildContext context) {
return GraphTool(
zoomPanBehavior: zoomPanBehavior
);
}
Implementation
final Color? selectionRectBorderColor;