LocationMsgElement constructor

const LocationMsgElement({
  1. Key? key,
  2. required String? messageID,
  3. required LocationMessage locationElem,
  4. required bool isFromSelf,
  5. bool? isShowJump = false,
  6. VoidCallback? clearJump,
  7. required LocationUtils locationUtils,
  8. required TIMMapWidget mapBuilder(
    1. VoidCallback onMapLoadDone,
    2. Key mapKey
    ),
  9. bool? isUseMapSDKLocation = true,
  10. 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);