MaterialLocalizationZh constructor

const MaterialLocalizationZh({String localeName: 'zh', @required DateFormat fullYearFormat, @required DateFormat mediumDateFormat, @required DateFormat longDateFormat, @required DateFormat yearMonthFormat, @required NumberFormat decimalFormat, @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({
  String localeName = 'zh',
  @required intl.DateFormat fullYearFormat,
  @required intl.DateFormat mediumDateFormat,
  @required intl.DateFormat longDateFormat,
  @required intl.DateFormat yearMonthFormat,
  @required intl.NumberFormat decimalFormat,
  @required intl.NumberFormat twoDigitZeroPaddedFormat,
}) : super(
  localeName: localeName,
  fullYearFormat: fullYearFormat,
  mediumDateFormat: mediumDateFormat,
  longDateFormat: longDateFormat,
  yearMonthFormat: yearMonthFormat,
  decimalFormat: decimalFormat,
  twoDigitZeroPaddedFormat: twoDigitZeroPaddedFormat,
);