How To

Filter Lists in Dart

Use .where:

var elements = ['one', 'two', 'three', 'four'];

elements.where((f) => f.startsWith('t')).toList();