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
2021-12-30 16:28:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0c77a6050e530d98b272d2e4cf7dbae780d3dc1a
0c77a605
1 parent
c4c86519
update icon text
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
5 deletions
lib/category/widgets/category_item.dart
pubspec.lock
lib/category/widgets/category_item.dart
View file @
0c77a60
...
...
@@ -57,10 +57,26 @@ class CategoryItem extends StatelessWidget {
mainAxisSize:
MainAxisSize
.
max
,
//交叉轴的布局方式,对于column来说就是水平方向的布局方式
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
const
<
Widget
>[
Text
(
"此地"
),
Text
(
"北京 海淀 万泉庄"
,
maxLines:
3
,),
Text
(
"京"
,
style:
TextStyle
(
fontSize:
30
)),
children:
<
Widget
>[
const
Text
(
"此地"
),
// Icon(
// Icons.query_builder_outlined,
// size: 15.0,
// ),
Wrap
(
crossAxisAlignment:
WrapCrossAlignment
.
center
,
children:
const
[
Icon
(
Icons
.
room_outlined
,
size:
15.0
,
),
Text
(
"北京 海淀 万泉庄"
,
maxLines:
3
,
),
],
),
const
Text
(
"京"
,
style:
TextStyle
(
fontSize:
30
)),
],
),
Gaps
.
vGap16
,
...
...
@@ -68,7 +84,10 @@ class CategoryItem extends StatelessWidget {
"前不见古人,后不见来者。
\n
念天地之悠悠,独怆然而涕下。
\n
"
,
style:
TextStyle
(
fontSize:
22.0
,
fontFamily:
"ZCOOLXiaoWei"
),
),
const
Text
(
"[唐] 陈子昂《登幽州台歌》"
,
maxLines:
1
,),
const
Text
(
"[唐] 陈子昂《登幽州台歌》"
,
maxLines:
1
,
),
],
),
),
...
...
pubspec.lock
View file @
0c77a60
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment