Muat widget setelah membaca data dari file json
FutureBuilder(
future: DefaultAssetBundle.of(context)
.loadString('assets/loadjson/details.json'),
builder: (context, snapshot) {
// Decode the JSON
var newData = json.decode(snapshot.data.toString());
Enthusiastic Elk