MethodChannelStreetViewFlutter class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

animateTo(int viewId, {StreetViewPanoramaCamera? camera, int? duration}) Future<void>
Animate camera to a given positionStreetViewPanoramaCamera over a specified duration.
override
buildView(Map<String, dynamic> creationParams, Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers, PlatformViewCreatedCallback onPlatformViewCreated, {int? viewId}) Widget
This method builds the appropriate platform view where the street view can be rendered. The viewId is passed as a parameter from the framework on the onPlatformViewCreated callback.
override
channel(int viewId) MethodChannel?
Accesses the MethodChannel associated to the passed viewId.
deactivate(int viewId) → void
FlutterGoogleStreetView is deactivated
override
dispose(int viewId) → void
Dispose of the native resources.
override
getLocation(int viewId) Future<StreetViewPanoramaLocation?>
Return position of current panorama and information of near panoramas
override
getPanoramaCamera(int viewId) Future<StreetViewPanoramaCamera>
Return camera setting, bearing, tilt and zoom.
override
init(int viewId) Future
Initializes the platform interface with id.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCameraChange({required int viewId}) Stream<CameraChangeEvent>
The Camera was changed.
override
onCloseClick({required int viewId}) Stream<CloseClickEvent>
The Close was clicked. Web only
override
onMarkerTap({required int viewId}) Stream<MarkerTapEvent>
A Marker has been tapped.
override
onPanoramaChange({required int viewId}) Stream<PanoramaChangeEvent>
The Panorama was changed.
override
onPanoramaClick({required int viewId}) Stream<PanoramaClickEvent>
The Panorama was clicked.
override
onPanoramaLongClick({required int viewId}) Stream<PanoramaLongClickEvent>
The Panorama was long clicked.
override
orientationToPoint(int viewId, {required StreetViewPanoramaOrientation orientation}) Future<Point<num>>
Returns a screen location that corresponds to an orientationStreetViewPanoramaOrientation.
override
pointToOrientation(int viewId, {Point<num>? point}) Future<StreetViewPanoramaOrientation>
Return the orientationStreetViewPanoramaOrientation that corresponds to a screen location.
override
setAddressControl(int viewId, bool enable) Future<void>
Sets street view to allow using address control or not. Web only
override
setAddressControlOptions(int viewId, ControlPosition pos) Future<void>
Sets address control display position. Web only
override
setDisableDefaultUI(int viewId, bool enable) Future<void>
Sets street view to allow using all default UI or not. Web only
override
setDisableDoubleClickZoom(int viewId, bool enable) Future<void>
Sets street view to allow using zoom on double click or not. Web only
override
setEnableCloseButton(int viewId, bool enable) Future<void>
Sets street view to allow using close button or not. Web only
override
setFullscreenControl(int viewId, bool enable) Future<void>
Sets street view to allow using fullscreen control or not. Web only
override
setFullscreenControlOptions(int viewId, ControlPosition pos) Future<void>
Sets fullscreen control display position. Web only
override
setLinksControl(int viewId, bool enable) Future<void>
Sets street view to allow using link control or not. Web only
override
setMotionTracking(int viewId, bool enable) Future<void>
Sets street view to allow using motion tracking or not. Web only
override
setMotionTrackingControl(int viewId, bool enable) Future<void>
Sets street view to allow using motion tracking control or not. Web only
override
setMotionTrackingControlOptions(int viewId, ControlPosition pos) Future<void>
Sets motion tracking control display position. Web only
override
setPanControl(int viewId, bool enable) Future<void>
Sets street view to allow using pan control or not. Web only
override
setPanControlOptions(int viewId, ControlPosition pos) Future<void>
Sets pan control display position. Web only
override
setPanningGesturesEnabled(int viewId, bool enable) Future<void>
Sets street view to allow using panning gesture or not.
override
setPosition(int viewId, {LatLng? position, String? panoId, int? radius, StreetViewSource? source}) Future<void>
Sets panorama by given location
override
setScrollwheel(int viewId, bool enable) Future<void>
Sets street view to allow using scrollwheel zooming or not. Web only
override
setStreetNamesEnabled(int viewId, bool enable) Future<void>
Sets street view to display street name or not.
override
setUserNavigationEnabled(int viewId, bool enable) Future<void>
Sets street view to allow moving to another panorama.
override
setVisible(int viewId, bool enable) Future<void>
Sets street view is visible. Web only
override
setZoomControl(int viewId, bool enable) Future<void>
Sets street view to allow using zoom control or not. Web only
override
setZoomControlOptions(int viewId, ControlPosition pos) Future<void>
Sets zoom control display position. Web only
override
setZoomGesturesEnabled(int viewId, bool enable) Future<void>
Sets street view to allow using zoom gestures or not.
override
toString() String
A string representation of this object.
inherited
updateMarkers(MarkerUpdates markerUpdates, {required int viewId}) Future<void>
Updates marker configuration.
override
updateStreetViewOptions(Map<String, dynamic> optionsUpdate, {required int viewId}) Future
Updates configuration options of the street view user interface.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited