WidgetsLocalizations class abstract

Interface for localized resource values for the lowest levels of the Flutter framework.

This class also maps locales to a specific Directionality using the textDirection property.

See also:

Implementers

Constructors

WidgetsLocalizations()

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 setter
reorderItemLeft String
The semantics label used for SliverReorderableList to reorder an item in the list one space left in the list.
no setter
reorderItemRight String
The semantics label used for SliverReorderableList to reorder an item in the list one space right in the list.
no setter
reorderItemToEnd String
The semantics label used for SliverReorderableList to reorder an item in the list to the end of the list.
no setter
reorderItemToStart String
The semantics label used for SliverReorderableList to reorder an item in the list to the start of the list.
no setter
reorderItemUp String
The semantics label used for SliverReorderableList to reorder an item in the list one space up the list.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textDirection TextDirection
The reading direction for text in this locale.
no setter

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

Static Methods

of(BuildContext context) WidgetsLocalizations
The WidgetsLocalizations from the closest Localizations instance that encloses the given context.