LocationShow class

Inheritance

Constructors

LocationShow({Key? key, required String addressName, String? addressLocation, required double latitude, required double longitude, required LocationUtils locationUtils, required TIMMapWidget mapBuilder(VoidCallback onMapLoadDone, Key mapKey), bool? isUseMapSDKLocation = true, List<NavigationMapItem>? navigationMapList, bool isAllowCurrentLocation = true})
const

Properties

addressLocation String?
Full address / 位置地址
final
addressName String
Address name / 位置名称标题
final
hashCode int
The hash code for this object.
no setterinherited
isAllowCurrentLocation bool
To control is allow the location show page has a location button on bottom right. / 是否显示定位按钮
final
isUseMapSDKLocation bool?
To control if the poisoning ability from Map SDK is needed, if true, please make sure 'moveToCurrentLocationActionWithSearchPOIByMapSDK' been implemented correctly. 用于控制是否使用地图SDK定位能力。若使用,请确保moveToCurrentLocationActionWithSearchPOIByMapSDK方法继承正确。
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
latitude double
Latitude / 纬度
final
locationUtils LocationUtils
LocationUtils with the TIMMapService implemented with specific Map SDK. 传入根据选定地图SDK实例化后的LocationUtils
final
longitude double
Longitude / 经度
final
mapBuilder TIMMapWidget Function(VoidCallback onMapLoadDone, Key mapKey)
TIMMapWidget with the inherited map widget by the Map SDK you chose. 传入根据选定地图SDK实例化后的地图组件TIMMapWidget
final
External navigation map list for jumping out to navigate, if nothing here, default list includes "Tencent Map", "AMap", "Baidu Map", "Apple Map". 第三方导航APP列表,如果没传,则默认腾讯/百度/高德/苹果地图。
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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