to laptptop

This commit is contained in:
ImBenji
2024-02-28 04:56:50 +00:00
parent 2ef40e6b27
commit 675c42d2da
19 changed files with 1758 additions and 151 deletions

View File

@@ -48,68 +48,73 @@ class TfL_Dataset_TestState extends State<TfL_Dataset_Test> {
surfaceTintColor: Colors.transparent,
title: Column(
title: Container(
crossAxisAlignment: CrossAxisAlignment.start,
child: Column(
children: [
crossAxisAlignment: CrossAxisAlignment.start,
Text(
"Bus Infotainment",
style: GoogleFonts.montserrat(
fontSize: 20,
fontWeight: FontWeight.bold,
color: Colors.white,
),
),
children: [
Row(
children: [
Text(
"Selected: ",
style: GoogleFonts.montserrat(
fontSize: 15,
fontWeight: FontWeight.w600,
color: Colors.white,
),
Text(
"Bus Infotainment",
style: GoogleFonts.teko(
fontSize: 25,
fontWeight: FontWeight.bold,
color: Colors.white,
height: 1,
),
),
if (liveInformation.getRouteVariant() != null)
Container(
Row(
decoration: BoxDecoration(
color: Colors.black,
children: [
Text(
"Selected: ",
style: GoogleFonts.teko(
fontSize: 20,
fontWeight: FontWeight.w600,
color: Colors.white,
height: 1,
),
),
padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 2),
if (liveInformation.getRouteVariant() != null)
Container(
child: Text(
"${liveInformation.getRouteVariant()!.busRoute.routeNumber} to ${liveInformation.getRouteVariant()!.busStops.last.formattedStopName}",
style: GoogleFonts.montserrat(
fontSize: 15,
decoration: BoxDecoration(
color: Colors.black,
),
padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 2),
child: Text(
"${liveInformation.getRouteVariant()!.busRoute.routeNumber} to ${liveInformation.getRouteVariant()!.busStops.last.formattedStopName}",
style: GoogleFonts.montserrat(
fontSize: 20,
fontWeight: FontWeight.w500,
color: Colors.orange.shade900,
),
),
)
else
Text(
"None",
style: GoogleFonts.teko(
fontSize: 20,
fontWeight: FontWeight.w500,
color: Colors.orange.shade900,
color: Colors.white,
),
),
],
)
else
Text(
"None",
style: GoogleFonts.montserrat(
fontSize: 15,
fontWeight: FontWeight.w500,
color: Colors.white,
),
),
],
)
)
],
],
),
),
) : null,
body: Pages[_selectedIndex],