StreetViewController class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPanningGesturesEnabled → bool?
-
Return street view is able to use panning gestures.
no setter
- isStreetNamesEnabled → bool?
-
Return street view is displaying street name or not.
no setter
-
Return street view is able user move to another panorama.
no setter
- isZoomGesturesEnabled → bool?
-
Return street view is able to use zoom gestures.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewId → int
-
final
Methods
-
animateTo(
{required StreetViewPanoramaCamera camera, required int duration}) → Future< void> -
Animate camera to a given position over a specified duration.
duration
unit is ms Return Future while the change has been started on the platform side. -
getLocation(
) → Future< StreetViewPanoramaLocation?> - Return position of current panorama and information of near panoramas
-
getPanoramaCamera(
) → Future< StreetViewPanoramaCamera> - Return camera setting, bearing, tilt and zoom.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
orientationToPoint(
StreetViewPanoramaOrientation orientation) → Future< Point< num> > - Returns a screen location that corresponds to an orientationStreetViewPanoramaOrientation.
-
pointToOrientation(
Point< num> point) → Future<StreetViewPanoramaOrientation> - Return the orientationStreetViewPanoramaOrientation that corresponds to a screen location.
-
setPanningGesturesEnabled(
bool enable) → Future< void> - Sets street view to allow using panning gesture or not.
-
setPosition(
{LatLng? position, String? panoId, int? radius, StreetViewSource? source}) → Future< void> - Sets panorama by given location
-
setStreetNamesEnabled(
bool enable) → Future< void> - Sets street view to display street name or not.
- Sets street view to allow moving to another panorama.
-
setZoomGesturesEnabled(
bool enable) → Future< void> - Sets street view to allow using zoom gestures or not.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
init(
int id, _StreetViewState _streetViewState) → Future< StreetViewController> -
Initialize control of a FlutterGoogleStreetView with
id
.