Skip to main content

Light Popup Ad Format

  • A full-screen ad format.
  • Displays an ad as a popup over your app screen.
  • Android light popup example
Android Light Popup Example Pn
  • iOS light popup example
Ios Light Popup Example Pn

Creating Instance and Setting Callbacks

Create a DaroLightPopupAd instance and set up callbacks.

Loading Ads

Call load() to load an ad.

Showing Ads

Check if the ad is ready with isReady(), then display it with show().

Releasing Resources

Call dispose() to release resources when done, including from your widget’s State.dispose(). Create a new instance instead of reusing one after disposal. Create the ad instance in initState() and keep it when rotation causes build() to run again. An orientation change alone does not require another ad load. The native SDK adjusts the existing ad’s layout, following the orientations supported by your app.

Style Customization

Use DaroLightPopupStyle to customize the UI of light popup ads. Pass Flutter Color objects directly.

Style Properties

Implementation Example