load method

Future<MaterialLocalizations> load (Locale locale)

Creates an object that provides US English resource values for the material library widgets.

The locale parameter is ignored.

This method is typically used to create a LocalizationsDelegate. The MaterialApp does so by default.

Implementation

static Future<MaterialLocalizations> load(Locale locale) {
  return SynchronousFuture<MaterialLocalizations>(const DefaultMaterialLocalizations());
}