update datepicker widget that it can be reused with different name
This commit is contained in:
1 parent
1ed257de27
commit
3553f55a4c
3 files changed
+13
-8
No files matched your search
@@ -48,7 +48,11 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
content: Column(
|
||||
children: [
|
||||
// TODO onDateChanged
|
||||
Datum(initDatum: DateTime.now(), onDateChanged: (date) {}),
|
||||
Datum(
|
||||
initDatum: DateTime.now(),
|
||||
onDateChanged: (date) {},
|
||||
name: AppLocalizations.of(context)!.date,
|
||||
),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
@@ -82,8 +86,8 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
getTextFields()["MHund"]!.text = mHund;
|
||||
getTextFields()["MLeine"]!.text = mLeine;
|
||||
|
||||
print(mHund);
|
||||
print(mLeine);
|
||||
// print(mHund);
|
||||
// print(mLeine);
|
||||
}),
|
||||
|
||||
const SizedBox(
|
||||
|
||||
Reference in new issue
Block a user