How to determine webview height before displaying

Widgets & Design

Hello,

I am currently displaying Google Adsense Ads on my flutterflow app using webview. The problem is that webview requires a specific height, but the height of responsive ads can vary.

Is there a way to determine the height of the ad or container before displaying it? I can use this height to set the height of the webview dynamically.

What have you tried so far?
  1. I am currently getting the ad to display in the webview with a scroll bar.

  2. I have tried the ad banner widget, but it is not appropriate for my responsive ad use case.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
4 replies