Did you know?
If you use build_runner and your generated Dart files are added to Git, you can hide them by default in your PRs and diffs.
To do this, simply add them to a .gitattributes file at the root of the project. 👇
Here's what the official GitHub docs say about this:
To learn more about code generation in Dart, read this ultimate guide on my site:
Found this useful? Show some love and share the original tweet
Previous | Next |
---|---|
Force App Upgrade Gone Wrong | Useful Aliases for Flutter Development |