fix : Différentes erreurs
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user