fix : Différentes erreurs
This commit is contained in:
@@ -14,7 +14,7 @@ class AnimatorWidget extends StatefulWidget {
|
||||
final double? aspectRatio; // Nouveau paramètre pour le ratio (largeur/hauteur)
|
||||
|
||||
const AnimatorWidget({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.authorName,
|
||||
required this.authorImageUrl,
|
||||
this.publishDate,
|
||||
@@ -26,7 +26,7 @@ class AnimatorWidget extends StatefulWidget {
|
||||
this.onComment,
|
||||
this.onShare,
|
||||
this.aspectRatio, // null = ratio naturel de l'image, ex: 16/9, 4/3, 1/1
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
@override
|
||||
State<AnimatorWidget> createState() => _AnimatorWidgetWidgetState();
|
||||
|
||||
Reference in New Issue
Block a user