insert method

dynamic insert(
  1. OverlayEntry entry, {
  2. OverlayEntry? above,
  3. OverlayEntry? below,
})

Overlay Part

use _navigator.currentState?.overlay as overlay container

Implementation

insert(
  OverlayEntry entry, {
  OverlayEntry? above,
  OverlayEntry? below,
}) {
  _overlay?.insert(entry, above: above, below: below);
}