PortalEntry constructor

const PortalEntry({
  1. Key? key,
  2. bool visible = true,
  3. Alignment? childAnchor,
  4. Alignment? portalAnchor,
  5. Widget? portal,
  6. Duration? closeDuration,
  7. required Widget child,
})

Implementation

const PortalEntry({
  Key? key,
  this.visible = true,
  this.childAnchor,
  this.portalAnchor,
  this.portal,
  this.closeDuration,
  required this.child,
})  : assert(visible == false || portal != null),
      assert((childAnchor == null) == (portalAnchor == null)),
      super(key: key);