Light Popup Ad Format
- A full-screen ad format.
- Displays an ad as a popup over your app screen.
- Android light popup example

- iOS light popup example

Creating Instance and Setting Callbacks
Create aDaroLightPopupAd instance and set up callbacks.
Loading Ads
Callload() to load an ad.
Showing Ads
Check if the ad is ready withisReady(), then display it with show().
Hide the status bar during iOS ads
Available in Flutter SDK 2.0.5 and later. EnablehideStatusBarDuringFullscreenAd when the status bar overlaps an ad’s close control. It defaults to false and does not change system UI on Android.
SystemUiMode.edgeToEdge by default. Returning from show() does not mean that the ad has ended, so do not restore the status bar immediately after that call.
On iOS with this option enabled, calling load() or show() on the same instance before its ad presentation session ends throws StateError. Do not preload that instance from onAdShown; call load() after onAdDismiss or onAdFailedToShow instead.
If your app normally hides the status bar or uses manual system UI settings, specify the configuration to restore. Flutter has no API for reading the current system UI configuration, so the SDK cannot automatically recover an arbitrary previous configuration.
dispose() while the popup is visible closes it and restores the status bar after dismissal completes.
SystemUiMode.manual requires an overlays list. An empty list requests that all system UI overlays remain hidden.
Overlapping active ad sessions share the first session’s restore configuration, which is applied after the last session ends. If your app changes SystemChrome settings during an ad, the SDK’s restore configuration may be applied afterward.
Releasing Resources
Calldispose() 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
UseDaroLightPopupStyle to customize the UI of light popup ads. Pass Flutter Color objects directly.
Style Properties
Implementation Example
This is an example implementation of DaroLightPopupAd.
This is an example implementation of DaroLightPopupAd.

