FlutterGoogleStreetView class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FlutterGoogleStreetView
Constructors
-
FlutterGoogleStreetView({Key? key, StreetViewCreatedCallback? onStreetViewCreated, CameraChangeListener? onCameraChangeListener, PanoramaChangeListener? onPanoramaChangeListener, PanoramaClickListener? onPanoramaClickListener, PanoramaLongClickListener? onPanoramaLongClickListener, String? initPanoId, LatLng? initPos, double? initRadius, StreetViewSource? initSource, double? initBearing, double? initTilt, double? initZoom, bool panningGesturesEnabled = true, bool streetNamesEnabled = true, bool zoomGesturesEnabled = true, Set<
Factory< ? gestureRecognizers})OneSequenceGestureRecognizer> > -
const
Properties
-
gestureRecognizers
→ Set<
Factory< ?OneSequenceGestureRecognizer> > -
Which gestures should be consumed by the streetView.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initBearing → double?
-
Specifies bearing for initialization position,
it worked while initPos or initPanoId was specified.
Sets the direction that the camera is pointing in, in degrees clockwise from north.
final
- initPanoId → String?
-
Specifies initialization position by panoramaID.
initPos should be null while initPanoId was set.
final
- initPos → LatLng?
-
Specifies initialization position by latitude and longitude.
initPanoId should be null while initPos was set.
final
- initRadius → double?
-
Specifies radius used to search for a Street View panorama
final
- initSource → StreetViewSource?
-
Specifies the source filter used to search for a Street View panorama,
or DEFAULT if unspecified.
final
- initTilt → double?
-
Specifies tilt for initialization position,
it worked while initPos or initPanoId was specified.
This value is restricted to being between -90 (directly down) and 90 (directly up).
final
- initZoom → double?
-
Specifies zoom for initialization position,
it worked while initPos or initPanoId was specified.
Sets the zoom level of the camera. The original zoom level is set at 0.
A zoom of 1 would double the magnification. The zoom is clamped between 0 and the maximum zoom level.
The maximum zoom level can vary based upon the panorama.
Clamped means that any value falling outside this range will be set to the closest extreme that falls within the range.
For example, a value of -1 will be set to 0.
Another example: If the maximum zoom for the panorama is 19,
and the value is given as 20, it will be set to 19.
Note that the camera zoom need not be an integer value.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onCameraChangeListener → CameraChangeListener?
-
final
- onPanoramaChangeListener → PanoramaChangeListener?
-
final
- onPanoramaClickListener → PanoramaClickListener?
-
final
- onPanoramaLongClickListener → PanoramaLongClickListener?
-
final
- onStreetViewCreated → StreetViewCreatedCallback?
-
Callback method for when the street view is ready to be used.
final
- panningGesturesEnabled → bool
-
Sets whether the user is able to use panning gestures
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streetNamesEnabled → bool
-
Sets whether the user is able to see street names on panoramas
final
-
Sets whether the user is able to move to another panorama
final
- zoomGesturesEnabled → bool
-
Sets whether the user is able to use zoom gestures
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited