web_view_tts
Flutter WebView Android에서 텍스트 음성 변환 지원을 추가하기 위한 플러터 플러그인
Flutter WebView에 Android용 텍스트 음성 변환 지원 추가하기
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Flutter library To add Text-To-Speech Support in Android WebView
Using flutter_inappwebview for WebView and flutter_tts for Android TTS
Import these Libraries in your pubspec.yaml
flutter_inappwebview: ^5.4.3+7
web_view_tts: 0.0.1
Add WebView in your Project , Check flutter_inappwebview docs for setting up WebView
And check flutter_tts docs for adding TTS
in your onLoadStart callback of flutter_inappwebview , add this method
onLoadStart(controller) async {
await WebViewTTS.init(controller: controller);
}
Checkout /example app for more details
The web_view_tts lib supports the following TTS Api's:
This library will add TTS polyfill for android only , because IOS WebView already supports this
This is Just The Initial Version feel free to Contribute or Report any Bug!
의존성 목록 6 개
{"sdk":"flutter"}^2.0.2^5.4.3+7^3.5.1{"sdk":"flutter"}^2.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗