Commit adf010cd by Rizal Hermawan

when submitting, does not close the search

parent a050198b
......@@ -263,10 +263,7 @@ class _AnimSearchBarState extends State<AnimSearchBar>
},
onSubmitted: (value) => {
widget.onSubmitted(value),
unfocusKeyboard(),
setState(() {
toggle = 0;
}),
unfocusKeyboard()
},
onEditingComplete: () {
/// on editing complete the keyboard will be closed and the search bar will be closed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment