getContentWidth method

Future<int?> getContentWidth()

Gets the width of the HTML content.

NOTE for Android: it is implemented using JavaScript.

NOTE for Web: this method will have effect only if the iframe has the same origin.

NOTE for MacOS: it is implemented using JavaScript.

Officially Supported Platforms/Implementations:

Implementation

Future<int?> getContentWidth() => platform.getContentWidth();