'Localization support in Flutter

In my Flutter application, I have added support for English, Arabic, and Chinese languages. I am showing these three text widgets inside a List View. I would like to display Arabic language text only in RTL mode(Without Directionality widget). Any suggestions on this?

Actual output:

Actual output

Expected output

enter image description here



Solution 1:[1]

You can make the text widget position fixed either by wrapping it with Align widget

        Align(
          alignment: Alignment.centerRight,
          child: Text(
            '????',
          ),
        ),

Or change the textAlign property

        Text(
          '????',
          textAlign: TextAlign.right,
        ),

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1