I want every abcdLine
‘s items characters
in new line(vertically scrollable), and all items of characters
should be horizontally scrollable in flutter application. I tried with Listview.builder()
, but I couldn’t get what I want.
List abcdLine = [
{
'characters': ['Ka','Ka','Ki','Kee','Ku','Koo','Ke','Kai','Ko','Kau','Kam','Kah'],
},
{
'characters': ['Kha','Kha','Khi','Khee','Khu','Khoo','Khe','Khai','Kho','Khau','Kham','Khah'],
},
{
'characters': ['Ga','Ga','Gi','Gee','Gu','Goo','Ge','Gai','Go','Gau','Gam','Gah'],
},
],
What is better way?
Hope, I could clear.
I also tried using GridView
and ListView
but, that did not work.
2
Answers
Maybe you looking for sliver list
Check out sliver list and sliver grid
Sliver list
You can use ListView for Parent and for
characters
you can useSingleChildScrolView(child:Row(....))
or You can ListView with fixedHeight, both casescrollDirection: Axis.horizontal,