GameCameraControls constructor
const
GameCameraControls({})
Controls for camera over child: buttons and scroll steps of 0.1,
mouse-drag pan and pinch zoom on, the zoom readout off, unless told
otherwise. Every zoom is clamped to the camera's minZoom..maxZoom.
Implementation
const GameCameraControls({
super.key,
required this.camera,
required this.child,
this.zoomStep = 0.1,
this.scrollZoomFactor = 0.1,
this.showZoomLevel = false,
this.enablePan = true,
this.enablePinch = true,
});