How to make dynamic tree like view as shown attachment in flutter

19 views
Skip to first unread message

Sidhant Verma

unread,
Mar 7, 2019, 5:10:15 AM3/7/19
to Flutter Dev
How to make dynamic tree like hierarchy in flutter as shown in attachment. The no. of boxes to display will be dynamic it can be 0 or any no. the integer value will be received from JSON of how much boxes are to be displayed ??
IMG-20190307-WA0000.jpeg

Steven McDowall

unread,
Mar 7, 2019, 5:16:10 AM3/7/19
to Sidhant Verma, Flutter Dev
I eventually used a set of ExpansionTiles to represent an arbitrary graph .. worked pretty ok for our needs


> On Mar 7, 2019, at 5:10 AM, Sidhant Verma <sidh...@gmail.com> wrote:
>
> How to make dynamic tree like hierarchy in flutter as shown in attachment. The no. of boxes to display will be dynamic it can be 0 or any no. the integer value will be received from JSON of how much boxes are to be displayed ??
>
> --
> You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> <IMG-20190307-WA0000.jpeg>

Sidhant Verma

unread,
Mar 7, 2019, 5:21:40 AM3/7/19
to Steven McDowall, Flutter Dev
Ok thanks. Let me try..
--

Sidhant Verma
Mob.no 8557894305

Reply all
Reply to author
Forward
0 new messages