After the onAdLoaded callback fires, place the DaroBannerAdWidget in the widget tree.
@overrideWidget build(BuildContext context) { return Column( children: [ // ... other widgets if (_isAdLoaded) DaroBannerAdWidget(ad: bannerAd), ], );}
Placing DaroBannerAdWidget in the widget tree before calling ad.load() will throw a FlutterError. Always mount the widget after the onAdLoaded callback.