From 09219b8ca12757c183133ced80c8c36c1a11482d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Perret?= Date: Thu, 14 May 2026 09:30:29 +0200 Subject: [PATCH] =?UTF-8?q?fix=20:=20Erreurs=20dans=20la=20s=C3=A9rialisat?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/flutter_assets/NOTICES | 2 ++ lib/app/app.router.dart | 70 ------------------------------------ 2 files changed, 2 insertions(+), 70 deletions(-) diff --git a/build/flutter_assets/NOTICES b/build/flutter_assets/NOTICES index db3abe9..2344e67 100644 --- a/build/flutter_assets/NOTICES +++ b/build/flutter_assets/NOTICES @@ -21113,6 +21113,7 @@ limitations under the License. -------------------------------------------------------------------------------- json_annotation +json_serializable platform Copyright 2017, the Dart project authors. All rights reserved. @@ -24303,6 +24304,7 @@ material_color_utilities -------------------------------------------------------------------------------- mockito +source_helper Apache License diff --git a/lib/app/app.router.dart b/lib/app/app.router.dart index 5d91956..ed75df9 100644 --- a/lib/app/app.router.dart +++ b/lib/app/app.router.dart @@ -23,10 +23,6 @@ class Routes { static const mainView = '/main-view'; - static const homeView = '/home-view'; - - static const eventDetailsView = '/event-details-view'; - static const eventDetailsView = '/event-details-view'; static const all = { @@ -252,39 +248,6 @@ extension NavigatorStateExtension on _i7.NavigationService { transition: transition); } - Future navigateToHomeView({ - _i6.Key? key, - int? routerId, - bool preventDuplicates = true, - Map? parameters, - Widget Function(BuildContext, Animation, Animation, Widget)? - transition, - }) async { - return navigateTo(Routes.homeView, - arguments: HomeViewArguments(key: key), - id: routerId, - preventDuplicates: preventDuplicates, - parameters: parameters, - transition: transition); - } - - Future navigateToEventDetailsView({ - _i6.Key? key, - required int eventId, - int? routerId, - bool preventDuplicates = true, - Map? parameters, - Widget Function(BuildContext, Animation, Animation, Widget)? - transition, - }) async { - return navigateTo(Routes.eventDetailsView, - arguments: EventDetailsViewArguments(key: key, eventId: eventId), - id: routerId, - preventDuplicates: preventDuplicates, - parameters: parameters, - transition: transition); - } - Future navigateToEventDetailsView({ _i6.Key? key, required int eventId, @@ -350,39 +313,6 @@ extension NavigatorStateExtension on _i7.NavigationService { transition: transition); } - Future replaceWithHomeView({ - _i6.Key? key, - int? routerId, - bool preventDuplicates = true, - Map? parameters, - Widget Function(BuildContext, Animation, Animation, Widget)? - transition, - }) async { - return replaceWith(Routes.homeView, - arguments: HomeViewArguments(key: key), - id: routerId, - preventDuplicates: preventDuplicates, - parameters: parameters, - transition: transition); - } - - Future replaceWithEventDetailsView({ - _i6.Key? key, - required int eventId, - int? routerId, - bool preventDuplicates = true, - Map? parameters, - Widget Function(BuildContext, Animation, Animation, Widget)? - transition, - }) async { - return replaceWith(Routes.eventDetailsView, - arguments: EventDetailsViewArguments(key: key, eventId: eventId), - id: routerId, - preventDuplicates: preventDuplicates, - parameters: parameters, - transition: transition); - } - Future replaceWithEventDetailsView({ _i6.Key? key, required int eventId,