diff --git a/README.md b/README.md
index 22a3d1c..14bdce4 100644
--- a/README.md
+++ b/README.md
@@ -57,8 +57,9 @@ void _onCountryChange(CountryCode countryCode) {
### i18n
-Just add the `CountryLocalizations.delegate` in the list of your app delegates
+Just add the `CountryLocalizations.delegate` in the list of your app delegates
+### Default Usage (Localization Enabled)
```dart
return new MaterialApp(
supportedLocales: [
@@ -140,9 +141,19 @@ Just add the `CountryLocalizations.delegate` in the list of your app delegates
],
```
+### Force English (Localization Disabled)
+```dart
+ return new MaterialApp(
+ localizationsDelegates: [
+ CountryLocalizations.delegate(enableLocalization: false),
+ GlobalMaterialLocalizations.delegate,
+ GlobalWidgetsLocalizations.delegate,
+ ],
+```
+
## Customization
-Here is a list of properties available to customize your widget:
+Here is a list of properties available to customizeccc your widget:
| Name | Type | Description |
|-----|-----|------|
@@ -198,7 +209,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
 Chandra Abdul Fattah 🚇 💻 |
 Salvatore Giordano 🚇 💻 |
-
+  Nilashish Roy 🚇 💻 |
+
diff --git a/example/lib/main.dart b/example/lib/main.dart
index 9318ecb..30fe4db 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -89,6 +89,7 @@ class MyAppState extends State {
],
localizationsDelegates: const [
CountryLocalizations.delegate,
+ /// CountryLocalizations.getDelegate(enableLocalization: false), // For no localization only english just declare delegate this way.
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
diff --git a/flags/sy.png b/flags/sy.png
index 2ba6f6a..c1bb556 100644
Binary files a/flags/sy.png and b/flags/sy.png differ
diff --git a/lib/country_code_picker.dart b/lib/country_code_picker.dart
index 52436aa..c4b5260 100644
--- a/lib/country_code_picker.dart
+++ b/lib/country_code_picker.dart
@@ -152,16 +152,13 @@ class CountryCodePicker extends StatefulWidget {
this.closeIcon = const Icon(Icons.close),
this.countryList = codes,
this.pickerStyle = PickerStyle.dialog,
- this.dialogItemPadding =
- const EdgeInsets.symmetric(horizontal: 24, vertical: 8),
+ this.dialogItemPadding = const EdgeInsets.symmetric(horizontal: 24, vertical: 8),
this.searchPadding = const EdgeInsets.symmetric(horizontal: 24),
this.headerAlignment = MainAxisAlignment.spaceBetween,
- this.headerText = "Select County",
- this.headerTextStyle =
- const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
+ this.headerText = "Select Country",
+ this.headerTextStyle = const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
this.hideHeaderText = false,
- this.topBarPadding =
- const EdgeInsets.symmetric(vertical: 5.0, horizontal: 20),
+ this.topBarPadding = const EdgeInsets.symmetric(vertical: 5.0, horizontal: 20),
Key? key,
}) : super(key: key);
@@ -170,16 +167,14 @@ class CountryCodePicker extends StatefulWidget {
State createState() {
List