If you don't want to add any dependencies, the following might be a clean way.
myList.where((o) => o.startsWith('foo')).firstOrNull;