From eb5264a5533a4f4e2bbd8e2898ba02a1df6cd85a Mon Sep 17 00:00:00 2001 From: tk Date: Sun, 17 Aug 2025 04:31:12 +0200 Subject: [PATCH] display ubahn tapes on grid cards --- .../wien_talks_flutter/lib/widgets/screen_widget.dart | 3 --- wien_talks/wien_talks_flutter/lib/widgets/ubahn_tape.dart | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/wien_talks/wien_talks_flutter/lib/widgets/screen_widget.dart b/wien_talks/wien_talks_flutter/lib/widgets/screen_widget.dart index 981a777..e1e43bb 100644 --- a/wien_talks/wien_talks_flutter/lib/widgets/screen_widget.dart +++ b/wien_talks/wien_talks_flutter/lib/widgets/screen_widget.dart @@ -13,9 +13,6 @@ class ScreenWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('FunMap'), - ), floatingActionButton: AddQuoteFab(), body: SafeArea( child: Padding( diff --git a/wien_talks/wien_talks_flutter/lib/widgets/ubahn_tape.dart b/wien_talks/wien_talks_flutter/lib/widgets/ubahn_tape.dart index 66a4c4a..59a2d6f 100644 --- a/wien_talks/wien_talks_flutter/lib/widgets/ubahn_tape.dart +++ b/wien_talks/wien_talks_flutter/lib/widgets/ubahn_tape.dart @@ -7,7 +7,7 @@ class UbahnTape extends StatelessWidget { super.key, this.lat, this.lon, - this.rotationDeg = -6, + this.rotationDeg = 6, this.maxLinesShown = 1, this.stations = kViennaStationsSample, }); @@ -54,7 +54,7 @@ class UbahnTape extends StatelessWidget { height: 14, alignment: Alignment.center, decoration: BoxDecoration( - color: _U_BLUE, + color: _uBlue, borderRadius: BorderRadius.circular(3), ), child: const Text( @@ -120,7 +120,7 @@ Color _onColor(Color bg) { : const Color(0xFF111111); } -const _U_BLUE = Color(0xFF1E88E5); // Vienna U sign-ish blue +const _uBlue = Color(0xFF1E88E5); // Vienna U sign-ish blue const _kNeutral = Color(0xFF9E9E9E); // Official-ish line colors