Files
packages/CONTRIBUTING.md
stuartmorgan 5cc71d00ac Update Flutter wiki links (#6789)
Updates all links to the Flutter wiki to point to their new location in the flutter/flutter repository. (The sole exception is a link to a doc that doesn't have a final home yet, and is linked from legacy code anyway so doesn't really need to be updated.)

While touching the PR template, makes a few minor improvements:
- Removes the breaking change discussion that doesn't apply to this repository, as breaking changes are handled totally differently for packages (and is covered by the link to docs about Dart versioning).
- Adds text and a link to reflect the fact that some PRs can be changelog-exempt.
2024-05-26 12:47:23 +00:00

2.8 KiB

Welcome

For an introduction to contributing to Flutter, see our contributor guide.

Additional resources specific to the packages repository:

Code review processes and automation

PRs will automatically be assigned to code owners for review. If a code owner is creating a PR, they should explicitly pick another Flutter team member as a code reviewer.

Style

Flutter packages and plugins follow Google style—or Flutter style for Dart—for the languages they use, and use auto-formatters:

  • Dart formatted with dart format
  • C++ formatted with clang-format
    • Note: The Linux plugins generally follow idiomatic GObject-based C style. See the engine style notes for more details, and exceptions.
  • Java formatted with google-java-format
  • Kotlin formatted with ktfmt
  • Objective-C formatted with clang-format
  • Swift formatted with swift-format

Releasing

If you are a team member landing a PR, or just want to know what the release process is for package changes, see the release documentation.