Umbau auf directus API Rest Service

This commit is contained in:
2026-09-25 16:44:42 +02:00
parent 7ddcdf71bc
commit 84724ef10f
22 changed files with 570 additions and 274 deletions
+4 -4
View File
@@ -144,7 +144,7 @@ class HomePage extends GetView<HomeController> {
CrossAxisAlignment.start,
children: [
Text(
tank.szDate,
tank.tankDate!,
style: const TextStyle(
fontSize: 16,
fontWeight:
@@ -153,7 +153,7 @@ class HomePage extends GetView<HomeController> {
),
const SizedBox(height: 2),
Text(
'${tank.szLiters} Liter',
'${tank.liter!} Liter',
style: TextStyle(
fontSize: 14,
color: Colors.grey[600],
@@ -198,12 +198,12 @@ class HomePage extends GetView<HomeController> {
_buildInfoChip(
icon: Icons.euro,
label: 'Preis/L',
value: '${tank.szPricePerLiter}€',
value: '${tank.pricePerLiter!}€',
),
_buildInfoChip(
icon: Icons.speed,
label: 'Km-Stand',
value: '${tank.szOdometer} km',
value: '${tank.odometer!} km',
),
],
),