Comments (3)
可以看下flutter指定字体文档
https://flutter.cn/docs/cookbook/design/fonts
from network_proxy_flutter.
可以看下flutter指定字体文档 https://flutter.cn/docs/cookbook/design/fonts
我这里是个UOS的设备,目前的环境是Flutter 3.14.0-0.2.pre,现在的问题是,我编译的多个flutter都无法显示字体。经测试,直接为themeData赋值fontFamily: 'Noto Sans CJK SC',就可以正确显示,但使用textTheme的fontFamily就是无效的。我不知道为什么。
然而themeData的copyWith并不支持直接使用fontFamily,这导致一旦项目使用了复杂的themeData实现,我浅薄的flutter知识就不会改了,您这个我就不会改。。。。。
我不知道这是不是flutter的bug,还是系统的兼容性。我只想编译几个项目而已。
from network_proxy_flutter.
去Flutter社区提问吧,字体我研究的也不多
我这里是个UOS的设备,目前的环境是Flutter 3.14.0-0.2.pre,现在的问题是,我编译的多个flutter都无法显示字体。经测试,直接为themeData赋值fontFamily: 'Noto Sans CJK SC',就可以正确显示,但使用textTheme的fontFamily就是无效的。我不知道为什么。 然而themeData的copyWith并不支持直接使用fontFamily,这导致一旦项目使用了复杂的themeData实现,我浅薄的flutter知识就不会改了,您这个我就不会改。。。。。 我不知道这是不是flutter的bug,还是系统的兼容性。我只想编译几个项目而已。
from network_proxy_flutter.
Related Issues (20)
- [Android ] Request to add tab swipe HOT 3
- 请求重定向【Android】bug HOT 1
- 希望能够添加对js脚本临时数据存储的支持 HOT 3
- [Bug]无法识别大写gzip HOT 1
- 安卓端,在历史记录里面,没有搜索功能,也没有多选功能 HOT 2
- [Android]不能很好的支持中文或者相关的符号 HOT 6
- 编辑重放后,主页里不生成请求条目 HOT 4
- 软件无法进行二级搜索 HOT 7
- 交流群进不去啊 HOT 3
- lsposed announced that it will stop updating, and the official warehouse has been archived
- 安卓搜索功能,希望搜索词能高亮
- [Mac]最近使用了脚本功能后,应用经常无响应 HOT 4
- [Android]选择目标抓包时,程序未知错误闪退 HOT 1
- [Android]抓m3u8后,保存历史后打开历史出现界面异常的问题 HOT 3
- [Android] 深色模式 WebSocket 亮色底 白色字 看不清 HOT 1
- json解析格式缩进能不能改为4个空格,2个空格不好分辨 HOT 3
- Windows有些请求会报HandshakeException: Handshake error in server HOT 1
- 添加控制是否启用界面动画 HOT 2
- [Windows]win11系统软件主界面切换到二次弹窗界面后界面白屏
- 请教大佬一个build的问题 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from network_proxy_flutter.