I want to change the language for the weekdays in intl:
to German. In my code, I do this:
final weekdayFormatter = DateFormat('E');
final date = mostRecentWeekday(_currentDate, 1).add(Duration(days: i)); "<-- Function to get current monday"
...
Text(weekdayFormatter.format(date)),
So I want Mo Di Mi Do which stands for Montag Dienstag Mittwoch [...]
I tried this function: initializeDateFormatting();
but I don't understand what parameters this function needs, especially the path parameter... all posts I were able to found are outdated