viel
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
import 'package:animations/animations.dart';
|
import 'package:animations/animations.dart';
|
||||||
|
import 'package:fforte/screens/Excursion/widgets/bima_nutzer.dart';
|
||||||
|
import 'package:fforte/screens/Excursion/widgets/hund_u_leine.dart';
|
||||||
|
import 'package:fforte/screens/Excursion/widgets/letzter_niederschlag.dart';
|
||||||
import 'package:fforte/screens/sharedWidgets/datum.dart';
|
import 'package:fforte/screens/sharedWidgets/datum.dart';
|
||||||
/import 'package:fforte/screens/sharedWidgets/var_text_field.dart';
|
import 'package:fforte/screens/sharedWidgets/var_text_field.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||||
|
|
||||||
@@ -78,7 +81,7 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
|||||||
return rmap;
|
return rmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
int currentStep = 0;
|
int currentStep = 0;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
@@ -87,15 +90,108 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
|||||||
title: Text(AppLocalizations.of(context)!.dateandtime),
|
title: Text(AppLocalizations.of(context)!.dateandtime),
|
||||||
content: Column(
|
content: Column(
|
||||||
children: [
|
children: [
|
||||||
// Datum feld
|
Datum(
|
||||||
Datum(initDatum: DateTime.now(),
|
initDatum: DateTime.now(),
|
||||||
onDateChanged: (date) {
|
onDateChanged: (date) {
|
||||||
|
getTextFields()["LogDat"]!.text = date.toString();
|
||||||
}),
|
},
|
||||||
|
name: AppLocalizations.of(context)!.date,
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
VarTextField(
|
||||||
|
textController: getTextFields()["Rudel"]!,
|
||||||
|
localization: AppLocalizations.of(context)!.rudel,
|
||||||
|
dbName: "Rudel",
|
||||||
|
required: false),
|
||||||
|
const SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
VarTextField(
|
||||||
|
textController: getTextFields()["Teilnehm"]!,
|
||||||
|
localization: AppLocalizations.of(context)!.teilnehmer,
|
||||||
|
dbName: "Teilnehm",
|
||||||
|
required: false,
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
VarTextField(
|
||||||
|
textController: getTextFields()["Dauer"]!,
|
||||||
|
localization: AppLocalizations.of(context)!.dauer,
|
||||||
|
dbName: "Dauer",
|
||||||
|
required: false),
|
||||||
|
const SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
HundULeine(onMHundChanged: (mHund, mLeine) {
|
||||||
|
getTextFields()["MHund"]!.text = mHund;
|
||||||
|
getTextFields()["MLeine"]!.text = mLeine;
|
||||||
|
|
||||||
// Terretorium
|
// print(mHund);
|
||||||
const SizedBox(height: 10,),
|
// print(mLeine);
|
||||||
VarTextField(textController: getTextFields()["Rudel"]!, localization: localization, dbName: dbName, required: required)
|
}),
|
||||||
|
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,
|
||||||
|
),
|
||||||
|
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)
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user