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