Skip to content

asumaroks/easy_web_view

 
 

Repository files navigation

Buy Me A Coffee Donate github pages GitHub stars easy_web_view

easy_web_view

Easy Web Views in Flutter on Web, Mobile and Desktop*!

  • 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

Platforms

  • Web
  • Android
  • iOS
  • Windows

Getting Started

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,
)

iOS/Android

Setup iOS Info.plist:

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

Windows

Follow setup: https://pub.dev/packages/webview_windows

Screenshots

About

Flutter Web Views on Mobile and Web made easy!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 37.1%
  • HTML 21.6%
  • C++ 19.5%
  • CMake 16.3%
  • Ruby 2.4%
  • Swift 1.7%
  • Other 1.4%