Flutter Searchbox Contribution Guide ๐
March 4, 2021 ยท View on GitHub
Welcome to the contribution guide! We welcome all contributions. You can see the list of open issues over here. If you're interested in picking up something, feel free to start a discussion ๐บ
The searchbox monorepo contains the code for the headless core(searchbase) and the searchbox UI widgets for flutter(flutter_searchbox). Project specific README files are available inside each package.
Initial setup
-
Fork the repository in order to send PRs
-
Clone the repo from your profile, use SSH if possible. Read more about it over here.
-
cdinto the project directory -
Checkout the
masterbranch (should be default) -
Install flutter SDK. Please follow the instructions mentioned at here.
Searchbase
-
Searchbase dart code is located at here.
-
To run an example follow the below steps:
cdinto the example
cd searchbase/example/basic
- Install dependencies
flutter pub get
- Activate webdev
flutter pub global activate webdev
- Run the example
webdev serve
The web examples depend relatively on the searchbase package so you can make the changes in the lib and test on the fly.
Note: If you see any issue while running the example please check the installation guide for dart web.
Flutter Searchbox
-
Flutter searchbox provides ready-to-use UI widgets to build search UIs for flutter apps. It uses the
searchbaselibrary to manage the state of the active search widgets. -
It is located at here.
-
If you want to watch for the changes in the
searchbaselib then use a relative path instead of the direct dependency at here. -
To run an example follow the below steps:
cdinto the example
cd flutter_searchbox/example
- Open ios simulator
Open -a Simulator.app
- Install dependencies
flutter pub get
- Run the example
flutter run