SyntaxFix
Write A Post
Hire A Developer
Questions
Change
List<String> _locations = ['A', 'B', 'C', 'D'];
To
List<String> _locations = [_selectedLocation, 'A', 'B', 'C', 'D'];
_selectedLocation needs to be part of your item List;