The easiest way to get involved is to create a new issue when you spot a bug, if the documentation is incomplete or out of date, or if you identify an implementation problem.
If you'd like to add a feature or fix a bug, we're more than happy to accept pull requests! We only ask a few things:
- Ensure your code contains no analyzer errors, e.g.
- Code is strong-mode compliant
- Code is free of lint errors
- Format your code with
dart format - Write tests for all new code paths, consider using the Stream Matchers available from the test package.
- Write helpful documentation
- If you would like to make a bigger / fundamental change to the codebase, please file a lightweight example PR / issue, or contact us in Gitter so we can discuss the issue.
- Extend from
Stream - Add the new
Streamto the exportedrx_streamslibrary - If the Stream is not a broadcast stream, ensure it properly enforces the single-subscription contract
- Ensure the stream closes properly
- Add new tests to
tests/rxdart_test.dart
- Extend from the
StreamTransformerclass so it can be used independently - Use the
StreamTransformerin anextensionmethod - Add the new
StreamTransformerto the exportedrx_transformerslibrary - Ensure the
StreamTransformercan be re-used - Add new tests to
tests/rxdart_test.dart