added unfocus of search text input

This commit is contained in:
broodjeaap89 2021-09-09 20:28:17 +02:00
parent 3c3dfe706a
commit 67edbfc472

View file

@ -54,9 +54,11 @@ class RecipesPageState extends State<RecipesPage> {
}
return InkWell(
onTap: () {
FocusScope.of(context).unfocus();
Navigator.pushNamed(context, "/recipe/view", arguments: pizzaRecipe);
},
onLongPress: () {
FocusScope.of(context).unfocus();
showDialog(context: context, builder: (BuildContext context) {
return AlertDialog(
title: Text(pizzaRecipe.name),