AmapWidget constructor

const AmapWidget({
  1. Key? key,
  2. required CameraPosition initCameraPosition,
  3. AMapUIController? uiController,
  4. MapCreatedCallback? onMapCreated,
  5. ArgumentCallback<CameraPosition>? onCameraMove,
  6. ArgumentCallback<CameraPosition>? onCameraMoveEnd,
  7. MapType? mapType,
  8. bool gestureScaleByMapCenter = false,
})

Implementation

const AmapWidget({
  Key? key,
  required this.initCameraPosition,
  this.uiController,
  this.onMapCreated,
  this.onCameraMove,
  this.onCameraMoveEnd,
  this.mapType,
  this.gestureScaleByMapCenter = false,
}) : super(key: key);