Popover Menu
A popover menu displays a menu in a portal aligned to a child.
Usage
FPopoverMenu(...)
const FPopoverMenu(
popoverController: FPopoverController(),
scrollController: ScrollController(),
cacheExtent: 100,
maxHeight: 200,
dragStartBehavior: DragStartBehavior.start,
menuAnchor: Alignment.topCenter,
childAnchor: Alignment.bottomCenter,
directionPadding: false,
hideOnTapOutside: true,
shift: FPortalFollowerShift.flip,
menu: [
FTileGroup(
children: [],
),
],
child: const Placeholder(),
);
FPopoverMenu.tappable()
const FPopoverMenu.tappable(
popoverController: FPopoverController(),
scrollController: ScrollController(),
cacheExtent: 100,
maxHeight: 200,
dragStartBehavior: DragStartBehavior.start,
menuAnchor: Alignment.topCenter,
childAnchor: Alignment.bottomCenter,
directionPadding: false,
hideOnTapOutside: true,
shift: FPortalFollowerShift.flip,
menu: [
FTileGroup(
children: [],
),
],
child: const Placeholder(),
);