Compare commits
2 commits
e0b571a808
...
f0415a22da
Author | SHA1 | Date | |
---|---|---|---|
f0415a22da | |||
496a1f2857 |
3 changed files with 4 additions and 2 deletions
|
@ -19,6 +19,7 @@ samples, guidance on mobile development, and a full API reference.
|
|||
|
||||
- Einstellungen
|
||||
- darkmode
|
||||
- Secure Storage: https://pub.dev/packages/flutter_secure_storage
|
||||
- Einkauf
|
||||
- Finance
|
||||
- Einkaufskorb editieren
|
||||
|
|
|
@ -10,6 +10,7 @@ class Finance extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
initializeDateFormatting('de_DE');
|
||||
Intl.defaultLocale = 'de_DE';
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
|
@ -67,7 +68,7 @@ class Finance extends StatelessWidget {
|
|||
Text getSubtitle(Transaction transaction) {
|
||||
String text = '${transaction.amount / 100}';
|
||||
text += '€ ';
|
||||
text += DateFormat("EEEE, dd. MMMM yyyy HH:mm", 'de_DE')
|
||||
text += DateFormat("EEEE, dd. MMMM yyyy HH:mm")
|
||||
.format(transaction.date);
|
||||
if (transaction.description != null) {
|
||||
(text += '\n${transaction.description}');
|
||||
|
|
|
@ -10,7 +10,7 @@ class Settings extends StatelessWidget {
|
|||
ListTile(
|
||||
leading: Icon(Icons.dark_mode),
|
||||
title: Text(
|
||||
'Hier könnten Einstellungen zu Darkmode mit shared_preferences und riverpod sein',
|
||||
'Hier könnten Einstellungen zu Darkmode sein',
|
||||
maxLines: 2,
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue