When I push named from the ListTile in Search Delegate, the height of the context is wrong, it seems like the keyboard is still there.
The height of the white space is equal to the height of my keyboard. (P2)
If I dismiss the keyboard mannually, everything works fine. (P3)
void showAndNavigate(BuildContext context, title, title2, gameId) {
super.showResults(context);
Navigator.pushNamed(context, RouteName.homeDetail, arguments: {
'data': {
'title': title,
'title2': title2,
'GameId': gameId,
}
});}
ListTile(
title: Text(suggestion),
onTap: () {
query = suggestion;
close(context, null);
showAndNavigate(
context, query, suggestionTitles[index], gameIds[index]);
},
);


