changed header style in clues title and track

This commit is contained in:
Nico
2025-05-05 22:10:40 +02:00
parent 4672e20968
commit b2fa4375b5
2 changed files with 23 additions and 14 deletions

View File

@@ -230,7 +230,6 @@ class _ExcursionMainState extends State<ExcursionMain> {
content: Column( content: Column(
children: [ children: [
// ---------- Weather // ---------- Weather
// TODO CHANGE TO LOCALIZATION
VarTextField( VarTextField(
textController: getTextFields()["Wetter"]!, textController: getTextFields()["Wetter"]!,
localization: AppLocalizations.of(context)!.wetter, localization: AppLocalizations.of(context)!.wetter,
@@ -292,8 +291,18 @@ class _ExcursionMainState extends State<ExcursionMain> {
height: 20, height: 20,
), ),
const Divider(), const Divider(),
const SizedBox(
height: 20,
),
// ---------- Clues // ---------- Clues
// TODO Add title Align(
alignment: Alignment.bottomLeft,
child: Text(
AppLocalizations.of(context)!.hinweise,
style:
Theme.of(context).textTheme.titleMedium,
),
),
Hinweise( Hinweise(
hinweise: getTextFields()["Hinweise"]!, hinweise: getTextFields()["Hinweise"]!,
), ),

View File

@@ -35,7 +35,7 @@ class StreckeUSpurbedingungenState extends State<StreckeUSpurbedingungen> {
child: Text( child: Text(
"Zurueckgelegte Strecke (km)", "Zurueckgelegte Strecke (km)",
style: style:
TextStyle(fontSize: 16, decoration: TextDecoration.underline), Theme.of(context).textTheme.titleMedium,
)), )),
Row( Row(
children: [ children: [
@@ -90,7 +90,7 @@ class StreckeUSpurbedingungenState extends State<StreckeUSpurbedingungen> {
child: Text( child: Text(
AppLocalizations.of(context)!.spurbedingungen, AppLocalizations.of(context)!.spurbedingungen,
style: style:
TextStyle(fontSize: 16, decoration: TextDecoration.underline), Theme.of(context).textTheme.titleMedium,
), ),
), ),
Row( Row(