0

I am trying to show list of widgets, building from right to left.

You can see in this picture i want to show arabic alphabets... widgets should be start from right to left

SliverGrid.count(
        crossAxisCount: 5,
        mainAxisSpacing: 1,
        crossAxisSpacing: 1,
        children: listLessonOne,
      ),

one of the widget from List listLessonOne

CustomWordCard(
word: 'ا',
subWord: 'الف',

),

  • Implement arabic localisation for your app and set locale to arabic, you will get what you need out of the box. – Simon Sot Mar 17 '21 at 17:24

1 Answers1

0

you can use

Directionality(
            textDirection: TextDirection.rtl,
            child : yourchild)

but below answer is better ...

https://stackoverflow.com/a/54689825/6813907

Sajjad
  • 2,593
  • 16
  • 26