-
-
Notifications
You must be signed in to change notification settings - Fork 650
Closed
Description
Describe the bug
GFAppBar with searchBar: true, it will show x button when search bar expanded.
If taps this button, search bar input would be cleared with collapsed.
But, even though text changed, no onChanged callback fired.
To Reproduce
GFAppBar(
title: Text('Search'),
searchBar: true,
onChanged: onQueryChanged,
searchBarColorTheme: Colors.black,
searchHintStyle: Get.textTheme.headline1.apply(
color: Colors.black,
),
)- tap search magnifying button to expand
- input something with checking
onChangedworks - tap
Xright side, to collapse search bar. - no
onChangedfired - repeat step1 again to see what current input is (it would be empty.)
Expected behavior
At step3, we need to get onChanged with empty string
And / Or searchbar event for expand / collapse
nvrthles and Abishek1997
Metadata
Metadata
Assignees
Labels
No labels