From fcbf592d10199dbac80198dd8c2efb181f95165e Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Wed, 8 Feb 2023 20:08:23 +0100 Subject: blacklist --- lib/pages/all_routes_page.dart | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'lib/pages/all_routes_page.dart') 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 { try { apiService.getRoutes().then((value) { - debugPrint('xddd 2'); setState(() => {routeInfo = value}); }); } catch (e) { @@ -62,7 +61,7 @@ class _AllRoutesPageState extends State { 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 { 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( -- cgit v1.2.3-70-g09d2