Want to change labelText direction to RTL in InputDecoration() flutter? Use the below example to change labelText direction to RTL in InputDecoration() in flutter.
1 2 3 4 5 6 7 8 9 10 11 | new Directionality( textDirection: TextDirection.rtl, child: TextField( textAlign: TextAlign.right, controller: _textEdittingControler_bookName, autofocus: true, decoration: new InputDecoration( labelText: "افزودن کتاب", hintText: "نام کتاب را وارد کنید" ), ) |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.