delegate constant Null safety

LocalizationsDelegate<WidgetsLocalizations> const delegate

A LocalizationsDelegate that uses GlobalWidgetsLocalizations.load to create an instance of this class.

WidgetsApp automatically adds this value to WidgetsApp.localizationsDelegates.

Implementation

static const LocalizationsDelegate<WidgetsLocalizations> delegate = _WidgetsLocalizationsDelegate();