Last active
December 30, 2018 19:55
-
-
Save dander11/bf29294b3fbead7cdcc1dbf2395fbfe4 to your computer and use it in GitHub Desktop.
Implementing search in Flutter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SliverAppBar( | |
| floating: true, | |
| snap: true, | |
| title: Text("Search App"), | |
| actions: <Widget>[ | |
| IconButton( | |
| icon: Icon(Icons.search), | |
| onPressed: () { | |
| showSearch( | |
| context: context, | |
| delegate: CustomSearchDelegate(), | |
| ); | |
| }, | |
| ), | |
| ], | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment