Commit 8ba3cfcc by Rizal Hermawan

refactor: textinput value will appear if autoRemoveControllerValue is false

parent b9a51039
......@@ -749,7 +749,7 @@ class FloatingSearchBarState extends ImplicitlyAnimatedWidgetState<
autocorrect: widget.autocorrect,
clearQueryOnClose: widget.clearQueryOnClose,
debounceDelay: widget.debounceDelay,
hint: widget.hint,
hint: widget.autoRemoveControllerValue == false ? widget.controller!.query : widget.hint,
onQueryChanged: widget.onQueryChanged,
onSubmitted: widget.onSubmitted,
progress: widget.progress,
......
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