showAdBasedOnName static method

void showAdBasedOnName(
  1. BuildContext context, {
  2. AdCallbacks? callbacks,
  3. String route = "default",
})

Shows the next ad in the rotation configured for route.

Implementation

static void showAdBasedOnName(
  BuildContext context, {
  AdCallbacks? callbacks,
  String route = "default",
}) {
  _showForRoute(route, callbacks);
}