FlutterGoogleStreetView constructor
const
FlutterGoogleStreetView({
- Key? key,
- StreetViewCreatedCallback? onStreetViewCreated,
- CameraChangeListener? onCameraChangeListener,
- PanoramaChangeListener? onPanoramaChangeListener,
- PanoramaClickListener? onPanoramaClickListener,
- PanoramaLongClickListener? onPanoramaLongClickListener,
- String? initPanoId,
- LatLng? initPos,
- double? initRadius,
- StreetViewSource? initSource,
- double? initFov = 90,
- double? initBearing,
- double? initTilt,
- double? initZoom,
- bool panningGesturesEnabled = true,
- bool streetNamesEnabled = true,
- bool zoomGesturesEnabled = true,
- Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> >
Implementation
const FlutterGoogleStreetView(
{Key? key,
this.onStreetViewCreated,
this.onCameraChangeListener,
this.onPanoramaChangeListener,
this.onPanoramaClickListener,
this.onPanoramaLongClickListener,
this.initPanoId,
this.initPos,
this.initRadius,
this.initSource,
this.initFov = 90, //iOS only
this.initBearing,
this.initTilt,
this.initZoom,
this.panningGesturesEnabled = true,
this.streetNamesEnabled = true,
this.userNavigationEnabled = true,
this.zoomGesturesEnabled = true,
this.gestureRecognizers})
: assert((initPanoId != null) ^ (initPos != null)),
assert((initTilt != null && initTilt >= -90 && initTilt <= 90) ||
initTilt == null),
super(key: key);