Android Studioで開発されたFlutterプロジェクトの正当な.gitignoreとは何ですか?
これは私がこれまで持っていたものですが、プロジェクトをAndroid Studioで開くと、Dartサポートを有効にしたり、プロジェクトを閲覧したりできません。
#flutter specific
.flutter-plugins
.DS_Store
.Dart_tool/
.packages
.pub/
build/
Android/app/google-services.json
.idea/
Android/key.properties
pubspec.lock
doc/api/
#ios specific
ios/.generated/
ios/Podfile*
ios/Flutter/Debug.xcconfig
ios/Flutter/Release.xcconfig
ios/Runner.xcworkspace/contents.xcworkspacedata
#Android specific
Android/app/google-services.json
Android/key.properties
# User-specific
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
.idea/modules.xml
.idea/*.iml
.idea/modules
*.iml
# File-based project format
*.iws
# IntelliJ
out/
これは、Android Studio、これがあなたが探しているものであることを望んでいます。
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# Visual Studio Code related
.vscode/
# Flutter/Dart/Pub related
**/doc/api/
.Dart_tool/
.flutter-plugins
.packages
.pub-cache/
.pub/
/build/
# Android related
**/Android/**/gradle-wrapper.jar
**/Android/.gradle
**/Android/captures/
**/Android/gradlew
**/Android/gradlew.bat
**/Android/local.properties
**/Android/**/GeneratedPluginRegistrant.Java
# 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.*
# 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