fix 'incorrect use of expanded' error

This commit is contained in:
Mikkel Troels Kongsted 2025-02-10 11:43:27 +01:00
parent b18e0455e7
commit 7542fb7c44

View File

@ -25,8 +25,7 @@ class ProductListItem extends StatelessWidget {
Navigator.of(context)
.push(MaterialPageRoute(builder: (context) => productPage));
},
child: Expanded(
child: Row(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Container(
@ -50,7 +49,7 @@ class ProductListItem extends StatelessWidget {
width: 100,
))
],
))),
)),
);
}
}