Locale data has not been initialized
istepler opened this issue · 2 comments
istepler commented
Hi, thanks for very good library. But I have the issue. I am new in Flutter, so maybe doing smth wrong.
Implemented the last library version with locale, but get an error
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following LocaleDataException was thrown building DateWidget(dirty):
Locale data has not been initialized, call initializeDateFormatting().
iamvivekkaushik commented
Hi @istepler, thanks for letting me know about the issue. You aren't doing anything wrong, I forgot to initialize the DateFormatting in the previous version. I have fixed the issue and will publish it now.
istepler commented
Thanks! Very quick work