Last active
March 23, 2024 13:13
-
-
Save edilsonmatola/d9ad915e9ba1001ca54ce045efaa1ccb to your computer and use it in GitHub Desktop.
Useful .gitignore template for your Dart/Flutter project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Miscellaneous | |
*.class | |
*.lock | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ | |
.buildlog/ | |
.history | |
.svn/ | |
# IntelliJ related | |
*.iml | |
*.ipr | |
*.iws | |
.idea/ | |
# Visual Studio Code related | |
.vscode/ | |
# Flutter repo-specific | |
/bin/cache/ | |
/bin/mingit/ | |
/dev/benchmarks/mega_gallery/ | |
/dev/bots/.recipe_deps | |
/dev/bots/android_tools/ | |
/dev/docs/doc/ | |
/dev/docs/flutter.docs.zip | |
/dev/docs/lib/ | |
/dev/docs/pubspec.yaml | |
/packages/flutter/coverage/ | |
version | |
# Flutter/Dart/Pub related | |
**/doc/api/ | |
.dart_tool/ | |
.flutter-plugins | |
.packages | |
.pub-cache/ | |
.pub/ | |
build/ | |
flutter_*.png | |
linked_*.ds | |
unlinked.ds | |
unlinked_spec.ds | |
.flutter-plugins-dependencies | |
generated_plugin_registrant.dart | |
# Android related | |
**/android/**/gradle-wrapper.jar | |
**/android/.gradle | |
**/android/captures/ | |
**/android/gradlew | |
**/android/gradlew.bat | |
**/android/local.properties | |
**/android/**/GeneratedPluginRegistrant.java | |
**/android/key.properties | |
*.jks | |
# iOS/XCode related | |
**/ios/**/*.mode1v3 | |
**/ios/**/*.mode2v3 | |
**/ios/**/*.moved-aside | |
**/ios/**/*.pbxuser | |
**/ios/**/*.perspectivev3 | |
**/ios/**/*sync/ | |
**/ios/**/.sconsign.dblite | |
**/ios/**/.tags* | |
**/ios/**/.vagrant/ | |
**/ios/**/DerivedData/ | |
**/ios/**/Icon? | |
**/ios/**/Pods/ | |
**/ios/**/.symlinks/ | |
**/ios/**/profile | |
**/ios/**/xcuserdata | |
**/ios/.generated/ | |
**/ios/Flutter/App.framework | |
**/ios/Flutter/Flutter.framework | |
**/ios/Flutter/Generated.xcconfig | |
**/ios/Flutter/app.flx | |
**/ios/Flutter/app.zip | |
**/ios/Flutter/flutter_assets/ | |
**/ios/ServiceDefinitions.json | |
**/ios/Runner/GeneratedPluginRegistrant.* | |
**/ios/Flutter/flutter_export_environment.sh | |
# Exceptions to above rules. | |
!**/ios/**/default.mode1v3 | |
!**/ios/**/default.mode2v3 | |
!**/ios/**/default.pbxuser | |
!**/ios/**/default.perspectivev3 | |
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages | |
# Firebase configuration files | |
# ios/Runner/GoogleService-Info.plist | |
# android/app/google-services.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment