LocationShow constructor

const LocationShow({
  1. Key? key,
  2. required String addressName,
  3. String? addressLocation,
  4. required double latitude,
  5. required double longitude,
  6. required LocationUtils locationUtils,
  7. required TIMMapWidget mapBuilder(
    1. VoidCallback onMapLoadDone,
    2. Key mapKey
    ),
  8. bool? isUseMapSDKLocation = true,
  9. List<NavigationMapItem>? navigationMapList,
  10. bool isAllowCurrentLocation = true,
})

Implementation

const LocationShow({
  Key? key,
  required this.addressName,
  this.addressLocation,
  required this.latitude,
  required this.longitude,
  required this.locationUtils,
  required this.mapBuilder,
  this.isUseMapSDKLocation = true,
  this.navigationMapList,
  this.isAllowCurrentLocation = true,
}) : super(key: key);