Sticker has pack id

This commit is contained in:
LittleSheep 2024-08-07 00:56:06 +08:00
parent 98c3bb912d
commit 39c22b1cf6

View File

@ -159,7 +159,16 @@ class _StickerScreenState extends State<StickerScreen> {
builderDelegate: PagedChildBuilderDelegate( builderDelegate: PagedChildBuilderDelegate(
itemBuilder: (BuildContext context, item, int index) { itemBuilder: (BuildContext context, item, int index) {
return ExpansionTile( return ExpansionTile(
title: Text(item.name), title: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(item.name),
const SizedBox(width: 6),
Badge(
label: Text('#${item.id}'),
)
],
),
subtitle: Text( subtitle: Text(
item.description, item.description,
maxLines: 1, maxLines: 1,