hoverWithClick static method

AnchoredPopUpRegion hoverWithClick({
  1. Key? key,
  2. required Widget child,
  3. required Widget hoverPopChild,
  4. required Widget clickPopChild,
  5. bool barrierDismissable = true,
  6. Color? barrierColor,
  7. Alignment? hoverAnchor,
  8. Alignment? hoverPopAnchor,
  9. Alignment? clickAnchor,
  10. Alignment? clickPopAnchor,
  11. PopupButtonBuilder? buttonBuilder,
})

Implementation

static AnchoredPopUpRegion hoverWithClick({
  Key? key,
  required Widget child,
  required Widget hoverPopChild,
  required Widget clickPopChild,
  bool barrierDismissable = true,
  Color? barrierColor,
  Alignment? hoverAnchor,
  Alignment? hoverPopAnchor,
  Alignment? clickAnchor,
  Alignment? clickPopAnchor,
  PopupButtonBuilder? buttonBuilder,
}) {
  return click(
      key: key,
      anchor: clickAnchor,
      barrierColor: barrierColor,
      barrierDismissable: barrierDismissable,
      popChild: clickPopChild,
      popAnchor: clickPopAnchor,
      buttonBuilder: buttonBuilder,
      child: hover(popAnchor: hoverPopAnchor, popChild: hoverPopChild, anchor: hoverAnchor, child: child));
}