Closed FernandaMayumi closed 4 years ago
See here.
DayView(
date: DateTime.now(),
events: [],
dateFormatter: (year, month, day) => year.toString() + '/' + addLeadingZero(month) + '/' + addLeadingZero(day),
);
With the addLeadingZero
function looking like this :
String addLeadingZero(int number) => (number < 10 ? '0' : '') + number.toString();
It helped me, thank you!
Could you write an example of what the dateFormatter entry would look like?