fix : Différentes erreurs

This commit is contained in:
Yaël Perret
2026-05-14 16:05:08 +02:00
parent 09219b8ca1
commit a812a70b1d
14 changed files with 26 additions and 460 deletions

View File

@@ -15,7 +15,7 @@ class PostCardWidget extends StatelessWidget {
final VoidCallback? onShare;
const PostCardWidget({
Key? key,
super.key,
required this.title,
required this.content,
required this.authorName,
@@ -28,7 +28,7 @@ class PostCardWidget extends StatelessWidget {
this.onLike,
this.onComment,
this.onShare,
}) : super(key: key);
});
@override
Widget build(BuildContext context) {
@@ -109,7 +109,7 @@ class PostCardWidget extends StatelessWidget {
// Images avec boutons d'action si présentes
if (imageUrls != null && imageUrls!.isNotEmpty)
Container(
SizedBox(
//margin: const EdgeInsets.symmetric(vertical: 12.0),
height: 200,
child: Stack(