fluttercommunity / fluttercommunity/flutter_webview_plugin
How to load font face of Webview in Flutter?
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 938
- PR merge metrics
- No merged PRs in 30d
Description
Hi All,
Here is my code::
var contentWeb ="
[dtup
👉mnkupf;f gpujpepjpfs; mitapd; rghehafuhf ehd;rp ngNyhrp NjHT nra;ag;gl;lhH.
👉Nfhy;ld; FNshg; tpUJ 2019-f;fhd ntw;wpahsHfis
mwptpj;jJ.
👉gd;dhl;L epjpaj;jpd; (Ivk;vg;) Kjy; ngz; jiyikg; nghUshjhu epGzuhf ikR+iu
NrHe;j fPjh Nfhgpehj; epakpf;fg;gl;lhH.
👉,aw;ifapd; tpe;ijfspy; xd;whd R+g;gH g;sl;
Ty;/g; %d; [dtup 20 kw;Wk; 21k; Njjpfspy; epfo;e;jJ.
gpg;utup
👉M];jpNuypahtpy; Rkj;uhd; vd;w mupa tif Gyp 3 Fl;bfis
<d;wJ.
👉Kl;lhs; vd jpl;bajhy; jpUkzk; Mfp %d;Nw epkplj;jpy; fztid tptfhuj;J nra;j
rk;gtk; Fitj;jpy; ele;jJ.
👉If;fpa muG vkpNul;rpd; jiyefH mGjhgpapy; cs;s ePjpkd;wq;fspy;>
,e;jp mYty; nkhopahf mq;fpfupf;fg;gl;lJ.
👉mnkupf;fhtpy; eilngw;w fpuhkp tpUJfs; toq;Fk;
epfo;r;rpapy; ghg; ghlfp Nyb fhfh> gpuhz;b fhHNy MfpNahHf;F %d;W tpUJfs;
toq;fg;gl;lJ.
👉nrt;tha; fpufj;jpy; tPrpa Gay; fhuzkhf fhzhky; Nghd Mg;gHR+dpl;b NuhtH
nkhj;jkhf nraypoe;Jtpl;ljhf ehrh tpQ;Qhdpfs; mjpfhug;G+Htkhf mwptpj;jdH.
👉cyfg;Gfo; ngw;w
jp fp]; Gifg;glj;jpy; ,lk;ngw;w uhZt tPuH [hH[; nkz;Nlhd;rh fhykhdhH.
👉mnkupf;fhtpy;
eilg;ngw;w kp]; ,e;jpa mnkupf;f mofpg; Nghl;bapy; epA+ n[Hrpia NrHe;j fpk; Fkhup mofpahfj; NjHT
nra;ag;gl;lhH.
👉tuyhw;wpNyNa Kjd;Kjyhf xU ngz; J}Jtiu rTjp mNugpah epakdk; nra;jJ.
new WebviewScaffold(
url: Uri.dataFromString(contentWeb,
encoding: Encoding.getByName('utf-8'), mimeType: 'text/html', )
.toString(),
)
It does not convert the content into bamini. I have bamini.ttf and where i have to load it in webviewscaffold.?
Kindly give solution for it..
Thank you.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by examining the WebviewScaffold usage and the Uri.dataFromString call shown in the issue, then determine how the supplied bamini.ttf is expected to be made available to the WebView. Done means the provided HTML content renders in the Bamini font inside the WebView.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100