ArcticZeroo/flutter-search-bar

Support for RTL layout and languages

SalehHub opened this issue · 5 comments

Maybe I didn't know how to implement this, but doesn't this plugin support RTL languages like Arabic and Hebrew etc?

What happens when you try to use rtl input?

when I entered an Arabic text everything works fine except that the search text field and suggestions list should be from RTL instead of LTR.

Hmm, I'm not sure of a good way to solve that.
My initial thought would be to simply add an option when instantiating the SearchBar class which allows the dev to toggle between RTL and LTR, but that's potentially problematic for apps that want to support LTR and RTL languages

@salehahmedZ should be fixed with 2.0.1

You are amazing. Thanks!