ZoomPanBehavior constructor
ZoomPanBehavior({
- bool enablePinching = false,
- bool enableDoubleTapZooming = false,
- bool enablePanning = false,
- bool enableSelectionZooming = false,
- bool enableMouseWheelZooming = false,
- ZoomMode zoomMode = ZoomMode.xy,
- double maximumZoomLevel = 0.01,
- double selectionRectBorderWidth = 1,
- Color? selectionRectBorderColor,
- Color? selectionRectColor,
Creating an argument constructor of ZoomPanBehavior class.
Implementation
ZoomPanBehavior({
this.enablePinching = false,
this.enableDoubleTapZooming = false,
this.enablePanning = false,
this.enableSelectionZooming = false,
this.enableMouseWheelZooming = false,
this.zoomMode = ZoomMode.xy,
this.maximumZoomLevel = 0.01,
this.selectionRectBorderWidth = 1,
this.selectionRectBorderColor,
this.selectionRectColor,
});