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
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('FunMap'),
),
floatingActionButton: AddQuoteFab(),
body: SafeArea(
child: Padding(

View file

@ -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