emptied abbaudat
This commit is contained in:
@@ -1670,7 +1670,7 @@ class AbbauDat extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _AbbauDatState extends State<AbbauDat> {
|
||||
DateTime? abbauDat = DateTime.now();
|
||||
DateTime? abbauDat;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -1690,9 +1690,13 @@ class _AbbauDatState extends State<AbbauDat> {
|
||||
const SizedBox(
|
||||
width: 10,
|
||||
),
|
||||
Text(
|
||||
'${abbauDat?.day}. ${abbauDat?.month}. ${abbauDat?.year}',
|
||||
),
|
||||
Builder(builder: (context) {
|
||||
if (abbauDat != null) {
|
||||
return Text('${abbauDat?.day}. ${abbauDat?.month}. ${abbauDat?.year}');
|
||||
} else {
|
||||
return Text(AppLocalizations.of(context)!.nichts);
|
||||
}
|
||||
}),
|
||||
]),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user