ruki_search 0.0.1 ruki_search: ^0.0.1 copied to clipboard
A configurable self-contained seacrh widget for flutter.
This Widget is a replacement of Flutter's SearchPageDelegate. It's improved upon it and allows multiple type of search, it has in-built fetch async operations and also pagniations for the result page. The results page and suggestion pages are fully customisable.
Features #
- ISearchable Make sure to implement the
ISearchable
class. The search page allows search on any model that has implemented this interface - Search Bar Button You can use
SearchPage.SearchBarButton
as the trigger for the search page or directly implement the search page as is. - Lazy Loading and Pagination
- Direct async data fetch when searching
Getting started #
dart pub add ruki_search
- Implement the ISearchable interface on your models
- That's it follow the example for more.
Usage #
const like = 'sample';