added unfocus of search text input
This commit is contained in:
parent
3c3dfe706a
commit
67edbfc472
1 changed files with 2 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue