Start to build expense editor screen

This commit is contained in:
2025-07-14 09:42:42 +02:00
parent 951338b6e4
commit 70023242e9
4 changed files with 94 additions and 25 deletions

View File

@ -1,3 +1,8 @@
int secondsSinceEpoch(DateTime time) {
return time.millisecondsSinceEpoch ~/ 1000;
}
}
extension SimpleDateFormatting on DateTime {
String get simpleDate =>
"${day.toString().padLeft(2, "0")}/${month.toString().padLeft(2, '0')}/$year";
}