load method Null safety
- Locale locale
Creates an object that provides localized resource values for the lowest levels of the Flutter framework.
This method is typically used to create a LocalizationsDelegate. The WidgetsApp does so by default.
Implementation
static Future<WidgetsLocalizations> load(Locale locale) {
return SynchronousFuture<WidgetsLocalizations>(GlobalWidgetsLocalizations(locale));
}