can not load data again with Stream flutter
Try this
final StreamController<List<Weather>> locationsStream = StreamController<List<Weather>>.broadcast();@overridevoid initState() { super.initState(); WidgetsBinding.instance.addPostFrameCallback((_) async { await loadData(); });}void loadData() async { WeatherRepo weatherRepo = WeatherRepo(); List<Weather> rss = await weatherRepo.loadMainLocations(); locationsStream.add(rss);}