Public Access
feat(ui): declutter appBar information for journeyDetails
This commit is contained in:
+9
-7
@@ -579,13 +579,15 @@ class _JourneyDetailPageState extends State<JourneyDetailPage> {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: ListTile(
|
||||
title: Text(
|
||||
'${widget.singleJourney.startStation} → ${widget.singleJourney.endStation}',
|
||||
),
|
||||
subtitle: Text(
|
||||
'${widget.singleJourney.duration.toString().split(".")[0]}h',
|
||||
),
|
||||
title: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('Connection Details'),
|
||||
Text(
|
||||
'Duration: ${widget.singleJourney.duration.toString().split(".")[0]}h',
|
||||
textScaler: TextScaler.linear(0.7),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
body: Center(
|
||||
|
||||
Reference in New Issue
Block a user