Getting a error during build this project

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".

LocationScreen.build. (package:restaurant_finder/UI/location_screen.dart:58:44)

It indicates the code
onChanged: (query) => bloc.submitQuery(query),

in LocationScreen class.

So how i can fix this issue.

@pavel_android Do you still have issues with this?