Feat: Passt App für kleinere Bildschirme an

This commit is contained in:
2026-01-05 17:22:08 +01:00
parent a535603924
commit 531e819c69
4 changed files with 207 additions and 101 deletions

View File

@@ -20,27 +20,29 @@ class Dashboard extends StatelessWidget {
body: SafeArea(
child: Padding(
padding: EdgeInsets.symmetric(horizontal: 16, vertical: 24),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
CurrentBalance(),
SizedBox(height: 32),
child: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
CurrentBalance(),
SizedBox(height: 32),
Text(
'Kontostand pro Monat',
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
),
SizedBox(height: 12),
MonthlyBalanceChart(),
Text(
'Kontostand pro Monat',
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
),
SizedBox(height: 12),
MonthlyBalanceChart(),
SizedBox(height: 32),
Text(
'Letzte Transaktionen',
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
),
SizedBox(height: 12),
RecentTransactionsList(),
],
SizedBox(height: 32),
Text(
'Letzte Transaktionen',
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
),
SizedBox(height: 12),
RecentTransactionsList(),
],
),
),
),
),