EasyI18nDelegate constructor
Implementation
EasyI18nDelegate({required this.supportedLocales})
: assert(supportedLocales.isNotEmpty) {
localizationsDelegates = [
I18nDelegate(locales: supportedLocales),
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
DefaultCupertinoLocalizations.delegate,
];
}