wrap static method
Wrap the provided child
in an Overlay to allow other visual elements
(packed in OverlayEntrys) to float on top of the child.
This is a convenience method over the regular Overlay constructor: It
creates an Overlay and puts the provided child
in an OverlayEntry
at the bottom of that newly created Overlay.
Implementation
static Widget wrap({
Key? key,
Clip clipBehavior = Clip.hardEdge,
required Widget child,
}) {
return _WrappingOverlay(key: key, clipBehavior: clipBehavior, child: child);
}