Portal
A portal renders a portal widget that “floats” on top of a child widget.
Preview
Usage
FPortal(...)
FPortal(
controller: OverlayPortalController(),
shift: FPortalShift.flip,
portalAnchor: Alignment.topCenter,
childAnchor: Alignment.bottomCenter,
useViewPadding: true,
portalBuilder: (context) => const Text('portal'),
child: const Text('child'),
);
Last updated on