LocationPicker constructor

const LocationPicker({
  1. Key? key,
  2. required ValueChanged<LocationMessage> onChange,
  3. required TIMMapWidget mapBuilder(
    1. VoidCallback onMapLoadDone,
    2. Key mapKey,
    3. dynamic onMapMoveEnd(
      1. TIMCoordinate? targetGeoPt,
      2. TIMRegionChangeReason regionChangeReason
      )
    ),
  4. required LocationUtils locationUtils,
  5. TIMCoordinate? initCoordinate,
  6. bool? isUseMapSDKLocation = true,
})

Implementation

const LocationPicker(
    {Key? key,
    required this.onChange,
    required this.mapBuilder,
    required this.locationUtils,
      this.initCoordinate,
      this.isUseMapSDKLocation = true})
    : super(key: key);