'In Flutter, I am making a bible app using a json file of the format shown bellow... I want you to help me with the Drop Down selection
I want a dependent dropdown selection for
- The Book Name (Independent)
- The Chapter (Dependent)
- The Verse (Dependent) I Want the Dropdown to be in this format
First, Independent Dropdown
Select using the name
Second, Dependent Dropdown
indexes of the chapters' children
Third, Dependent Dropdown
select using the index of verse texts
This is how the json format looks
[![\[
{
"name": "Genesis",
"chapters": \[
\[
"Verse 1 texts",
"Verse 2 txts",
"Verse 3 txts",
"Verse 4 txts",
"Verse 5 txts"
\],
\[
"Verse 1 texts",
"Verse 2 txts",
"Verse 3 txts",
"Verse 4 txts",
"Verse 5 txts"
\]
\]
},
{
"name": "Exodus",
"chapters": \[
\[
"Verse 1 texts",
"Verse 2 txts",
"Verse 3 txts",
"Verse 4 txts",
"Verse 5 txts"
\],
\[
"Verse 1 texts",
"Verse 2 txts",
"Verse 3 txts",
"Verse 4 txts",
"Verse 5 txts"
\]
\]
}
\]][1]][1]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
