CupertinoLocalizationZhHans constructor Null safety

const CupertinoLocalizationZhHans(
  1. {String localeName = 'zh_Hans',
  2. required DateFormat fullYearFormat,
  3. required DateFormat dayFormat,
  4. required DateFormat mediumDateFormat,
  5. required DateFormat singleDigitHourFormat,
  6. required DateFormat singleDigitMinuteFormat,
  7. required DateFormat doubleDigitMinuteFormat,
  8. required DateFormat singleDigitSecondFormat,
  9. required NumberFormat decimalFormat}
)

Create an instance of the translation bundle for Chinese, using the Han script.

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

Implementation

const CupertinoLocalizationZhHans({
  String localeName = 'zh_Hans',
  required intl.DateFormat fullYearFormat,
  required intl.DateFormat dayFormat,
  required intl.DateFormat mediumDateFormat,
  required intl.DateFormat singleDigitHourFormat,
  required intl.DateFormat singleDigitMinuteFormat,
  required intl.DateFormat doubleDigitMinuteFormat,
  required intl.DateFormat singleDigitSecondFormat,
  required intl.NumberFormat decimalFormat,
}) : super(
  localeName: localeName,
  fullYearFormat: fullYearFormat,
  dayFormat: dayFormat,
  mediumDateFormat: mediumDateFormat,
  singleDigitHourFormat: singleDigitHourFormat,
  singleDigitMinuteFormat: singleDigitMinuteFormat,
  doubleDigitMinuteFormat: doubleDigitMinuteFormat,
  singleDigitSecondFormat: singleDigitSecondFormat,
  decimalFormat: decimalFormat,
);