MaterialLocalizationDeCh constructor Null safety

const MaterialLocalizationDeCh(
  1. {String localeName: 'de_CH',
  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 German, as used in Switzerland.

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

Implementation

const MaterialLocalizationDeCh({
  String localeName = 'de_CH',
  @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,
);