Skip to content

Add LTR Directionality to Specific UI Elements#299

Open
decodevM wants to merge 1 commit intoappinioGmbH:mainfrom
decodevM:ltr_ui
Open

Add LTR Directionality to Specific UI Elements#299
decodevM wants to merge 1 commit intoappinioGmbH:mainfrom
decodevM:ltr_ui

Conversation

@decodevM
Copy link
Copy Markdown

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