fix icon client to enable error text
This commit is contained in:
parent
b18f8dd1d0
commit
712a7db2e8
1 changed files with 3 additions and 0 deletions
|
|
@ -100,6 +100,9 @@ class _MySearchFieldState extends State<MySearchField> {
|
||||||
color: Colors.blueAccent,
|
color: Colors.blueAccent,
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
setState(() {
|
||||||
|
startup = false;
|
||||||
|
});
|
||||||
if (widget.controller.text != "") {
|
if (widget.controller.text != "") {
|
||||||
widget.onTap();
|
widget.onTap();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue