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,
- Offset offset = Offset.zero,
- 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,
this.offset = Offset.zero,
super.key,
});