feat : post respect ratio and height

This commit is contained in:
Yaël Perret
2025-08-26 22:32:11 +02:00
parent 174f86e581
commit 1332fddeeb
3 changed files with 634 additions and 76 deletions

View File

@@ -214,6 +214,7 @@ class EventDetailsView extends StackedView<EventDetailsViewModel> {
imageUrls: index % 3 == 0 ? ['assets/images/Affiche.jpg'] : null,
likesCount: (index + 1) * 5,
commentsCount: (index + 1) * 2,
aspectRatio: 4/5,
onLike: () {
// Action lors du clic sur "J'aime"
print('Like publication ${index + 1}');