Answers for "how to filter a list in flutter and display"

0

dart filter list

List<int> listScore = [1, 2, 3, 3, 4];

main(List<String> args) {
  print(listScore.where((score) => score > 1).toList());
}
Posted by: Guest on July-18-2021

Code answers related to "how to filter a list in flutter and display"

Code answers related to "Dart"

Browse Popular Code Answers by Language