Skip to content

Commit

Permalink
Replace pharmacy image with name in dropdown menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Polabiel committed Nov 29, 2024
1 parent 7e9e9ea commit 1a793e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/app/home/profile/stock_update.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ class _StockUpdateState extends State<StockUpdate> {
items: pharmacies.map((PharmacyModels pharmacy) {
return DropdownMenuItem<PharmacyModels>(
value: pharmacy,
child: CircleAvatar(
backgroundImage: NetworkImage(pharmacy.image!),
),
child: Text(pharmacy.name!),
);
}).toList(),
onChanged: (PharmacyModels? newValue) {
Expand Down

0 comments on commit 1a793e8

Please sign in to comment.