Is there a webview in flutter?

I am looking for a webview in flutter. How can I show html content in flutters? In fact, the format of our books is Html, so I need a WebView or a way to parse Html in flutter programming.

+6
source share
4 answers

You can use

> Flame

This is a plugin that allows you to Flutterinteract with your own WebView.

Note. Web browsing is not integrated into the widget tree; it is a natural view on top of the flutter view. you cannot use snackbars, dialogs ...

+2
source

flutter_inappbrowser, Flutter, -, !

Inline WebView: ( 0.5.1) webview Android , AndroidView . , .

+2

html, : flutter_html_view. Flutter -, - .

+1

A flutter plugin that provides a webview widget is now available for preview developers

using

return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter WebView example'),
      ),
      body: const WebView(
        initialUrl: 'https://flutter.io',
        javaScriptMode: JavaScriptMode.unrestricted,
      ),
    );

full code

0
source

Source: https://habr.com/ru/post/1694518/


All Articles