load static method

Future<CupertinoLocalizations> load(
  1. 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());
}