You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to customize fonts when using InAppWebView? I'm looking for options to:
Set custom font families for web content displayed in the WebView
Override default system fonts with custom fonts
Load and apply web fonts or local font files
Control font rendering properties (size, weight, etc.)
Context
I'm working with InAppWebView in my Flutter application and need to ensure consistent typography across both native UI components and web content. The default font rendering doesn't match my app's design system.
What I've Tried
i tried to load the base64 font ad put it to the html like this, but it's only worked on IOS.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Is there a way to customize fonts when using InAppWebView? I'm looking for options to:
Context
I'm working with InAppWebView in my Flutter application and need to ensure consistent typography across both native UI components and web content. The default font rendering doesn't match my app's design system.
What I've Tried
i tried to load the base64 font ad put it to the html like this, but it's only worked on IOS.
Environment
Beta Was this translation helpful? Give feedback.
All reactions