diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-02-08 20:08:23 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-02-08 20:08:23 +0100 |
| commit | fcbf592d10199dbac80198dd8c2efb181f95165e (patch) | |
| tree | 4fd50f1bf1c65c7180f1f3b7d64fc1603bf9be73 /lib/pages/all_routes_page.dart | |
| parent | e37d74527e03b6a804a35cbfb0956d4e0100889f (diff) | |
blacklist
Diffstat (limited to 'lib/pages/all_routes_page.dart')
| -rw-r--r-- | lib/pages/all_routes_page.dart | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/lib/pages/all_routes_page.dart b/lib/pages/all_routes_page.dart index d3c1637..58a580e 100644 --- a/lib/pages/all_routes_page.dart +++ b/lib/pages/all_routes_page.dart @@ -27,7 +27,6 @@ class _AllRoutesPageState extends State<AllRoutesPage> { try { apiService.getRoutes().then((value) { - debugPrint('xddd 2'); setState(() => {routeInfo = value}); }); } catch (e) { @@ -62,7 +61,7 @@ class _AllRoutesPageState extends State<AllRoutesPage> { padding: const EdgeInsets.only(bottom: 8, left: 10, right: 10), child: Container( decoration: BoxDecoration( - color: Color.fromARGB(40, 0, 0, 0), + color: Color.fromARGB(80, 0, 0, 0), border: Border.all(color: Color.fromARGB(160, 0, 0, 0)), borderRadius: BorderRadius.all(Radius.circular(4))), child: Padding( @@ -71,13 +70,23 @@ class _AllRoutesPageState extends State<AllRoutesPage> { crossAxisAlignment: CrossAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.start, children: [ - Text( - 'Route ' + route.tripNumber.toString(), - textAlign: TextAlign.center, - style: TextStyle( - color: Colors.white, - fontWeight: FontWeight.bold, - fontSize: 24), + Column( + children: [ + Text( + 'Route ' + route.tripNumber.toString(), + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.bold, + fontSize: 24), + ), + Text( + route.tripPdaStatusDescription ?? '', + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.w300, + fontSize: 16), + ), + ], ), Expanded( child: Padding( |
