delegate constant

LocalizationsDelegate<MaterialLocalizations> const delegate = const _MaterialLocalizationsDelegate()

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

Most internationalized apps will use GlobalMaterialLocalizations.delegates as the value of MaterialApp.localizationsDelegates to include the localizations for both the material and widget libraries.

Implementation

static const LocalizationsDelegate<MaterialLocalizations> delegate = _MaterialLocalizationsDelegate()