Fix: index in carousel
This commit is contained in:
@@ -195,7 +195,7 @@ class _DetailPageState extends State<DetailPage> {
|
|||||||
itemBuilder: (context, index, realIdx) {
|
itemBuilder: (context, index, realIdx) {
|
||||||
return Center(
|
return Center(
|
||||||
child: Image.network(
|
child: Image.network(
|
||||||
item!.images[realIdx].url,
|
item!.images[index].url,
|
||||||
width: min(
|
width: min(
|
||||||
550,
|
550,
|
||||||
MediaQuery.sizeOf(context)
|
MediaQuery.sizeOf(context)
|
||||||
|
|||||||
Reference in New Issue
Block a user