I want to achieve something like this in flutter webview.

but getting something like this.

how Can I achieve that first image kind of webview which will scale down the page.
You will have to set useWidePortView to true.
Widget build(BuildContext context) {
return WebviewScaffold(
initialChild: Loading(),
appBar: AppBar(
title: Text(title),
),
url: url,
withZoom: true,
scrollBar: true,
withJavascript: true,
useWideViewPort: true,
);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With