Repository navigation
docs(flutter): add RTL Support for the Flutter UI Kit - #622
Open
DhruvKushvaha2004 wants to merge 1 commit into
Open
DhruvKushvaha2004 wants to merge 1 commit into
DhruvKushvaha2004 wants to merge 1 commit into
Conversation
Adds an RTL Support page under Theming, after Localize. It covers the layoutDirection setting (auto, ltr, rtl) for the whole UI Kit and per component, changing it at runtime, which setting wins, keeping the app's own screens in step, what mirrors and what stays left to right, message text, custom views in RTL, and other RTL languages. Each component page that takes layoutDirection gets a props-table row and a short Layout Direction section. The Message Composer page explains how the text field follows the cursor's line. Methods, Localize, Message Template, View Slots and Troubleshooting get RTL notes, and the page is added to the sidebar and the LLM index. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds RTL (right-to-left) support documentation for the Flutter UI Kit v6.
New page : RTL Support (sidebar: Theming, after Localize):
autofollows the app's localeUIKitSettingsBuilder..layoutDirection, and changing it at runtime withCometChatUIKit.setLayoutDirectionlayoutDirectionparameter, with the list of components that take itMaterialApp.builder)EdgeInsetsDirectional,AlignmentDirectional,TextAlign.start)Updated pages:
layoutDirectionrow in the props table, a short "Layout Direction" section with an example, and the prop count in the quick reference. Message Composer also explains how the text field follows the cursor's line.layoutDirectionin the init settings, plus a Layout Direction section.BubbleAlignment.left/rightmean in RTL.docs.json: page added to the sidebar.llms-flutter-v6.mdx: page and an RTL note added to the LLM index.All Dart examples were compile-checked against the UI Kit's
rtl-supportbranch.Related Issue(s)
No GitHub issue. Tracked on Multica:
Type of Change
Checklist
Additional Information
layoutDirection. The setting isn't in the current published UI Kit yet.mint broken-linksreports no broken links in the changed pages, and all changed pages were checked in a localmint devpreview.Screenshots (if applicable)
N/A. Text-only changes; RTL screenshots will follow in a separate update.