excursion first step everything except hund
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:animations/animations.dart';
|
||||
import 'package:fforte/screens/Excursion/widgets/bima_nutzer.dart';
|
||||
import 'package:fforte/screens/sharedWidgets/datum.dart';
|
||||
import 'package:fforte/screens/sharedWidgets/var_text_field.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -12,10 +13,8 @@ class ExcursionMain extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _ExcursionMainState extends State<ExcursionMain> {
|
||||
// erste überlegung: map mit textcontrollern und map mit rest. maybe später schauen, dass alles in die eine map und mit instanceoff (in dart version) checken
|
||||
// alles TextEditingController
|
||||
|
||||
String datum = '';
|
||||
// dauer: nachfragen wie gespeichert werden soll und demnach felt machen. Vorerst eingaches Textfeld
|
||||
// TODO:
|
||||
// - Hund dabei u mit leine u fragen was dieses nein textfeld soll
|
||||
// - Input vorgabe fuer dauer feld
|
||||
@@ -25,15 +24,16 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
"Rudel": TextEditingController(),
|
||||
"Teilnehm": TextEditingController(),
|
||||
"Jahr": TextEditingController(),
|
||||
"Dauer_Stungen": TextEditingController(),
|
||||
"Dauer": TextEditingController(),
|
||||
"HundDabei": TextEditingController(),
|
||||
"MitLeine": TextEditingController(),
|
||||
"BLand": TextEditingController(),
|
||||
"Lkr": TextEditingController(),
|
||||
"BeiOrt": TextEditingController(),
|
||||
"BimaNr": TextEditingController(),
|
||||
"BimaName": TextEditingController(),
|
||||
"BimaNutzer": TextEditingController(),
|
||||
"BimAGV": TextEditingController(),
|
||||
|
||||
"BimaAGV": TextEditingController(),
|
||||
};
|
||||
|
||||
return rmap;
|
||||
@@ -55,15 +55,83 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
localization: AppLocalizations.of(context)!.rudel,
|
||||
dbName: "Rudel",
|
||||
required: false),
|
||||
const SizedBox(height: 10,),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
VarTextField(
|
||||
textController: getTextFields()["Teilnehm"]!,
|
||||
localization: AppLocalizations.of(context)!.teilnehmer,
|
||||
dbName: "Teilnehm",
|
||||
required: false,
|
||||
required: false,
|
||||
),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
VarTextField(
|
||||
textController: getTextFields()["Dauer"]!,
|
||||
localization: AppLocalizations.of(context)!.dauer,
|
||||
dbName: "Dauer",
|
||||
required: false),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
VarTextField(
|
||||
textController: getTextFields()["BLand"]!,
|
||||
localization: AppLocalizations.of(context)!.bland,
|
||||
dbName: "BLand",
|
||||
required: false),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
VarTextField(
|
||||
textController: getTextFields()["Lkr"]!,
|
||||
localization: AppLocalizations.of(context)!.lkr,
|
||||
dbName: "Lkr",
|
||||
required: false),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
const SizedBox(height: 10,),
|
||||
VarTextField(textController: getTextFields()["Dauer"]!, localization: AppLocalizations.of(context)!.dauer, dbName: "Dauer", required: false)
|
||||
VarTextField(
|
||||
textController: getTextFields()["BeiOrt"]!,
|
||||
localization: AppLocalizations.of(context)!.beiort,
|
||||
dbName: "BeiOrt",
|
||||
required: false),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
const Divider(),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
VarTextField(
|
||||
textController: getTextFields()["BimaNr"]!,
|
||||
localization: AppLocalizations.of(context)!.bimaNr,
|
||||
dbName: "BimaNr",
|
||||
required: false),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
VarTextField(
|
||||
textController: getTextFields()["BimaName"]!,
|
||||
localization: AppLocalizations.of(context)!.bimaName,
|
||||
dbName: "BimaName",
|
||||
required: false),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
BimaNutzer(onBimaNutzerChanged: (value) {
|
||||
setState(() {
|
||||
getTextFields()["BimaNutzer"]!.text = value;
|
||||
});
|
||||
}),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
VarTextField(
|
||||
textController: getTextFields()["BimaAGV"]!,
|
||||
localization: AppLocalizations.of(context)!.bimaAGV,
|
||||
dbName: "BimaAGV",
|
||||
required: false)
|
||||
],
|
||||
)),
|
||||
const Step(title: Text("step2"), content: Text("data"))
|
||||
|
||||
Reference in New Issue
Block a user