popupMenu method

Widget popupMenu(
  1. MenuBuilderCallback menuBuilder,
  2. {Key key,
  3. VxPopupMenuController controller,
  4. Color arrowColor = const Color(0xFF4C4C4C),
  5. double arrowSize = 10.0,
  6. Color barrierColor = Colors.black12,
  7. double horizontalMargin = 10.0,
  8. double verticalMargin = 10.0,
  9. bool showArrow = true,
  10. VxClickType clickType = VxClickType.singleClick}
)

Hides a widget

Implementation

Widget popupMenu(
  MenuBuilderCallback menuBuilder, {
  Key key,
  VxPopupMenuController controller,
  Color arrowColor = const Color(0xFF4C4C4C),
  double arrowSize = 10.0,
  Color barrierColor = Colors.black12,
  double horizontalMargin = 10.0,
  double verticalMargin = 10.0,
  bool showArrow = true,
  VxClickType clickType = VxClickType.singleClick,
}) =>
    VxPopupMenu(
      key: key,
      child: this,
      clickType: clickType,
      controller: controller,
      arrowColor: arrowColor,
      arrowSize: arrowSize,
      barrierColor: barrierColor,
      horizontalMargin: horizontalMargin,
      showArrow: showArrow,
      verticalMargin: verticalMargin,
      menuBuilder: menuBuilder,
    );