display ubahn tapes on grid cards

This commit is contained in:
tk 2025-08-17 04:31:12 +02:00
parent 1f2934146e
commit eb5264a553
2 changed files with 3 additions and 6 deletions

View file

@ -13,9 +13,6 @@ class ScreenWidget extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: AppBar(
title: const Text('FunMap'),
),
floatingActionButton: AddQuoteFab(), floatingActionButton: AddQuoteFab(),
body: SafeArea( body: SafeArea(
child: Padding( child: Padding(

View file

@ -7,7 +7,7 @@ class UbahnTape extends StatelessWidget {
super.key, super.key,
this.lat, this.lat,
this.lon, this.lon,
this.rotationDeg = -6, this.rotationDeg = 6,
this.maxLinesShown = 1, this.maxLinesShown = 1,
this.stations = kViennaStationsSample, this.stations = kViennaStationsSample,
}); });
@ -54,7 +54,7 @@ class UbahnTape extends StatelessWidget {
height: 14, height: 14,
alignment: Alignment.center, alignment: Alignment.center,
decoration: BoxDecoration( decoration: BoxDecoration(
color: _U_BLUE, color: _uBlue,
borderRadius: BorderRadius.circular(3), borderRadius: BorderRadius.circular(3),
), ),
child: const Text( child: const Text(
@ -120,7 +120,7 @@ Color _onColor(Color bg) {
: const Color(0xFF111111); : 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); const _kNeutral = Color(0xFF9E9E9E);
// Official-ish line colors // Official-ish line colors