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 -3
View File
@@ -1,8 +1,9 @@
import 'package:flutter/material.dart';
import '../models/tank_model.dart';
//import '../models/tank_model.dart';
import '../models/tank_guru_directus_model.dart';
class DetailHeaderWidget extends StatelessWidget {
final TankModel tank;
final TankGuruDirectusModel tank;
const DetailHeaderWidget({super.key, required this.tank});
@@ -37,7 +38,7 @@ class DetailHeaderWidget extends StatelessWidget {
),
const SizedBox(height: 4),
Text(
tank.szDate,
tank.tankDate!,
style: const TextStyle(
color: Colors.white,
fontSize: 20,
+24
View File
@@ -100,6 +100,30 @@ class MySigninWidget extends StatelessWidget {
),
),
),
SizedBox(height: 20),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 50.0),
child: TextField(
controller: signCtrl.cityController,
keyboardType: TextInputType.emailAddress,
decoration: InputDecoration(
border: OutlineInputBorder(),
labelText: 'City',
),
),
),
SizedBox(height: 20),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 50.0),
child: TextField(
controller: signCtrl.countryController,
keyboardType: TextInputType.emailAddress,
decoration: InputDecoration(
border: OutlineInputBorder(),
labelText: 'Country',
),
),
),
SizedBox(height: 30),
ElevatedButton(
style: ButtonStyle(