Use .where:
.where
var elements = ['one', 'two', 'three', 'four']; elements.where((f) => f.startsWith('t')).toList();