OverlayPortal.targetsRootOverlay constructor
- @Deprecated('Use OverlayPortal with root overlay instead. ' 'This feature was deprecated after v3.33.0-0.0.pre.')
- Key? key,
- required OverlayPortalController controller,
- required WidgetBuilder overlayChildBuilder,
- Widget? child,
Creates an OverlayPortal that renders the widget overlayChildBuilder
builds on the root Overlay when OverlayPortalController.show is
called.
Implementation
@Deprecated(
'Use OverlayPortal with root overlay instead. '
'This feature was deprecated after v3.33.0-0.0.pre.',
)
const OverlayPortal.targetsRootOverlay({
super.key,
required this.controller,
required this.overlayChildBuilder,
this.child,
}) : overlayLocation = OverlayChildLocation.rootOverlay;