LocationMsgElement constructor
const
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,
Implementation
const LocationMsgElement(
{Key? key,
required this.messageID,
required this.locationElem,
required this.isFromSelf,
this.isShowJump = false,
this.clearJump,
required this.locationUtils,
required this.mapBuilder,
this.isUseMapSDKLocation = true,
this.isAllowCurrentLocation = true})
: super(key: key);