AmapView constructor

const AmapView(
  1. {Key key,
  2. _OnMapCreated onMapCreated,
  3. MapType mapType,
  4. bool showZoomControl,
  5. bool showCompass,
  6. bool showScaleControl,
  7. bool zoomGesturesEnabled,
  8. bool scrollGesturesEnabled,
  9. bool rotateGestureEnabled,
  10. bool tiltGestureEnabled,
  11. double zoomLevel,
  12. LatLng centerCoordinate,
  13. List<MarkerOption> markers,
  14. OnMarkerClicked onMarkerClicked,
  15. OnMapClicked onMapClicked,
  16. OnMapMove onMapMoveStart,
  17. OnMapMove onMapMoveEnd,
  18. Duration maskDelay = const Duration(seconds: 0),
  19. Widget mask}
)

Implementation

const AmapView({
  Key key,
  this.onMapCreated,
  this.mapType,
  this.showZoomControl,
  this.showCompass,
  this.showScaleControl,
  this.zoomGesturesEnabled,
  this.scrollGesturesEnabled,
  this.rotateGestureEnabled,
  this.tiltGestureEnabled,
  this.zoomLevel, // todo 初始化没用
  this.centerCoordinate,
  this.markers,
  this.onMarkerClicked,
  this.onMapClicked,
  this.onMapMoveStart,
  this.onMapMoveEnd,
  this.maskDelay = const Duration(seconds: 0),
  this.mask,
}) : super(key: key);