update datepicker widget that it can be reused with different name
This commit is contained in:
@@ -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