merge
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
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';
|
||||||
|
|
||||||
@@ -90,108 +87,15 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
|||||||
title: Text(AppLocalizations.of(context)!.dateandtime),
|
title: Text(AppLocalizations.of(context)!.dateandtime),
|
||||||
content: Column(
|
content: Column(
|
||||||
children: [
|
children: [
|
||||||
Datum(
|
// Datum feld
|
||||||
initDatum: DateTime.now(),
|
Datum(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;
|
|
||||||
|
|
||||||
// print(mHund);
|
// Terretorium
|
||||||
// print(mLeine);
|
const SizedBox(height: 10,),
|
||||||
}),
|
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