localization/local_utils library

Functions

constructLocalizedDateTime(int year, [int month = 1, int day = 1, int hour = 0, int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0]) DateTime
getCurrentLocalizedDateTime() DateTime
getLocalizedDateTime(Object dateTime) DateTime
Converts a DateTime or String to a localized DateTime based on the user's timezone.
getString(String tag, {String? plural, int length = 0, Map<String, String>? params, Map<String, dynamic>? dynamicContext}) String
getStringForLocale(String tag, String locale, {String? plural, int length = 0, Map<String, String>? params}) String