-
-
Notifications
You must be signed in to change notification settings - Fork 932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Use flutter pub add
to add flame
dependency
#2823
Conversation
flutter pub add
to add flame
dependencyflutter pub add
to add flame
dependency
doc/README.md
Outdated
|
||
```console | ||
$ flutter pub add flame | ||
Resolving dependencies... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can skip the output of the command, it might confuse some beginners since it'll say different versions for them later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The linter spat the dummy because I had the $
before the command and no output. I can strip it back to just the command without upsetting the linter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm! I don't understand why it complains that consts
isn't needed in the dictionary anymore, but I guess you can just remove it so that it becomes green.
Done! |
Description
Use
flutter pub add
instead of munging thepubspec.yaml
file for addingflame
as a dependencyChecklist
docs
and added dartdoc comments with///
.examples
ordocs
.Breaking Change?
Related Issues
Replace or remove this text.