update
This commit is contained in:
@ -52,8 +52,8 @@ class ListWidget extends StatelessWidget {
|
||||
);
|
||||
},
|
||||
leading: getImage(index),
|
||||
title: Text(indexController.locations[0].collection[index].properties!['location_name'].toString()),
|
||||
subtitle: Text(indexController.locations[0].collection[index].properties!['category']),
|
||||
title: indexController.locations[0].collection[index].properties!['location_name'] != null ? Text(indexController.locations[0].collection[index].properties!['location_name'].toString()) : Text(""),
|
||||
subtitle: indexController.locations[0].collection[index].properties!['category'] != null ? Text(indexController.locations[0].collection[index].properties!['category']) : Text(""),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user