AppBar with Animation SearchBar.
In the pubspec.yaml
of your flutter project, add the following dependency:
dependencies:
...
good_search_appbar: ^0.0.2
class SearchPage extends StatelessWidget {
const SearchPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: GoodSearchAppBar(
title: 'Search',
onSearchChanged: (query) {
log(query);
},
),
body: const Center(
child: Text('Search Page'),
),
);
}
}
If you encounter any issue you or want to leave a suggestion you can do it by filling an issue.