GlobalCupertinoLocalizations constructor
- required String localeName,
- required DateFormat fullYearFormat,
- required DateFormat dayFormat,
- required DateFormat weekdayFormat,
- required DateFormat mediumDateFormat,
- required DateFormat singleDigitHourFormat,
- required DateFormat singleDigitMinuteFormat,
- required DateFormat doubleDigitMinuteFormat,
- required DateFormat singleDigitSecondFormat,
- required NumberFormat decimalFormat,
Initializes an object that defines the Cupertino widgets' localized
strings for the given localeName
.
The remaining '*Format' arguments uses the intl package to provide
DateFormat configurations for the localeName
.
Implementation
const GlobalCupertinoLocalizations({
required String localeName,
required intl.DateFormat fullYearFormat,
required intl.DateFormat dayFormat,
required intl.DateFormat weekdayFormat,
required intl.DateFormat mediumDateFormat,
required intl.DateFormat singleDigitHourFormat,
required intl.DateFormat singleDigitMinuteFormat,
required intl.DateFormat doubleDigitMinuteFormat,
required intl.DateFormat singleDigitSecondFormat,
required intl.NumberFormat decimalFormat,
}) : _localeName = localeName,
_fullYearFormat = fullYearFormat,
_dayFormat = dayFormat,
_weekdayFormat = weekdayFormat,
_mediumDateFormat = mediumDateFormat,
_singleDigitHourFormat = singleDigitHourFormat,
_singleDigitMinuteFormat = singleDigitMinuteFormat,
_doubleDigitMinuteFormat = doubleDigitMinuteFormat,
_singleDigitSecondFormat = singleDigitSecondFormat,
_decimalFormat =decimalFormat;