ainsertAllOverlay function Null safety

  1. @Deprecated('Use `Asuka.ainsertAllOverlay` instead')
void ainsertAllOverlay(
  1. Iterable<OverlayEntry> entries,
  2. {OverlayEntry? below,
  3. OverlayEntry? above,
  4. bool callback = false}
)

Insert all the entries in the given iterable.

If below is non-null, the entries are inserted just below below. If above is non-null, the entries are inserted just above above. Otherwise, the entries are inserted on top.

It is an error to specify both above and below.

Implementation

@Deprecated('Use `Asuka.ainsertAllOverlay` instead')
void ainsertAllOverlay(Iterable<OverlayEntry> entries,
    {OverlayEntry? below, OverlayEntry? above, bool callback = false}) {
  Asuka.ainsertAllOverlay(entries,
      above: above, below: below, callback: callback);
}