natintosh / intl_phone_number_input

MIT License
164 stars 496 forks source link

The search text if in `English`, even if another `locale` is used #327

Open asashour opened 2 years ago

asashour commented 2 years ago

Describe the bug When setting the locale to something like ar, one would expect that all messages are now in that locale.

Package version

Flutter version master channel.

To Reproduce

          InternationalPhoneNumberInput(
            locale: 'ar',

Expected behavior The message should be in arabie.

Screenshots image

Targeted platforms (please complete the following information):

berkeugur commented 2 years ago
InternationalPhoneNumberInput(
   searchBoxDecoration: InputDecoration(
      hintText: "Search Field Text",
      .
      .
      //more input decoration widget features
      .
      .
   ),
)

you can this.