easy_web_view2 0.0.3
easy_web_view2: ^0.0.3 copied to clipboard

A super simple webview for Flutter Web and Mobile from @rodydavis (Null safety and updated dependencies)

easy_web_view2 #

Easy Web Views in Flutter on Web and Mobile!

This is an updated version from Rody Davis: https://github.com/rodydavis/easy_web_view

  • Supports HTML Content or a Single Element
  • Supports Markdown Source
  • Supports convert to Flutter widgets
  • Supports remote download of url
  • Markdown -> Html
  • Html -> Markdown
  • Supports change in url
  • Selectable Text
  • Supports multiple views on the same screen if you provide a unique key

Online Demo: https://rodydavis.github.io/easy_web_view

Getting Started #

Setup iOS Info.plist

<key>io.flutter.embedded_views_preview</key>
<true/>

For Loading a new url or changing width/height just call setState!

 EasyWebView(
  src: src,
  isHtml: false, // Use Html syntax
  isMarkdown: false, // Use markdown syntax
  convertToWidgets: false, // Try to convert to flutter widgets
  // width: 100,
  // height: 100,
)
4
likes
120
pub points
64%
popularity

Publisher

Unknown

A super simple webview for Flutter Web and Mobile from @rodydavis (Null safety and updated dependencies)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_markdown, html2md, http, markdown, permission_handler, url_launcher, webview_flutter

More

Packages that depend on easy_web_view2