FPortal constructor

const FPortal({
  1. required OverlayPortalController controller,
  2. required WidgetBuilder followerBuilder,
  3. required Widget child,
  4. Alignment followerAnchor = Alignment.topCenter,
  5. Alignment targetAnchor = Alignment.bottomCenter,
  6. Offset shift(
    1. Size,
    2. FPortalTarget,
    3. FPortalFollower
    ) = FPortalFollowerShift.flip,
  7. 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,
});