DefaultWidgetsLocalizations class

US English localizations for the widgets library.

See also:

  • GlobalWidgetsLocalizations, which provides widgets localizations for many languages.
  • WidgetsApp.delegates, which automatically includes DefaultWidgetsLocalizations.delegate by default.
Implements

Constructors

DefaultWidgetsLocalizations()
Construct an object that defines the localized values for the widgets library for US English (only). [...]
const

Properties

textDirection TextDirection
The reading direction for text in this locale.
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Methods

load(Locale locale) → Future<WidgetsLocalizations>
Creates an object that provides US English resource values for the lowest levels of the widgets library. [...]

Constants

delegate → const LocalizationsDelegate<WidgetsLocalizations>
A LocalizationsDelegate that uses DefaultWidgetsLocalizations.load to create an instance of this class. [...]
const _WidgetsLocalizationsDelegate()