load static method

Future<HeraLocalizations> load(
  1. Locale locale
)

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

The locale parameter is ignored.

This method is typically used to create a LocalizationsDelegate.

Implementation

static Future<HeraLocalizations> load(Locale locale) {
  return SynchronousFuture<HeraLocalizations>(
      const DefaultHeraLocalizations());
}