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

@@ -8,7 +8,7 @@ import 'package:bahla_front/ui/common/post_card_widget.dart';
class EventDetailsView extends StackedView<EventDetailsViewModel> {
final int eventId;
const EventDetailsView({Key? key, required this.eventId}) : super(key: key);
const EventDetailsView({super.key, required this.eventId});
@override
Widget builder(
@@ -32,7 +32,7 @@ class EventDetailsView extends StackedView<EventDetailsViewModel> {
SliverToBoxAdapter(
child: Column(
children: [
Container(
SizedBox(
width: double.infinity,
height: MediaQuery.of(context).size.width * 9 / 16,
child: const Image(
@@ -56,7 +56,7 @@ class EventDetailsView extends StackedView<EventDetailsViewModel> {
),
const SizedBox(height: 16),
Center(
child: Container(
child: SizedBox(
width: MediaQuery.of(context).size.width * 0.8,
child: Table(
columnWidths: const {
@@ -153,7 +153,7 @@ class EventDetailsView extends StackedView<EventDetailsViewModel> {
padding: const EdgeInsets.symmetric(vertical: 4.0),
child: Align(
alignment: Alignment.centerLeft,
child: Container(
child: SizedBox(
width: 40,
height: 40,
child: Image.asset(