rtl-arabic

Manage RTL Arabic layout rules and directional APIs in Flutter applications.

1|1|Updated Jun 21, 2025
One-click install
npx skills add https://github.com/AdhamHashim/Flutter_Base --skill rtl-arabic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rtl-arabic
Source: https://github.com/AdhamHashim/Flutter_Base/tree/main/.claude/skills/rtl-arabic
Command: npx skills add https://github.com/AdhamHashim/Flutter_Base --skill rtl-arabic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexities of implementing Right-to-Left (RTL) Arabic layouts in Flutter applications, preventing common mirroring bugs and ensuring accurate text and element placement.

Core Features & Use Cases

  • Layout Mirroring Prevention: Provides rules and checks to ensure UI elements align correctly in RTL, matching Figma designs.
  • Directional APIs: Guides the use of Flutter's directional widgets and extensions for robust RTL support.
  • Localization Integration: Supports easy_localization for seamless language switching and string management.
  • Use Case: When developing an e-commerce app for the Middle East, this Skill ensures that product images, text, and navigation elements are displayed correctly for Arabic-speaking users, maintaining the intended user experience.

Quick Start

Apply the RTL Arabic rules to ensure all UI elements are correctly mirrored for Arabic users.

Frequently Asked Questions about rtl-arabic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent layout mirroring bugs in Flutter RTL Arabic UI?

To prevent layout mirroring bugs in Flutter RTL Arabic UI, use directional widgets like `PositionedDirectional` and `AlignmentDirectional` to ensure accurate element placement and text alignment matching Figma designs.

What is the best way to manage text alignment and widget order for Arabic localization in Flutter?

The best way to manage Arabic localization in Flutter is integrating `easy_localization` for string management while applying directional APIs to correctly align text and order widgets in Rows and Columns.

Does this Flutter RTL approach support custom Arabic fonts?

Yes, the Flutter RTL approach supports custom typography by allowing you to integrate Expo Arabic fonts, ensuring localized text renders correctly while maintaining the intended user experience.

Why does my Row widget display incorrectly when switching to an Arabic layout?

Your Row widget displays incorrectly because standard alignment rules fail in RTL contexts; you must use directional widgets and extensions like `AlignmentDirectional` to ensure proper UI rendering for Arabic users.

When do I need to use PositionedDirectional for Arabic UI rendering?

You need to use `PositionedDirectional` for Arabic UI rendering when placing elements in stacked layouts, as it automatically resolves directional properties to prevent mirroring bugs and ensure accurate placement.