Popover Menu
A popover menu displays a menu in a portal aligned to a child.
Usage
FPopover(...)
const FPopoverMenu(
controller: FPopoverController(),
menuAnchor: Alignment.topCenter,
childAnchor: Alignment.bottomCenter,
ignoreDirectionalPadding: true,
hideOnTapOutside: true,
shift: FPortalFollowerShift.flip,
menu: [
FTileGroup(
children: [],
),
],
child: const Placeholder(),
);
FPopover.tappable()
const FPopoverMenu.tappable(
controller: FPopoverController(),
menuAnchor: Alignment.topCenter,
childAnchor: Alignment.bottomCenter,
ignoreDirectionalPadding: true,
hideOnTapOutside: true,
shift: FPortalFollowerShift.flip,
menu: [
FTileGroup(
children: [],
),
],
child: const Placeholder(),
);