mirror of
https://github.com/timokz/flutter-vienna-hackathon-25.git
synced 2025-11-08 19:04:20 +01:00
display ubahn tapes on grid cards
This commit is contained in:
parent
1f2934146e
commit
eb5264a553
2 changed files with 3 additions and 6 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue