hoverWithClick static method
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,
})
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));
}