feat(ui): increase clarity on journey overview

This commit is contained in:
fbachus
2026-08-09 14:42:42 +02:00
parent 7d96cd14b1
commit c45422da3a
+51 -2
View File
@@ -807,10 +807,59 @@ class JourneyList extends StatelessWidget {
return ListView(
children: [
for (Journey jour in journeys)
ListTile(
title: Text('${jour.startStation} to ${jour.endStation}'),
Card(
margin: EdgeInsets.only(
left: 3.0,
top: 3.0,
bottom: 3.0,
right: 3.0,
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.all(
Radius.circular(0.0),
),
),
elevation: 0.3,
clipBehavior: .hardEdge,
child: InkWell(
child: Column(
mainAxisSize: .min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
padding: EdgeInsets.only(
left: 15.0,
top: 7.0,
bottom: 7.0,
right: 10.0,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'${jour.startStation}',
textScaler: TextScaler.linear(1.2),
),
Row(
children: [
Icon(
Icons.arrow_right_alt,
size: 25.0,
),
Text(
'${jour.endStation}',
textScaler: TextScaler.linear(1.2),
),
],
),
],
),
),
],
),
onTap: () => onTapped(jour),
),
),
],
);
}