currentDateFormatted property

String get currentDateFormatted

Implementation

String get currentDateFormatted {
  final now = DateTime.now();
  return "${now.year}-${now.month.toString().padLeft(2, '0')}-${now.day.toString().padLeft(2, '0')}";
}