addOverlay function Null safety
- @Deprecated('Use `Asuka.addOverlay` instead')
- OverlayEntry entry,
- {OverlayEntry? below,
- OverlayEntry? above,
- bool callback = false}
Insert the given entry into the overlay.
If below is non-null, the entry is inserted just below below.
If above is non-null, the entry is inserted just above above.
Otherwise, the entry is inserted on top.
It is an error to specify both above and below.
Implementation
@Deprecated('Use `Asuka.addOverlay` instead')
void addOverlay(OverlayEntry entry,
{OverlayEntry? below, OverlayEntry? above, bool callback = false}) {
Asuka.addOverlay(entry, above: above, below: below, callback: callback);
}