Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing RTL support #46

Open
Harishwarrior opened this issue Nov 23, 2021 · 1 comment
Open

Missing RTL support #46

Harishwarrior opened this issue Nov 23, 2021 · 1 comment

Comments

@Harishwarrior
Copy link

Describe the bug
When changing language to Arabic or any RTL language the text overlaps with button.

To Reproduce
Steps to reproduce the behavior:

  1. Set language to Arabic
  2. Toggle the switch
  3. The text in the toggle will overflow with button.

Expected behavior
It should follow RTL layout.

Screenshots
Screenshot_20211123-161424.jpg

Smartphone (please complete the following information):

  • Device: [OnePlus 6T]
  • OS: [Android 11]

Additional context
Screenshot_20211123-161538.jpg

In LTR everything looks fine.

@lukehutch
Copy link

I need this too -- the drawing direction should be switched if:

Directionality.of(context) == TextDirection.rtl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants