GlobalWidgetsLocalizations class abstract

Localized values for widgets.

Supported languages

This class supports locales with the following Locale.languageCodes:

  • af - Afrikaans
  • am - Amharic
  • ar - Arabic
  • as - Assamese
  • az - Azerbaijani
  • be - Belarusian
  • bg - Bulgarian
  • bn - Bengali Bangla
  • bs - Bosnian
  • ca - Catalan Valencian
  • cs - Czech
  • cy - Welsh
  • da - Danish
  • de - German (plus one country variation)
  • el - Modern Greek
  • en - English (plus 8 country variations)
  • es - Spanish Castilian (plus 20 country variations)
  • et - Estonian
  • eu - Basque
  • fa - Persian
  • fi - Finnish
  • fil - Filipino Pilipino
  • fr - French (plus one country variation)
  • gl - Galician
  • gsw - Swiss German Alemannic Alsatian
  • gu - Gujarati
  • he - Hebrew
  • hi - Hindi
  • hr - Croatian
  • hu - Hungarian
  • hy - Armenian
  • id - Indonesian
  • is - Icelandic
  • it - Italian
  • ja - Japanese
  • ka - Georgian
  • kk - Kazakh
  • km - Khmer Central Khmer
  • kn - Kannada
  • ko - Korean
  • ky - Kirghiz Kyrgyz
  • lo - Lao
  • lt - Lithuanian
  • lv - Latvian
  • mk - Macedonian
  • ml - Malayalam
  • mn - Mongolian
  • mr - Marathi
  • ms - Malay
  • my - Burmese
  • nb - Norwegian BokmÃ¥l
  • ne - Nepali
  • nl - Dutch Flemish
  • no - Norwegian
  • or - Oriya
  • pa - Panjabi Punjabi
  • pl - Polish
  • ps - Pushto Pashto
  • pt - Portuguese (plus one country variation)
  • ro - Romanian Moldavian Moldovan
  • ru - Russian
  • si - Sinhala Sinhalese
  • sk - Slovak
  • sl - Slovenian
  • sq - Albanian
  • sr - Serbian (plus 2 scripts)
  • sv - Swedish
  • sw - Swahili
  • ta - Tamil
  • te - Telugu
  • th - Thai
  • tl - Tagalog
  • tr - Turkish
  • uk - Ukrainian
  • ur - Urdu
  • uz - Uzbek
  • vi - Vietnamese
  • zh - Chinese (plus 2 country variations and 2 scripts)
  • zu - Zulu

This list is available programmatically via kWidgetsSupportedLanguages.

Besides localized strings, this class also maps locale to textDirection. All locales are TextDirection.ltr except for locales with the following Locale.languageCode values, which are TextDirection.rtl:

  • ar - Arabic
  • fa - Farsi
  • he - Hebrew
  • ps - Pashto
  • sd - Sindhi
  • ur - Urdu
Implemented types
Implementers

Constructors

GlobalWidgetsLocalizations(TextDirection textDirection)
Construct an object that defines the localized values for the widgets library for the given textDirection.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
reorderItemDown String
The semantics label used for SliverReorderableList to reorder an item in the list one space down the list.
no setterinherited
reorderItemLeft String
The semantics label used for SliverReorderableList to reorder an item in the list one space left in the list.
no setterinherited
reorderItemRight String
The semantics label used for SliverReorderableList to reorder an item in the list one space right in the list.
no setterinherited
reorderItemToEnd String
The semantics label used for SliverReorderableList to reorder an item in the list to the end of the list.
no setterinherited
reorderItemToStart String
The semantics label used for SliverReorderableList to reorder an item in the list to the start of the list.
no setterinherited
reorderItemUp String
The semantics label used for SliverReorderableList to reorder an item in the list one space up the list.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textDirection TextDirection
The reading direction for text in this locale.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

delegate → const LocalizationsDelegate<WidgetsLocalizations>
A LocalizationsDelegate for WidgetsLocalizations.