Revert selectable text, causing performance issues

This commit is contained in:
Phani Pavan Kambhampati
2023-10-15 09:52:20 +05:30
committed by GitHub
parent a3864b7e70
commit 9fbce74836

View File

@@ -47,8 +47,8 @@ class ItemCard extends StatelessWidget {
),
child: Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [
Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
SelectableText(this.itemName, style: const TextStyle(fontSize: 25)),
SelectableText(this.itemType, style: const TextStyle(fontSize: 15)),
Text(this.itemName, style: const TextStyle(fontSize: 25)),
Text(this.itemType, style: const TextStyle(fontSize: 15)),
]),
vegClassIcon,
]),