LocationMsgElement class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- LocationMsgElement
Constructors
- LocationMsgElement.new({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 setterinherited
- 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.
finalinherited
- 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 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, int wrapWidth = 65}) → 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