4inka / flutter_easy_search_bar

Other
13 stars 22 forks source link

RTL text direction on text field #15

Closed Blacksuan19 closed 1 year ago

Blacksuan19 commented 1 year ago

Hello,

I am using this package with arabic text, the direction should be RTL but it is showing LTR as usual. I can't find an option to change from LTR to RTL on the documentation.

there is this package that can automatically change text direction , is there a way to utilize that package with easy_search_bar?

here's a screenshot of the current behavior

image

dtkdt100 commented 1 year ago

until my PR will be merged, you can use my fork:

  easy_search_bar:
    git:
      url: https://github.com/Dolev-Franco/flutter_easy_search_bar.git
      ref: feat/add-text-direction
Blacksuan19 commented 1 year ago

until my PR will be merged, you can use my fork:

  easy_search_bar:
    git:
      url: https://github.com/Dolev-Franco/flutter_easy_search_bar.git
      ref: feat/add-text-direction

Great! Works as expected.

4inka commented 1 year ago

Hello @Blacksuan19 and @dtkdt100,

First of all, I'm sorry I wasn't able to respond earlier. I just updated the package to a new version and now you can have access to the textDirection paramater.

Have a nice day