enqueueBanner static method
void
enqueueBanner(
- BuildContext context,
- ContentBuilder content, {
- double? topPadding,
- Duration? duration = const Duration(seconds: 5),
Enqueues a banner to be displayed by the OverlayManager.
Banners are shown one by one in the order they are enqueued.
Implementation
static void enqueueBanner(
BuildContext context,
ContentBuilder content, {
double? topPadding,
Duration? duration = const Duration(seconds: 5),
}) => OverlayManager.enqueueBanner(
context,
content: content,
topPadding: topPadding,
duration: duration,
);