ChildBuilder typedef

ChildBuilder = Widget Function(BuildContext context, OpenPopupFn openPopup)

Used to build the widget that is going to open the popup menu. This widget can call openPopup to open the popup menu.

Implementation

typedef Widget ChildBuilder(
  BuildContext context,
  OpenPopupFn openPopup,
);