delegate constant

LocalizationsDelegate<MaterialLocalizations> const delegate

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

MaterialApp automatically adds this value to MaterialApp.localizationsDelegates.

Implementation

static const LocalizationsDelegate<MaterialLocalizations> delegate = _MaterialLocalizationsDelegate();