date_symbol_data_http_request library
This file should be imported, along with date_format.dart in order to read locale data via http requests to a web server..
Properties
-
availableLocalesForDateFormatting
→ List<
String> -
Hard-coded list of all available locales for dates.
final
Functions
-
initializeDateFormatting(
String locale, String url) → Future< void> -
This should be called for at least one
locale
before any date formatting methods are called. It sets up the lookup for date symbols usingurl
. Theurl
parameter should end with a "/". For example, "http://localhost:8000/dates/"