Thanks for taking the time to contribute — you’re helping make the Dart ecosystem better.
This repository is a template for Dart packages. If you’re using it for your own project, feel free to edit this file to match your workflow.
By participating in this project, you agree to follow our Code of Conduct.
- Report bugs
- Suggest enhancements
- Improve documentation
- Submit pull requests
- Share examples and use-cases
If you’re unsure whether something is a bug or a feature request, open an issue and describe:
- What you expected to happen
- What actually happened
- Steps to reproduce (if applicable)
- Your Dart SDK version (
dart --version)
When opening an issue, please include:
- A clear title and description
- Reproduction steps (minimal, if possible)
- Expected vs actual behavior
- Logs, stack traces, or screenshots (if relevant)
Prerequisites:
- Dart SDK (see
pubspec.yamlfor the supported SDK range)
Common commands:
- Get dependencies:
dart pub get - Format:
dart format . - Analyze:
dart analyze - Run tests:
dart test
Tip: Keep your editor set to “format on save”.
We welcome PRs of all sizes. Small, focused PRs are easiest to review.
- Run
dart format . - Run
dart analyze - Run
dart test - Update documentation if behavior or APIs changed
- Add or update tests for bug fixes and new features
- If you changed public API, update
CHANGELOG.md
- Keep PRs focused on a single concern (feature, fix, docs)
- Avoid drive-by refactors unless they’re necessary for the change
- Prefer backwards-compatible improvements when possible
Maintainers will aim to respond, but response time can vary. If you haven’t heard back after a reasonable amount of time, a gentle ping is welcome.
If you discover a security issue, please do not open a public issue.
Instead, report it privately to the maintainer(s)!
Unless stated otherwise, contributions you submit are provided under this project’s license (see LICENSE).
If your organization requires a Contributor License Agreement (CLA) or similar, replace this section with your preferred process.