abstract class maintype {}class type1 extends maintype{String s1;}class type2 extends maintype {String s1;String s2;}class type3 extends maintype {List<maintype> sublist; //this list can have type1, type2, type3}The screen will have list view which will be List<maintype>, whenever a add button is press based on the button type the class will be created type1 or type2 or type3 and added into the main list.For type3, one more listview added with again three add buttons inside the current list view, then user can add items inside that listview also.What kind of state management I have to use? How to architect/structure my flutter app?I am open for any library and suggestions.Thanks in advance.
May 01, 2020 at 05:22PM by veerammalkumaran
https://ift.tt/35lFLEg
