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(
|
return InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
FocusScope.of(context).unfocus();
|
||||||
Navigator.pushNamed(context, "/recipe/view", arguments: pizzaRecipe);
|
Navigator.pushNamed(context, "/recipe/view", arguments: pizzaRecipe);
|
||||||
},
|
},
|
||||||
onLongPress: () {
|
onLongPress: () {
|
||||||
|
FocusScope.of(context).unfocus();
|
||||||
showDialog(context: context, builder: (BuildContext context) {
|
showDialog(context: context, builder: (BuildContext context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
title: Text(pizzaRecipe.name),
|
title: Text(pizzaRecipe.name),
|
||||||
|
|
Loading…
Add table
Reference in a new issue