I implemented a listview
which get data from a json
.
I followed this implementation.
How could i reverse the order of this listview? (The first element should became the last, ecc...).
You should be able to reverse the list before feeding it to the ListView
.
List<String> animals = ['cat', 'dog', 'duck'];
List<String> reversedAnimals = animals.reversed.toList();