From 1a793e8300701d5825dfc3842424312fd811ce8f Mon Sep 17 00:00:00 2001 From: Polabiel Date: Fri, 29 Nov 2024 13:10:06 -0300 Subject: [PATCH] Replace pharmacy image with name in dropdown menu --- lib/src/app/home/profile/stock_update.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/src/app/home/profile/stock_update.dart b/lib/src/app/home/profile/stock_update.dart index 1e72e39..fad696a 100644 --- a/lib/src/app/home/profile/stock_update.dart +++ b/lib/src/app/home/profile/stock_update.dart @@ -63,9 +63,7 @@ class _StockUpdateState extends State { items: pharmacies.map((PharmacyModels pharmacy) { return DropdownMenuItem( value: pharmacy, - child: CircleAvatar( - backgroundImage: NetworkImage(pharmacy.image!), - ), + child: Text(pharmacy.name!), ); }).toList(), onChanged: (PharmacyModels? newValue) {