MaterialLocalizationZhHantHk constructor Null safety

const MaterialLocalizationZhHantHk(
  1. {String localeName: 'zh_Hant_HK',
  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, as used in Hong Kong, using the Han script.

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

Implementation

const MaterialLocalizationZhHantHk({
  String localeName = 'zh_Hant_HK',
  @required intl.DateFormat fullYearFormat,
  @required intl.DateFormat compactDateFormat,
  @required intl.DateFormat shortDateFormat,
  @required intl.DateFormat mediumDateFormat,
  @required intl.DateFormat longDateFormat,
  @required intl.DateFormat yearMonthFormat,
  @required intl.DateFormat shortMonthDayFormat,
  @required intl.NumberFormat decimalFormat,
  @required intl.NumberFormat twoDigitZeroPaddedFormat,
}) : super(
  localeName: localeName,
  fullYearFormat: fullYearFormat,
  compactDateFormat: compactDateFormat,
  shortDateFormat: shortDateFormat,
  mediumDateFormat: mediumDateFormat,
  longDateFormat: longDateFormat,
  yearMonthFormat: yearMonthFormat,
  shortMonthDayFormat: shortMonthDayFormat,
  decimalFormat: decimalFormat,
  twoDigitZeroPaddedFormat: twoDigitZeroPaddedFormat,
);