We welcome contributions to the upper_flutter_stores package! Whether it's bug fixes, feature suggestions, documentation improvements, or code enhancements, your input is invaluable to us. Please follow the guidelines below to make the process smooth and collaborative.
- Getting Started
- Reporting Issues
- Feature Requests
- Code Contributions
- Testing Contributions
- Documentation Contributions
- Community Guidelines
- Familiarize yourself with the repository by reading the README.md and the API Definition.
- Make sure you have Flutter and Dart installed. Refer to the Flutter Installation Guide.
- Clone the repository and set it up locally:
git clone https://github.com/upperdo/upper_flutter_stores.git cd upper_flutter_stores flutter pub get
If you encounter a bug or an issue:
- Check if the issue has already been reported in the Issues section.
- If not, create a new issue and provide:
- A clear and descriptive title.
- Steps to reproduce the issue.
- Expected and actual behavior.
- Flutter version and relevant environment details.
- If applicable, include code snippets or screenshots to help illustrate the problem.
We’re open to new ideas! To request a feature:
- Search the Issues section to ensure the feature hasn’t already been requested.
- Open a new issue and tag it with
feature-request. - Clearly describe:
- The problem the feature aims to solve.
- How it would improve the package.
- Any alternative solutions you’ve considered.
- Fork the repository by clicking the "Fork" button on the top right of the repository page.
- Clone your fork locally:
git clone https://github.com/<your-username>/upper_flutter_stores.git cd upper_flutter_stores
Follow this convention for branch names:
- Feature:
feature/<feature-name>(e.g.,feature/add-middleware) - Bug Fix:
bugfix/<issue-number>(e.g.,bugfix/42-fix-persistence) - Documentation:
docs/<section>(e.g.,docs/update-readme)
- Follow Dart and Flutter best practices.
- Run
flutter analyzeto ensure your code adheres to linting standards. - Write descriptive commit messages:
- Use present tense (e.g., "Add new middleware support").
- Include the issue number if applicable (e.g., "Fix #42: Resolve persistence bug").
- Push your branch to your fork:
git push origin <branch-name>
- Open a pull request (PR) on the original repository:
- Provide a clear title and description.
- Reference related issues (e.g., "Closes #42").
- Include screenshots or GIFs for visual changes.
- Collaborate with maintainers by addressing review comments promptly.
Before submitting your PR:
- Write tests for your code if applicable.
- Run all tests to ensure nothing is broken:
flutter test - Make sure all tests pass and there are no regressions.
Help improve the documentation:
- Update or create files in the
docsfolder following the existing structure. - Ensure links and examples are accurate.
- For significant documentation changes, submit a PR with a description of what you’ve updated.
- Be respectful and collaborative.
- Use inclusive language.
- Provide constructive feedback during code reviews.
- Follow the Code of Conduct.
Thank you for contributing to upper_flutter_stores! Together, we can build a powerful and intuitive state management library for Flutter developers.