Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodydavis/easy_web_view
Flutter Web Views on Mobile and Web made easy!
https://github.com/rodydavis/easy_web_view
flutter html markdown webview
Last synced: 3 days ago
JSON representation
Flutter Web Views on Mobile and Web made easy!
- Host: GitHub
- URL: https://github.com/rodydavis/easy_web_view
- Owner: rodydavis
- License: mit
- Created: 2019-11-18T17:49:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-21T14:33:16.000Z (5 months ago)
- Last Synced: 2025-01-20T07:04:49.224Z (10 days ago)
- Topics: flutter, html, markdown, webview
- Language: Dart
- Homepage: https://rodydavis.github.io/easy_web_view/
- Size: 20.3 MB
- Stars: 182
- Watchers: 3
- Forks: 94
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![Buy Me A Coffee](https://img.shields.io/badge/Donate-Buy%20Me%20A%20Coffee-yellow.svg)](https://www.buymeacoffee.com/rodydavis)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WSH3GVC49GNNJ)
![github pages](https://github.com/rodydavis/easy_web_view/workflows/github%20pages/badge.svg)
[![GitHub stars](https://img.shields.io/github/stars/rodydavis/easy_web_view?color=blue)](https://github.com/rodydavis/easy_web_view)
[![easy_web_view](https://img.shields.io/pub/v/easy_web_view.svg)](https://pub.dev/packages/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 keyOnline Demo: https://rodydavis.github.io/easy_web_view
## Platforms
- [X] Web
- [X] Android
- [X] iOS
- [X] MacOS
- [X] Windows
- [ ] Linux## Getting Started
For Loading a new url or changing width/height just call setState!
```dart
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/MacOS/Android
Follow setup: https://pub.dev/packages/webview_flutter
### Windows
Follow setup: https://pub.dev/packages/webview_windows
## Screenshots
![](https://github.com/rodydavis/easy_web_view/blob/master/doc/screenshots/mobile.png?raw=true)
![](https://github.com/rodydavis/easy_web_view/blob/master/doc/screenshots/web.png?raw=true)
![](https://github.com/rodydavis/easy_web_view/blob/master/doc/screenshots/windows.png?raw=true)