MaterialLocalizationZh constructor

const MaterialLocalizationZh({
  1. String localeName = 'zh',
  2. required DateFormat fullYearFormat,
  3. required DateFormat compactDateFormat,
  4. required DateFormat shortDateFormat,
  5. required DateFormat mediumDateFormat,
  6. required DateFormat longDateFormat,
  7. required DateFormat yearMonthFormat,
  8. required DateFormat shortMonthDayFormat,
  9. required NumberFormat decimalFormat,
  10. required NumberFormat twoDigitZeroPaddedFormat,
})

Create an instance of the translation bundle for Chinese.

For details on the meaning of the arguments, see GlobalMaterialLocalizations.

Implementation

const MaterialLocalizationZh({
  super.localeName = 'zh',
  required super.fullYearFormat,
  required super.compactDateFormat,
  required super.shortDateFormat,
  required super.mediumDateFormat,
  required super.longDateFormat,
  required super.yearMonthFormat,
  required super.shortMonthDayFormat,
  required super.decimalFormat,
  required super.twoDigitZeroPaddedFormat,
});