DefaultWidgetsLocalizations class Null safety
US English localizations for the widgets library.
See also:
- GlobalWidgetsLocalizations, which provides widgets localizations for many languages.
- WidgetsApp.localizationsDelegates, which automatically includes DefaultWidgetsLocalizations.delegate by default.
- Implemented types
Constructors
- DefaultWidgetsLocalizations()
-
Construct an object that defines the localized values for the widgets
library for US English (only).
const
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- textDirection → TextDirection
-
The reading direction for text in this locale.
read-onlyoverride
Methods
-
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
-
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.
_WidgetsLocalizationsDelegate()