rodydavis/easy_web_view
모바일 및 웹에서 플러터 웹 뷰를 쉽게 사용하세요!
- Stars
- 181
- Forks
- 97
- 최근 푸시(UTC)
- 2024. 8. 21.
- 프로젝트 상태
- 활성
언어DartHTMLC++CMakeRubySwiftCKotlinObjective-C
기술 주제
사용 중인 의존성
의존성 목록 12 개
- flutter
{"sdk":"flutter"} - flutter_markdown
^0.7.3+1 - flutter_widget_from_html
^0.15.1 - html2md
^1.2.5 - http
^1.2.2 - markdown
^7.2.2 - permission_handler
^11.3.1 - url_launcher
^6.0.12 - webview_flutter
^4.9.0 - webview_windows
^0.4.0 - flutter_test개발 의존성
{"sdk":"flutter"} - flutter_lints개발 의존성
^4.0.0
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
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
- [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!
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