materialL10n property

MaterialLocalizations get materialL10n

Returns the MaterialLocalizations instance for the current context.

Example usage:

String ok = context.materialL10n.okButtonLabel;

Implementation

MaterialLocalizations get materialL10n => MaterialLocalizations.of(this);