mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-27 16:24:07 +02:00
fix 'incorrect use of expanded' error
This commit is contained in:
parent
b18e0455e7
commit
7542fb7c44
@ -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,
|
||||
))
|
||||
],
|
||||
))),
|
||||
)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user