click static method

AnchoredPopUpRegion click({
  1. Key? key,
  2. required Widget child,
  3. required Widget popChild,
  4. Alignment? anchor,
  5. Alignment? popAnchor,
  6. bool? barrierDismissable,
  7. Color? barrierColor,
  8. PopupButtonBuilder? buttonBuilder,
})

Implementation

static AnchoredPopUpRegion click(
    {Key? key,
    required Widget child,
    required Widget popChild,
    Alignment? anchor,
    Alignment? popAnchor,
    bool? barrierDismissable,
    Color? barrierColor,
    PopupButtonBuilder? buttonBuilder}) {
  return AnchoredPopUpRegion(
    key: key,
    child: child,
    popChild: popChild,
    anchor: anchor,
    popAnchor: popAnchor,
    mode: PopUpMode.clickToToggle,
    barrierColor: barrierColor,
    barrierDismissable: barrierDismissable,
    buttonBuilder: buttonBuilder,
  );
}