Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gmalpha_flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile
gmalpha_flutter
Commits
82a5a38a
Commit
82a5a38a
authored
Oct 18, 2019
by
郑智刚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表头像修改
parent
691403b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
AttentionListItem.dart
lib/NewMessageModel/page/AttentionListItem.dart
+10
-5
No files found.
lib/NewMessageModel/page/AttentionListItem.dart
View file @
82a5a38a
import
'package:cached_network_image/cached_network_image.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/service/remote/entity/AttentionEntity.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/service/remote/entity/AttentionEntity.dart'
;
...
@@ -29,12 +30,16 @@ class AttentionListItem extends StatelessWidget {
...
@@ -29,12 +30,16 @@ class AttentionListItem extends StatelessWidget {
}
}
Widget
listItemHead
()
{
Widget
listItemHead
()
{
return
Container
(
return
ClipOval
(
margin:
EdgeInsets
.
only
(
right:
ScreenUtil
().
setWidth
(
10.0
)),
child:
Container
(
child:
CircleAvatar
(
color:
ALColors
.
ColorE4E4E4
,
radius:
21.0
,
child:
CachedNetworkImage
(
backgroundImage:
NetworkImage
(
item
.
icon
),
width:
42.0
,
height:
42.0
,
imageUrl:
item
.
icon
,
fit:
BoxFit
.
cover
,
),
),
)
);
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment