PickerLocalizations class Null safety

localizations

Inheritance

Constructors

PickerLocalizations(Locale? locale)
const

Properties

ampm List?
read-onlyinherited
cancelText String?
read-onlyinherited
confirmText String?
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
locale Locale?
finalinherited
months List?
read-onlyinherited
monthsLong List?
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

getItem(String key) Object?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

of(BuildContext context) PickerLocalizations
registerCustomLanguage(String name, {String? cancelText, String? confirmText, List<String>? ampm, List<String>? months, List<String>? monthsLong}) → dynamic
注册自定义语言

Constants

languages → const List<String>
Language Support
['en', 'ja', 'zh', 'ko', 'it', 'ar', 'fr', 'es', 'tr']
localizedValues → const Map<String, Map<String, Object>>
Language Values
{'en' : {'cancelText' : 'Cancel', 'confirmText' : 'Confirm', 'ampm' : ['AM', 'PM']}, 'ja' : {'cancelText' : 'キャンセル&#…