diff --git a/lib/screens/Excursion/excursion_main.dart b/lib/screens/Excursion/excursion_main.dart index 419aea2..7d22d3e 100644 --- a/lib/screens/Excursion/excursion_main.dart +++ b/lib/screens/Excursion/excursion_main.dart @@ -229,8 +229,7 @@ class _ExcursionMainState extends State { title: const Text("step2"), content: Column( children: [ - // ---------- Weather - // TODO CHANGE TO LOCALIZATION + // ---------- Weather VarTextField( textController: getTextFields()["Wetter"]!, localization: AppLocalizations.of(context)!.wetter, @@ -239,7 +238,7 @@ class _ExcursionMainState extends State { dbDesignation: DatabasesEnum.excursion, ), const SizedBox(height: 10), - // ---------- Temperature + // ---------- Temperature VarTextField( textController: getTextFields()["Temperat"]!, localization: AppLocalizations.of(context)!.temperatur, @@ -248,10 +247,10 @@ class _ExcursionMainState extends State { dbDesignation: DatabasesEnum.excursion, ), const SizedBox(height: 10), - // ---------- Last precipitation + // ---------- Last precipitation LetzterNiederschlag(controller: getTextFields()["RegenVor"]!), const SizedBox(height: 20), - // ---------- Track conditions + // ---------- Track conditions StreckeUSpurbedingungen( kmAutoController: getTextFields()["KmAuto"]!, kmFussController: getTextFields()["KmFuss"]!, @@ -264,7 +263,7 @@ class _ExcursionMainState extends State { height: 20, ), const Divider(), - // ---------- Track found + // ---------- Track found SpurGefunden( spurFund: getTextFields()["SpurFund"]!, spurLang: getTextFields()["SpurLang"]!, @@ -276,7 +275,7 @@ class _ExcursionMainState extends State { const SizedBox( height: 20, ), - // ---------- Counts + // ---------- Counts Anzahlen( losungAnz: getTextFields()["LosungAnz"]!, losungGes: getTextFields()["LosungGes"]!, @@ -292,8 +291,18 @@ class _ExcursionMainState extends State { height: 20, ), const Divider(), - // ---------- Clues - // TODO Add title + const SizedBox( + height: 20, + ), + // ---------- Clues + Align( + alignment: Alignment.bottomLeft, + child: Text( + AppLocalizations.of(context)!.hinweise, + style: + Theme.of(context).textTheme.titleMedium, + ), + ), Hinweise( hinweise: getTextFields()["Hinweise"]!, ), @@ -304,7 +313,7 @@ class _ExcursionMainState extends State { title: const Text("step3"), content: Column( children: [ - // ---------- Remarks + // ---------- Remarks VarTextField( textController: getTextFields()["Bemerk"]!, localization: AppLocalizations.of(context)!.sonstbemerkungen, @@ -315,7 +324,7 @@ class _ExcursionMainState extends State { const SizedBox( height: 20, ), - // ---------- Internal communication + // ---------- Internal communication VarTextField( textController: getTextFields()["IntKomm"]!, localization: AppLocalizations.of(context)!.intkomm, @@ -328,7 +337,7 @@ class _ExcursionMainState extends State { ), ]; - // Begin of widget tree + // Begin of widget tree return Scaffold( appBar: AppBar( title: Text(AppLocalizations.of(context)!.excursion), diff --git a/lib/screens/Excursion/widgets/strecke_u_spurbedingungen.dart b/lib/screens/Excursion/widgets/strecke_u_spurbedingungen.dart index c1845ad..21b6f55 100644 --- a/lib/screens/Excursion/widgets/strecke_u_spurbedingungen.dart +++ b/lib/screens/Excursion/widgets/strecke_u_spurbedingungen.dart @@ -35,7 +35,7 @@ class StreckeUSpurbedingungenState extends State { child: Text( "Zurueckgelegte Strecke (km)", style: - TextStyle(fontSize: 16, decoration: TextDecoration.underline), + Theme.of(context).textTheme.titleMedium, )), Row( children: [ @@ -90,7 +90,7 @@ class StreckeUSpurbedingungenState extends State { child: Text( AppLocalizations.of(context)!.spurbedingungen, style: - TextStyle(fontSize: 16, decoration: TextDecoration.underline), + Theme.of(context).textTheme.titleMedium, ), ), Row(