update pubspec

This commit is contained in:
2021-08-25 19:00:04 +06:30
parent 1b331e1f8e
commit a144c945b6
8 changed files with 315 additions and 293 deletions

View File

@@ -6,7 +6,7 @@ import 'transalation.dart';
class AppTranslationsDelegate extends LocalizationsDelegate<AppTranslations> {
final Locale newLocale;
const AppTranslationsDelegate({this.newLocale});
const AppTranslationsDelegate({required this.newLocale});
@override
bool isSupported(Locale locale) {
@@ -22,4 +22,4 @@ class AppTranslationsDelegate extends LocalizationsDelegate<AppTranslations> {
bool shouldReload(LocalizationsDelegate<AppTranslations> old) {
return true;
}
}
}