Commit 4a8dbb0e authored by Hans Muller's avatar Hans Muller Committed by GitHub

Add a repaint boundary to the cards on the shrine order page (#5251)

parent 5a0589c7
...@@ -196,9 +196,14 @@ class _OrderPageState extends State<OrderPage> { ...@@ -196,9 +196,14 @@ class _OrderPageState extends State<OrderPage> {
children: config.products children: config.products
.where((Product product) => product != config.order.product) .where((Product product) => product != config.order.product)
.map((Product product) { .map((Product product) {
return new Card( return new RepaintBoundary(
elevation: 0, child: new Card(
child: new Image.asset(product.imageAsset, fit: ImageFit.contain) elevation: 1,
child: new Image.asset(
product.imageAsset,
fit: ImageFit.contain
)
)
); );
}).toList() }).toList()
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment