Skip to content

Instantly share code, notes, and snippets.

@dander11
Created December 30, 2018 19:55
Show Gist options
  • Select an option

  • Save dander11/6fafda55a89760f48d9f1deab47c4860 to your computer and use it in GitHub Desktop.

Select an option

Save dander11/6fafda55a89760f48d9f1deab47c4860 to your computer and use it in GitHub Desktop.
CustomSearchDelegate init
class CustomSearchDelegate extends SearchDelegate {
@override
List<Widget> buildActions(BuildContext context) {
// TODO: implement buildActions
return null;
}
@override
Widget buildLeading(BuildContext context) {
// TODO: implement buildLeading
return null;
}
@override
Widget buildResults(BuildContext context) {
// TODO: implement buildResults
return null;
}
@override
Widget buildSuggestions(BuildContext context) {
// TODO: implement buildSuggestions
return null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment