MaterialLocalizationEnSg constructor Null safety

const MaterialLocalizationEnSg(
  1. {String localeName = 'en_SG',
  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 English, as used in Singapore.

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

Implementation

const MaterialLocalizationEnSg({
  super.localeName = 'en_SG',
  required super.fullYearFormat,
  required super.compactDateFormat,
  required super.shortDateFormat,
  required super.mediumDateFormat,
  required super.longDateFormat,
  required super.yearMonthFormat,
  required super.shortMonthDayFormat,
  required super.decimalFormat,
  required super.twoDigitZeroPaddedFormat,
});