Panorama constructor
Panorama({
- Key? key,
- double latitude = 0,
- double longitude = 0,
- double zoom = 1.0,
- double minLatitude = -90.0,
- double maxLatitude = 90.0,
- double minLongitude = -180.0,
- double maxLongitude = 180.0,
- double minZoom = 1.0,
- double maxZoom = 5.0,
- double sensitivity = 1.0,
- double animSpeed = 0.0,
- bool animReverse = true,
- int latSegments = 32,
- int lonSegments = 64,
- bool interactive = true,
- SensorControl sensorControl = SensorControl.None,
- Rect croppedArea = const Rect.fromLTWH(0.0, 0.0, 1.0, 1.0),
- double croppedFullWidth = 1.0,
- double croppedFullHeight = 1.0,
- dynamic onViewChanged()?,
- dynamic onTap()?,
- dynamic onLongPressStart()?,
- dynamic onLongPressMoveUpdate()?,
- dynamic onLongPressEnd()?,
- Image? child,
- List<
Hotspot> ? hotspots,
Implementation
Panorama({
Key? key,
this.latitude = 0,
this.longitude = 0,
this.zoom = 1.0,
this.minLatitude = -90.0,
this.maxLatitude = 90.0,
this.minLongitude = -180.0,
this.maxLongitude = 180.0,
this.minZoom = 1.0,
this.maxZoom = 5.0,
this.sensitivity = 1.0,
this.animSpeed = 0.0,
this.animReverse = true,
this.latSegments = 32,
this.lonSegments = 64,
this.interactive = true,
this.sensorControl = SensorControl.None,
this.croppedArea = const Rect.fromLTWH(0.0, 0.0, 1.0, 1.0),
this.croppedFullWidth = 1.0,
this.croppedFullHeight = 1.0,
this.onViewChanged,
this.onTap,
this.onLongPressStart,
this.onLongPressMoveUpdate,
this.onLongPressEnd,
this.child,
this.hotspots,
}) : super(key: key);