load method

Future<CupertinoLocalizations> load (Locale locale)

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

The locale parameter is ignored.

This method is typically used to create a LocalizationsDelegate.

Implementation

static Future<CupertinoLocalizations> load(Locale locale) {
  return SynchronousFuture<CupertinoLocalizations>(const DefaultCupertinoLocalizations());
}