In real application you are going to be sorting lists of class object. Following snippet show how to sort list of objects in Flutter. priceList.sort((a, b) => -a.
flutter-sort-list-of-objects
939c2ea5af
flutter sort list of objects, flutter sort list of objects by date
Comments