Can't find any information about this.
Is it the creator of the project, all contributors who had their code merged or all contributors who have a certain amount of code in the project?
Consider a code base of 500 lines, and the following contributors:
name: my_package
description: A Widget that does everything.
authors:
- Creator <[email protected]> #500 lines
- Contributor1 <[email protected]> #1000 lines
- Contributor2 <[email protected]> #100 lines
- Contributor3 <[email protected]> #10 lines
- Contributor4 <[email protected]> #1 lines
homepage: https://github.com/me/my_package
version: 1.2.0
Which contributors belong in authors?
Open <flutter project> / pubspec. yaml under this file look for dev_dependencies : section, just below it add change app package name, as shown in below screenshot.
The pubspec is written in YAML, which is human readable, but be aware that white space (tabs v spaces) matters. The pubspec file specifies dependencies that the project requires, such as particular packages (and their versions), fonts, or image files.
The pubspec. yaml file is transversal to all apps and packages - it is where we add metadata to our project, stipulate the Dart and Flutter SDK constraints, manage the dependencies and also set Flutter-specific configurations.
It's common to have all people who contributed anything listed, even fixes to typos in README or code files, but it's completely up to the project owner.
It's probably a good idea to add a CONTRIBUTING.md file to your project and mention the rules you want to apply to your project. You could also mention that people who are interested include themselves to authors
in pubspec.yaml
so you don't need to maintain it yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With