Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-App
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
reason
2022-01-01 12:34:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bb6a5cd48f2a11f57e431c424382679cf5d0a82e
bb6a5cd4
1 parent
0ca718dd
增加字体文件
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
assets/fonts/ZhiMangXing-Regular.ttf
lib/category/widgets/category_item.dart
pubspec.yaml
assets/fonts/ZhiMangXing-Regular.ttf
0 → 100644
View file @
bb6a5cd
No preview for this file type
lib/category/widgets/category_item.dart
View file @
bb6a5cd
...
...
@@ -73,7 +73,11 @@ class CategoryItem extends StatelessWidget {
),
],
),
const
Text
(
"京"
,
style:
TextStyle
(
fontSize:
30
)),
const
Text
(
"京"
,
style:
TextStyle
(
fontSize:
30
,
fontFamily:
"ZhiMangXing"
),
),
],
),
Gaps
.
vGap16
,
...
...
pubspec.yaml
View file @
bb6a5cd
...
...
@@ -183,5 +183,8 @@ flutter:
-
family
:
ZCOOLXiaoWei
fonts
:
-
asset
:
assets/fonts/ZCOOLXiaoWei-Regular.ttf
-
family
:
ZhiMangXing
fonts
:
-
asset
:
assets/fonts/ZhiMangXing-Regular.ttf
flutter_intl
:
enabled
:
true
\ No newline at end of file
...
...
Please
register
or
login
to post a comment