delegate constant

LocalizationsDelegate<MaterialLocalizations> const delegate = _MaterialLocalizationsDelegate()

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()