Thank you for your interest in contributing! Your work can help many developers.
Note All packages target Flutter's beta channel
- Fork the repo and clone it to your local machine, creating a branch to work on.
- Make the changes.
- If there exists an example app under
/example
, use it to manually test your changes. - Write a unit test for your change, under
test/
. - Update the
CHANGELOG.md
usingcider
. For example:cider log changed|added|fixed|removed 'Added a schmilblick'
- Make sure all the existing tests are passing with
flutter test
. - Make sure the repo is formatted using
dart format .
. - Commit the changes to your branch and push.
That's it! Releasing is done by team members, see the Releasing section below.
- Create a PR to merge your branch into
flutter-packages/main
. - A reviewer will be automatically assigned.
Note For package maintainers only
Tip To run a command for all subpackages, use
for d in ./packages/*; do (cd "$d" && <command>); done
-
Bump
pubspec.yaml
'sversion
with:cider bump major|minor|patch
-
Update the
CHANGELOG.md
with:cider release
-
Publish to pub.dev with:
flutter pub publish
-
Create and push a commit and tag
git commit -am "bump \`$(basename $PWD)\` to $(cider version)" git tag "$(basename $PWD)-$(cider version)" git push --all
New packages should be accounted for in: