Last active
December 30, 2018 20:40
-
-
Save dander11/3bb1e4be39f7f726bee683e27eb58211 to your computer and use it in GitHub Desktop.
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
| class CustomSearchDelegate extends SearchDelegate { | |
| @override | |
| ThemeData appBarTheme(BuildContext context) { | |
| assert(context != null); | |
| final ThemeData theme = Theme.of(context); | |
| assert(theme != null); | |
| return theme; | |
| } | |
| ... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment