HuaweiMap class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- HuaweiMap
Constructors
-
HuaweiMap({Key? key, required CameraPosition initialCameraPosition, MapType mapType = MapType.normal, Set<
Factory< ? gestureRecognizers, bool compassEnabled = true, bool isDark = false, bool mapToolbarEnabled = true, CameraTargetBounds cameraTargetBounds = CameraTargetBounds.unbounded, MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded, bool rotateGesturesEnabled = true, bool scrollGesturesEnabled = true, bool zoomControlsEnabled = true, bool zoomGesturesEnabled = true, bool tiltGesturesEnabled = true, bool myLocationEnabled = false, bool myLocationButtonEnabled = true, EdgeInsets padding = EdgeInsets.zero, bool trafficEnabled = false, bool markersClusteringEnabled = false, bool buildingsEnabled = true, bool? allGesturesEnabled, bool isScrollGesturesEnabledDuringRotateOrZoom = true, bool gestureScaleByMapCenter = false, ScreenCoordinate? pointToCenter, Set<OneSequenceGestureRecognizer> >Marker> markers = const <Marker>{}, Set<Polygon> polygons = const <Polygon>{}, Set<Polyline> polylines = const <Polyline>{}, Set<Circle> circles = const <Circle>{}, Set<GroundOverlay> groundOverlays = const <GroundOverlay>{}, Set<TileOverlay> tileOverlays = const <TileOverlay>{}, Set<HeatMap> heatMaps = const <HeatMap>{}, void onMapCreated(HuaweiMapController controller)?, ArgumentCallback<int> ? onCameraMoveStarted, CameraPositionCallback? onCameraMove, VoidCallback? onCameraIdle, VoidCallback? onCameraMoveCanceled, ArgumentCallback<LatLng> ? onClick, ArgumentCallback<LatLng> ? onLongPress, ArgumentCallback<PointOfInterest> ? onPoiClick, ArgumentCallback<Location> ? onMyLocationClick, ArgumentCallback<bool> ? onMyLocationButtonClick, Color? clusterMarkerColor, Color? clusterMarkerTextColor, BitmapDescriptor? clusterIconDescriptor, int logoPosition = LOWER_LEFT, EdgeInsets logoPadding = EdgeInsets.zero, String? styleId, String? previewId, bool liteMode = false, MyLocationStyle? myLocationStyle}) -
const
Properties
- allGesturesEnabled → bool?
-
final
- buildingsEnabled → bool
-
final
- cameraTargetBounds → CameraTargetBounds
-
final
-
circles
→ Set<
Circle> -
final
- clusterIconDescriptor → BitmapDescriptor?
-
final
- clusterMarkerColor → Color?
-
final
- clusterMarkerTextColor → Color?
-
final
- compassEnabled → bool
-
final
-
gestureRecognizers
→ Set<
Factory< ?OneSequenceGestureRecognizer> > -
final
- gestureScaleByMapCenter → bool
-
final
-
groundOverlays
→ Set<
GroundOverlay> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
heatMaps
→ Set<
HeatMap> -
final
- initialCameraPosition → CameraPosition
-
final
- isDark → bool
-
final
- isScrollGesturesEnabledDuringRotateOrZoom → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- liteMode → bool
-
final
- logoPadding → EdgeInsets
-
final
- logoPosition → int
-
final
- mapToolbarEnabled → bool
-
final
- mapType → MapType
-
final
-
markers
→ Set<
Marker> -
final
- markersClusteringEnabled → bool
-
final
- minMaxZoomPreference → MinMaxZoomPreference
-
final
- myLocationButtonEnabled → bool
-
final
- myLocationEnabled → bool
-
final
- myLocationStyle → MyLocationStyle?
-
final
- onCameraIdle → VoidCallback?
-
final
- onCameraMove → CameraPositionCallback?
-
final
- onCameraMoveCanceled → VoidCallback?
-
final
-
onCameraMoveStarted
→ ArgumentCallback<
int> ? -
final
-
onClick
→ ArgumentCallback<
LatLng> ? -
final
-
onLongPress
→ ArgumentCallback<
LatLng> ? -
final
- onMapCreated → (void Function(HuaweiMapController controller)?)
-
final
-
onMyLocationButtonClick
→ ArgumentCallback<
bool> ? -
final
-
onMyLocationClick
→ ArgumentCallback<
Location> ? -
final
-
onPoiClick
→ ArgumentCallback<
PointOfInterest> ? -
final
- padding → EdgeInsets
-
final
- pointToCenter → ScreenCoordinate?
-
final
-
polygons
→ Set<
Polygon> -
final
-
polylines
→ Set<
Polyline> -
final
- previewId → String?
-
final
- rotateGesturesEnabled → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollGesturesEnabled → bool
-
final
- styleId → String?
-
final
-
tileOverlays
→ Set<
TileOverlay> -
final
- tiltGesturesEnabled → bool
-
final
- trafficEnabled → bool
-
final
- zoomControlsEnabled → bool
-
final
- zoomGesturesEnabled → bool
-
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
Constants
- LOWER_LEFT → const int
- LOWER_RIGHT → const int
- REASON_API_ANIMATON → const int
- REASON_DEVELOPER_ANIMATION → const int
- REASON_GESTURE → const int
- UPPER_LEFT → const int
- UPPER_RIGHT → const int