mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 18:48:57 +03:30
Fix image carousel
This commit is contained in:
@@ -374,13 +374,14 @@ class ItemDetailsDataBox extends StatelessWidget {
|
||||
},
|
||||
itemCount: datas.filePath!.length,
|
||||
options: CarouselOptions(
|
||||
enlargeCenterPage: false,
|
||||
aspectRatio: 1,
|
||||
viewportFraction: 1,
|
||||
enlargeCenterPage: true,
|
||||
aspectRatio: 16/8,
|
||||
viewportFraction: datas.filePath?.length == 1 ? 1 : 0.6,
|
||||
padEnds: false,
|
||||
pauseAutoPlayOnTouch: true,
|
||||
disableCenter: false,
|
||||
autoPlay: false,
|
||||
enlargeFactor: 0.5,
|
||||
enableInfiniteScroll:
|
||||
datas.filePath?.length == 1 ? false : true,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user