feat: 关注页面

This commit is contained in:
guozhigq
2023-07-11 15:17:30 +08:00
parent 88b54c5c2d
commit 522ce60750
9 changed files with 256 additions and 3 deletions

View File

@ -0,0 +1,23 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:pilipala/common/widgets/network_img_layer.dart';
Widget followItem({item}) {
return ListTile(
onTap: () {},
leading: NetworkImgLayer(
width: 38,
height: 38,
type: 'avatar',
src: item.face,
),
title: Text(item.uname),
subtitle: Text(
item.sign,
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
dense: true,
trailing: const SizedBox(width: 6),
);
}