From f108bdc73478acdef10d23237206ddccf8111a45 Mon Sep 17 00:00:00 2001 From: Alim Date: Tue, 20 Aug 2024 21:27:54 +0600 Subject: [PATCH] Update README.md (#257) --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 3aae203..8be2e7c 100644 --- a/README.md +++ b/README.md @@ -158,17 +158,17 @@ This package uses the `flutter_country_selector` package under the hood, which e ```dart return MaterialApp( localizationsDelegates: [ - GlobalMaterialLocalizations.delegate, - PhoneFieldLocalization.delegate - ], - supportedLocales: [ - const Locale('en', ''), - const Locale('es', ''), - const Locale('fr', ''), - const Locale('ru', ''), - const Locale('uz', ''), - const Locale('uk', ''), - // ... + DefaultMaterialLocalizations.delegate, + ...PhoneFieldLocalization.delegates, + ], + supportedLocales: [ + const Locale('en', ''), + const Locale('es', ''), + const Locale('fr', ''), + const Locale('ru', ''), + const Locale('uz', ''), + const Locale('uk', ''), + // ... ], ```