点赞页面

pull/1/head
章文轩 3 years ago
parent 5a68864018
commit fc01e09091

@ -21,6 +21,7 @@ class ThumbsUpCard extends StatelessWidget {
}, },
child: Container( child: Container(
padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 48.w), padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 48.w),
color: Colors.white,
child: Row( child: Row(
children: [ children: [
ClipOval( ClipOval(

@ -33,7 +33,9 @@ class _ThumbsUpViewState extends State<ThumbsUpView> {
itemBuilder: (context, index) { itemBuilder: (context, index) {
return ThumbsUpCard(model: items[index]); return ThumbsUpCard(model: items[index]);
}, },
separatorBuilder: (_, __) => 20.w.heightBox, separatorBuilder: (_, __) =>Container(
color: Color(0xFFF0F0F0),height: 2.w,
),
itemCount: items.length); itemCount: items.length);
}); });
} }

Loading…
Cancel
Save