When i run this application and enter location then I got an error in my log cat which is " Bad state: Cannot add event after closing".
It indicates the code
onChanged: (query) => bloc.submitQuery(query),
in LocationScreen class.
So how i can fix this issue.