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

Add LTR Directionality to Specific UI Elements #299

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

decodevM
Copy link

This pull request addresses the issues related to RTL (Right-to-Left) language support, specifically for Arabic, in the appinio_video_player package. The following changes have been made:

  1. LTR Directionality Implementation:
    • Added the Directionality widget with TextDirection.ltr to specific UI elements that need to remain left-to-right, ensuring consistent layout and functionality across all languages.
  2. Code Refactoring:
    • Created a reusable LtrWrapper widget to streamline the application of LTR directionality across the app.
  3. Testing:
    • Verified the changes in both RTL and LTR language settings to ensure that the UI elements are displayed correctly.

These changes improve the user experience for Arabic-speaking users and ensure that the UI elements function as intended regardless of the app’s language setting.

Testing & Verification:
Please review the changes and test the updated components to confirm that they work as expected in both RTL and LTR settings.

- Added Directionality widget with TextDirection.ltr for specific UI elements
- Created LtrWrapper widget for consistent LTR application
- Ensured compatibility across different language settings

This update addresses the RTL compatibility issues and ensures consistent UI presentation in Arabic and other RTL languages.
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

Successfully merging this pull request may close these issues.

1 participant