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

Right to left is not fully supported #206

Closed
aliyazdi75 opened this issue Jan 5, 2020 · 2 comments
Closed

Right to left is not fully supported #206

aliyazdi75 opened this issue Jan 5, 2020 · 2 comments

Comments

@aliyazdi75
Copy link

aliyazdi75 commented Jan 5, 2020

By deprecating customTextAlign ,Right to left is not fully supported.
For example for <b> tag:
Screenshot_1578233378

@Sub6Resources
Copy link
Owner

You will need to apply a Style to the document and explicitly set the text alignment to be TextAlignment.rtl.

@aliyazdi75
Copy link
Author

aliyazdi75 commented Jan 30, 2020

@Sub6Resources
I know how to use in new style(textDirection: TextDirection.rtl) but it's not fully supported and some of them are ltr as I mentioned before, but customTextAlign: (_) => TextAlign.right is fully supported rtl!
I found that with useRichText: true right to left would be OK.

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