can we create something like this in flutter?
where the data to be fetched from the JSON, which shown below
tableValue=[
{
"id": "sub",
"displayName": "Subjects",
"type": "list",
"value": ["JAVA"],
"data": [
{"id": "1", "dispId": "JAVA"},
{"id": "2", "dispId": "FLUTTER"},
{"id": "3", "dispId": "DART"}
]
},
{
"id": "name",
"displayName": "Title",
"type": "string",
"value": "books"
},
];
since subjects is a List so checkbox to get displayed ,if entry has type a string a text box gets displayed. How to create some thing like this? how to split as shown in fig?
Thank you.
Aucun commentaire:
Enregistrer un commentaire