fluttercommunity / fluttercommunity/flutter_webview_plugin
Display Html Content with font
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 938
- PR merge metrics
- No merged PRs in 30d
Description
In android, I am using this for loading the string into the webview, In flutter, I can load the string but unable to add a font.
`String bodyFont = " body { font-size:20px; } table { font-size:20px; <font face='bamini' > }" + " @font-face { font-family:'bamini'; src: url('file:///android_asset/baamini.ttf') } ";`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Android WebView load with the provided HTML/CSS string and the baamini.ttf asset path. Verify the rendered content and font behavior; done means the HTML displays with the requested Bamini font. No source file or test is named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100