File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class _ProjectDetailPageState extends State<ProjectDetailPage>
71
71
if (index < datas.length) {
72
72
return Container (
73
73
margin: EdgeInsets .symmetric (
74
- horizontal: pt (16 ), vertical: pt (6 )),
74
+ horizontal: pt (16 ), vertical: pt (8 )),
75
75
height: pt (180 ),
76
76
child: ProjectItem (datas[index], isloading),
77
77
);
@@ -157,10 +157,11 @@ class _ProjectItemState extends State<ProjectItem>
157
157
});
158
158
}
159
159
lastCollectState = widget.data.collect;
160
- return Card (
161
- elevation: 1 ,
162
- shape: RoundedRectangleBorder (borderRadius: BorderRadius .circular (pt (6 ))),
163
- clipBehavior: Clip .antiAlias,
160
+ return DecoratedBox (
161
+ decoration: BoxDecoration (
162
+ color: Colors .white,
163
+ boxShadow: [DisplayUtil .lightElevation (baseColor: Colors .grey[300 ])],
164
+ ),
164
165
child: GestureDetector (
165
166
onTap: () {
166
167
Navigator .pushNamed (
You can’t perform that action at this time.
0 commit comments