Implemented new custom sort and separated the sorted view for each car

This commit is contained in:
Dennis Nemec
2026-01-27 00:21:23 +01:00
parent 08322e6847
commit 366a3560dc
11 changed files with 181 additions and 141 deletions

View File

@ -31,7 +31,7 @@ class TourLoaded extends TourState {
Tour tour;
Map<String, double>? distances;
List<Payment> paymentOptions;
SortingInformationContainer sortingInformation;
Map<String, List<String>> sortingInformation;
TourLoaded({
required this.tour,
@ -44,7 +44,7 @@ class TourLoaded extends TourState {
Tour? tour,
Map<String, double>? distances,
List<Payment>? paymentOptions,
SortingInformationContainer? sortingInformation
Map<String, List<String>>? sortingInformation
}) {
return TourLoaded(
tour: tour ?? this.tour,