Erweiterungen
This commit is contained in:
1 parent
2e53482a3c
commit
c21633e0d2
3 files changed
+117
-8
No files matched your search
@@ -71,6 +71,8 @@ class _AcceptedJobsPageState extends State<AcceptedJobsPage> {
|
||||
List<Widget> jobWidgets = [];
|
||||
|
||||
for (var job in _jobs) {
|
||||
var vehicleImage = "assets/${mapVehicleTypeToImageName(job.vhtId)}";
|
||||
|
||||
jobWidgets.add(
|
||||
ListTile(
|
||||
onTap: () {
|
||||
@@ -92,15 +94,15 @@ class _AcceptedJobsPageState extends State<AcceptedJobsPage> {
|
||||
textAlign: TextAlign.left,
|
||||
),
|
||||
Text(
|
||||
job.crFilter != null ? job.crFilter.toString() : "Kein CR-Filter vorhanden",
|
||||
job.crFilter != null ? job.crFilter.toString() : "",
|
||||
textAlign: TextAlign.left,
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
const Icon(Icons.arrow_back, size: 30.0, color: Colors.black),
|
||||
Image.asset("assets/${mapVehicleTypeToImageName(job.vhtId)}", width: 60, height: 60),
|
||||
const SizedBox(width: 10),
|
||||
Text(
|
||||
job.vhtId.toString()
|
||||
mapVehicleTypeToText(job.vhtId)
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user