PowerPopupOptions constructor

PowerPopupOptions({
  1. required PowerPopupBuilder popupBuilder,
  2. PopupSnap popupSnap = PopupSnap.markerTop,
  3. required PopupController popupController,
  4. PopupAnimation? popupAnimation,
  5. bool markerRotate = false,
  6. MarkerTapBehavior? markerTapBehavior,
  7. bool buildPopupOnHover = false,
  8. int timeToShowPopupOnHover = 300,
})

Implementation

PowerPopupOptions({
  required this.popupBuilder,
  this.popupSnap = PopupSnap.markerTop,
  required this.popupController,
  this.popupAnimation,
  this.markerRotate = false,
  MarkerTapBehavior? markerTapBehavior,
  this.buildPopupOnHover = false,
  this.timeToShowPopupOnHover = 300,
}) : markerTapBehavior =
         markerTapBehavior ?? MarkerTapBehavior.togglePopupAndHideRest();