FPortal constructor
const
FPortal({
- required OverlayPortalController controller,
- required WidgetBuilder followerBuilder,
- required Widget child,
- Alignment followerAnchor = Alignment.topCenter,
- Alignment targetAnchor = Alignment.bottomCenter,
- Offset shift() = FPortalFollowerShift.flip,
- Key? key,
Creates a portal.
Implementation
const FPortal({
required this.controller,
required this.followerBuilder,
required this.child,
this.followerAnchor = Alignment.topCenter,
this.targetAnchor = Alignment.bottomCenter,
this.shift = FPortalFollowerShift.flip,
super.key,
});