LocationMsgElement class
Constructors
LocationMsgElement ({Key ? key , required String ? messageID , required LocationMessage locationElem , required bool isFromSelf , bool ? isShowJump = false , VoidCallback ? clearJump , required LocationUtils locationUtils , required TIMMapWidget mapBuilder (VoidCallback onMapLoadDone , Key mapKey ), bool ? isUseMapSDKLocation = true , bool isAllowCurrentLocation = true })
const
Properties
clearJump
→ VoidCallback ?
Clear the jump function(commonly used with UIKit) / 清除跳转方法
final
hashCode
→ int
The hash code for this object.
no setter inherited
isAllowCurrentLocation
→ bool
To control is allow the location show page has a location button on bottom right. / 是否显示定位按钮
final
isFromSelf
→ bool
Whether this message is sent from self / 是否自己发送
final
isShowJump
→ bool ?
Whether shows the style represent this message is been jumped to / 是否显示被跳转样式
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.
final inherited
locationElem
→ LocationMessage
LocationMessage message / LocationMessage消息
final
locationUtils
→ LocationUtils
LocationUtils with the TIMMapService implemented with specific Map SDK. / 传入根据选定地图SDK实例化后的LocationUtils
final
mapBuilder
→ TIMMapWidget Function(VoidCallback onMapLoadDone , Key mapKey )
TIMMapWidget with the inherited map widget by the Map SDK you chose. / 传入根据选定地图SDK实例化后的地图组件TIMMapWidget
final
messageID
→ String ?
message ID / 消息ID
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
tim_ui_kit_lbs_plugin 2.5.0