Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-21 22:38:47 +08:00
parent a1555826c3
commit 17568c8c27
43 changed files with 818 additions and 932 deletions

View File

@@ -112,6 +112,7 @@ class _SharePanelState extends State<SharePanel> {
itemCount: _userList.length,
controller: _scrollController,
childBuilder: (index) {
final item = _userList[index];
return GestureDetector(
onTap: () {
_selectedIndex = index;
@@ -131,13 +132,13 @@ class _SharePanelState extends State<SharePanel> {
child: NetworkImgLayer(
width: 40,
height: 40,
src: _userList[index].avatar,
src: item.avatar,
type: ImageType.avatar,
),
),
const SizedBox(height: 2),
Text(
_userList[index].name,
item.name,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(fontSize: 12),