You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TextField/TextFormField labelText and hintText should be right-aligned with TextDirection.rtl #41324
There is forgotten attribute write for the labelText of(TextFormField or TextField) from right to left.
I tried with textAlign, textDirection. Although, it works with hintText and the user input, it doesn't work with the labelText.
C:\src\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [Version 6.1.7601], locale ar-EG)
• Flutter version 1.9.1+hotfix.6 at C:\src\flutter
• Framework revision 68587a0 (7 weeks ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200
• Dart version 2.5.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\AboReda\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio1
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] IntelliJ IDEA Community Edition (version 2019.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.1.1
• Flutter plugin version 35.3.3
• Dart plugin version 191.7141.49
[√] VS Code (version 1.38.1)
• VS Code at C:\Users\AboReda\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.4.1
changed the title [-]view labelText of the TextField from right to left[/-][+]TextField/TextFormField labelText and hintText do not respect TextDirection.rtl[/+]on Jan 24, 2025
changed the title [-]TextField/TextFormField labelText and hintText do not respect TextDirection.rtl[/-][+]TextField/TextFormField labelText and hintText should be right-aligned with TextDirection.rtl[/+]on Jan 24, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
janmoppel commentedon Sep 26, 2019
Hello @mohamed-reda !
Thank you for posting an issue.
Can you please also attach the
flutter doctor -vcommand output?Thank you.
mohamed-reda commentedon Nov 2, 2019
flutter doctor print :
C:\src\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [Version 6.1.7601], locale ar-EG)
• Flutter version 1.9.1+hotfix.6 at C:\src\flutter
• Framework revision 68587a0 (7 weeks ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200
• Dart version 2.5.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\AboReda\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio1
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] IntelliJ IDEA Community Edition (version 2019.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.1.1
• Flutter plugin version 35.3.3
• Dart plugin version 191.7141.49
[√] VS Code (version 1.38.1)
• VS Code at C:\Users\AboReda\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.4.1
[√] Connected device (1 available)
• Infinix X5515 • 0350225897007314 • android-arm • Android 8.1.0 (API 27)
• No issues found!
Process finished with exit code 0
victorsanni commentedon Jan 23, 2025
cc @victorsanni
[-]view labelText of the TextField from right to left[/-][+]TextField/TextFormField labelText and hintText do not respect TextDirection.rtl[/+]victorsanni commentedon Jan 24, 2025
Reproducible using the code sample below.
Sample code
textformfield.rtl.mov
[-]TextField/TextFormField labelText and hintText do not respect TextDirection.rtl[/-][+]TextField/TextFormField labelText and hintText should be right-aligned with TextDirection.rtl[/+]Mairramer commentedon Feb 16, 2026
@victorsanni I’ve implemented a solution that resolves a few inconsistencies and improves
InputDecorationconsistency across dependent widgets.[material_ui] Add labelTextDirection handling in InputDecorator (#12607)
github-actions commentedon Oct 9, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.