I would like to know how to open links in an in-app browser, just like this:
You can achieve that using flutter_web_browser plugin which opens web page in-app in Android chrome tabs style.
Ex:
body: new Center(
child: new RaisedButton(
onPressed: () => openBrowserTab(),
child: new Text('Open website'),
),
),
openBrowserTab() async {
await FlutterWebBrowser.openWebPage(url: "https://gadgets.ndtv.com/", androidToolbarColor: Colors.deepPurple);
}
Result:
Hope this helps.
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