MaterialLocalizationKn constructor Null safety

const MaterialLocalizationKn(
  1. {String localeName = 'kn',
  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 Kannada.

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

Implementation

const MaterialLocalizationKn({
  String localeName = 'kn',
  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,
);