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

@@ -229,8 +229,7 @@ class _ExcursionMainState extends State<ExcursionMain> {
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<ExcursionMain> {
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<ExcursionMain> {
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<ExcursionMain> {
height: 20,
),
const Divider(),
// ---------- Track found
// ---------- Track found
SpurGefunden(
spurFund: getTextFields()["SpurFund"]!,
spurLang: getTextFields()["SpurLang"]!,
@@ -276,7 +275,7 @@ class _ExcursionMainState extends State<ExcursionMain> {
const SizedBox(
height: 20,
),
// ---------- Counts
// ---------- Counts
Anzahlen(
losungAnz: getTextFields()["LosungAnz"]!,
losungGes: getTextFields()["LosungGes"]!,
@@ -292,8 +291,18 @@ class _ExcursionMainState extends State<ExcursionMain> {
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<ExcursionMain> {
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<ExcursionMain> {
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<ExcursionMain> {
),
];
// Begin of widget tree
// Begin of widget tree
return Scaffold(
appBar: AppBar(
title: Text(AppLocalizations.of(context)!.excursion),

View File

@@ -35,7 +35,7 @@ class StreckeUSpurbedingungenState extends State<StreckeUSpurbedingungen> {
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<StreckeUSpurbedingungen> {
child: Text(
AppLocalizations.of(context)!.spurbedingungen,
style:
TextStyle(fontSize: 16, decoration: TextDecoration.underline),
Theme.of(context).textTheme.titleMedium,
),
),
Row(