formatters library

Functions

dateFormatAbbreviatedMonthDay(BuildContext context) → DateFormat
Date formatter with abbreviated month and day.
dateFormatMonthYear(BuildContext context) → DateFormat
Date formatter with year and abbreviated month.
locale(BuildContext context) String
Get the locale string for the context.
longDateFormat(BuildContext context) → DateFormat
Date formatter with year / month / day.
percentFormat(BuildContext context, {int decimalDigits = 2}) → NumberFormat
Percent formatter with two decimal points.
shortDateFormat(BuildContext context) → DateFormat
Date formatter with year / number month / day.
usdWithSignFormat(BuildContext context, {int decimalDigits = 2}) → NumberFormat
Currency formatter for USD.