We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text input action for the FloatingSearchBar should be set to search or be configurable. See updated code below.
File: floating_search_bar.dart
@override Widget build(BuildContext context) { return Scaffold( drawer: drawer, endDrawer: endDrawer, body: CustomScrollView( slivers: <Widget>[ SliverFloatingBar( leading: leading, floating: true, title: title ?? TextField( textInputAction: TextInputAction.search, <---------------- Line added controller: controller, decoration: decoration ?? InputDecoration.collapsed( hintText: "Search...", ), autofocus: false, onChanged: onChanged, onTap: onTap, ), trailing: trailing, ), SliverList( delegate: _childDelagate, ), ], ), ); }
The text was updated successfully, but these errors were encountered:
This issue has been closed due to inactivity.
Sorry, something went wrong.
No branches or pull requests
The text input action for the FloatingSearchBar should be set to search or be configurable. See updated code below.
File: floating_search_bar.dart
The text was updated successfully, but these errors were encountered: