mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 08:44:06 +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)
|
Navigator.of(context)
|
||||||
.push(MaterialPageRoute(builder: (context) => productPage));
|
.push(MaterialPageRoute(builder: (context) => productPage));
|
||||||
},
|
},
|
||||||
child: Expanded(
|
child: Row(
|
||||||
child: Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
@ -50,7 +49,7 @@ class ProductListItem extends StatelessWidget {
|
|||||||
width: 100,
|
width: 100,
|
||||||
))
|
))
|
||||||
],
|
],
|
||||||
))),
|
)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user