align title text left

This commit is contained in:
2025-08-03 13:13:11 +02:00
parent bcc71b4539
commit 20a8a933b6

View File

@@ -25,11 +25,13 @@ class _HomeViewState extends State<HomeView> {
body: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
const Text(
'Zuletzt verwendete Gruppen',
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
Align(
alignment: Alignment.centerLeft,
child: const Text(
'Zuletzt verwendete Gruppen',
style: TextStyle(fontSize: 17, fontWeight: FontWeight.bold),
),
),
const SizedBox(height: 8),
PrimaryContainer(
@@ -74,9 +76,12 @@ class _HomeViewState extends State<HomeView> {
),
),
const SizedBox(height: 24),
const Text(
'Zuletzt gespielte Spiele',
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
Align(
alignment: Alignment.centerLeft,
child: const Text(
'Zuletzt gespielte Spiele',
style: TextStyle(fontSize: 17, fontWeight: FontWeight.bold),
),
),
const SizedBox(height: 8),
PrimaryContainer(
@@ -121,9 +126,12 @@ class _HomeViewState extends State<HomeView> {
),
),
const SizedBox(height: 24),
const Text(
'Lieblingsspiel nicht gefunden?',
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
Align(
alignment: Alignment.centerLeft,
child: const Text(
'Lieblingsspiel nicht gefunden?',
style: TextStyle(fontSize: 17, fontWeight: FontWeight.bold),
),
),
const SizedBox(height: 8),
PrimaryContainer(