finished mHund u mLeine fields
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
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/sharedWidgets/datum.dart';
|
||||
import 'package:fforte/screens/sharedWidgets/var_text_field.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -46,6 +47,7 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
title: Text(AppLocalizations.of(context)!.dateandtime),
|
||||
content: Column(
|
||||
children: [
|
||||
// TODO onDateChanged
|
||||
Datum(initDatum: DateTime.now(), onDateChanged: (date) {}),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
@@ -62,21 +64,27 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
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,
|
||||
),
|
||||
required: false,
|
||||
),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
VarTextField(
|
||||
textController: getTextFields()["Dauer"]!,
|
||||
localization: AppLocalizations.of(context)!.dauer,
|
||||
dbName: "Dauer",
|
||||
required: false),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
|
||||
// Hund u Leine
|
||||
HundULeine(onMHundChanged: (mHund, mLeine) {
|
||||
getTextFields()["MHund"]!.text = mHund;
|
||||
getTextFields()["MLeine"]!.text = mLeine;
|
||||
|
||||
print(mHund);
|
||||
print(mLeine);
|
||||
}),
|
||||
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
|
||||
Reference in New Issue
Block a user