Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit a3441bb

Browse files
author
Martin Braun
committed
chore: remove redundancy and optimised .gitignore
1 parent 19cbcd0 commit a3441bb

File tree

9 files changed

+278
-63
lines changed

9 files changed

+278
-63
lines changed

.gitignore

Lines changed: 274 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,31 @@
1-
# Miscellaneous
2-
*.class
3-
*.log
4-
*.pyc
5-
*.swp
6-
.DS_Store
7-
.atom/
8-
.buildlog/
9-
.history
10-
.svn/
11-
.fvm/flutter_sdk
12-
13-
# IntelliJ related
14-
*.iml
15-
*.ipr
16-
*.iws
17-
.idea/
18-
19-
# The .vscode folder contains launch configuration and tasks you configure in
20-
# VS Code which you may wish to be included in version control, so this line
21-
# is commented out by default.
22-
#.vscode/
1+
# Created by https://www.toptal.com/developers/gitignore/api/flutter,vim,visualstudiocode,androidstudio,xcode,windows,macos,linux
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=flutter,vim,visualstudiocode,androidstudio,xcode,windows,macos,linux
233

4+
### Flutter ###
245
# Flutter/Dart/Pub related
256
**/doc/api/
267
.dart_tool/
278
.flutter-plugins
289
.flutter-plugins-dependencies
10+
.fvm/flutter_sdk
2911
.packages
3012
.pub-cache/
3113
.pub/
3214
build/
15+
coverage/
16+
lib/generated_plugin_registrant.dart
17+
# For library packages, don’t commit the pubspec.lock file.
18+
# Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies.
19+
# See https://dart.dev/guides/libraries/private-files#pubspeclock
20+
#pubspec.lock
3321

3422
# Android related
3523
**/android/**/gradle-wrapper.jar
3624
**/android/.gradle
3725
**/android/captures/
3826
**/android/gradlew
3927
**/android/gradlew.bat
28+
**/android/key.properties
4029
**/android/local.properties
4130
**/android/**/GeneratedPluginRegistrant.java
4231

@@ -57,6 +46,7 @@ build/
5746
**/ios/**/profile
5847
**/ios/**/xcuserdata
5948
**/ios/.generated/
49+
**/ios/Flutter/.last_build_id
6050
**/ios/Flutter/App.framework
6151
**/ios/Flutter/Flutter.framework
6252
**/ios/Flutter/Flutter.podspec
@@ -74,4 +64,265 @@ build/
7464
!**/ios/**/default.pbxuser
7565
!**/ios/**/default.perspectivev3
7666
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
77-
example/android/app/src/main/AndroidManifest.xml
67+
68+
### Linux ###
69+
*~
70+
71+
# temporary files which can be created if a process still has a handle open of a deleted file
72+
.fuse_hidden*
73+
74+
# KDE directory preferences
75+
.directory
76+
77+
# Linux trash folder which might appear on any partition or disk
78+
.Trash-*
79+
80+
# .nfs files are created when an open file is removed but is still being accessed
81+
.nfs*
82+
83+
### macOS ###
84+
# General
85+
.DS_Store
86+
.AppleDouble
87+
.LSOverride
88+
89+
# Icon must end with two \r
90+
Icon
91+
92+
93+
# Thumbnails
94+
._*
95+
96+
# Files that might appear in the root of a volume
97+
.DocumentRevisions-V100
98+
.fseventsd
99+
.Spotlight-V100
100+
.TemporaryItems
101+
.Trashes
102+
.VolumeIcon.icns
103+
.com.apple.timemachine.donotpresent
104+
105+
# Directories potentially created on remote AFP share
106+
.AppleDB
107+
.AppleDesktop
108+
Network Trash Folder
109+
Temporary Items
110+
.apdisk
111+
112+
### macOS Patch ###
113+
# iCloud generated files
114+
*.icloud
115+
116+
### Vim ###
117+
# Swap
118+
[._]*.s[a-v][a-z]
119+
!*.svg # comment out if you don't need vector files
120+
[._]*.sw[a-p]
121+
[._]s[a-rt-v][a-z]
122+
[._]ss[a-gi-z]
123+
[._]sw[a-p]
124+
125+
# Session
126+
Session.vim
127+
Sessionx.vim
128+
129+
# Temporary
130+
.netrwhist
131+
# Auto-generated tag files
132+
tags
133+
# Persistent undo
134+
[._]*.un~
135+
136+
### VisualStudioCode ###
137+
.vscode/*
138+
!.vscode/settings.json
139+
!.vscode/tasks.json
140+
!.vscode/launch.json
141+
!.vscode/extensions.json
142+
!.vscode/*.code-snippets
143+
144+
# Local History for Visual Studio Code
145+
.history/
146+
147+
# Built Visual Studio Code Extensions
148+
*.vsix
149+
150+
### VisualStudioCode Patch ###
151+
# Ignore all local history of files
152+
.history
153+
.ionide
154+
155+
### Windows ###
156+
# Windows thumbnail cache files
157+
Thumbs.db
158+
Thumbs.db:encryptable
159+
ehthumbs.db
160+
ehthumbs_vista.db
161+
162+
# Dump file
163+
*.stackdump
164+
165+
# Folder config file
166+
[Dd]esktop.ini
167+
168+
# Recycle Bin used on file shares
169+
$RECYCLE.BIN/
170+
171+
# Windows Installer files
172+
*.cab
173+
*.msi
174+
*.msix
175+
*.msm
176+
*.msp
177+
178+
# Windows shortcuts
179+
*.lnk
180+
181+
### Xcode ###
182+
## User settings
183+
xcuserdata/
184+
185+
## Xcode 8 and earlier
186+
*.xcscmblueprint
187+
*.xccheckout
188+
189+
### Xcode Patch ###
190+
*.xcodeproj/*
191+
!*.xcodeproj/project.pbxproj
192+
!*.xcodeproj/xcshareddata/
193+
!*.xcodeproj/project.xcworkspace/
194+
!*.xcworkspace/contents.xcworkspacedata
195+
/*.gcno
196+
**/xcshareddata/WorkspaceSettings.xcsettings
197+
198+
### AndroidStudio ###
199+
# Covers files to be ignored for android development using Android Studio.
200+
201+
# Built application files
202+
*.apk
203+
*.ap_
204+
*.aab
205+
206+
# Files for the ART/Dalvik VM
207+
*.dex
208+
209+
# Java class files
210+
*.class
211+
212+
# Generated files
213+
bin/
214+
gen/
215+
out/
216+
217+
# Gradle files
218+
.gradle
219+
.gradle/
220+
221+
# Signing files
222+
.signing/
223+
224+
# Local configuration file (sdk path, etc)
225+
local.properties
226+
227+
# Proguard folder generated by Eclipse
228+
proguard/
229+
230+
# Log Files
231+
*.log
232+
233+
# Android Studio
234+
/*/build/
235+
/*/local.properties
236+
/*/out
237+
/*/*/build
238+
/*/*/production
239+
captures/
240+
.navigation/
241+
*.ipr
242+
*.swp
243+
244+
# Keystore files
245+
*.jks
246+
*.keystore
247+
248+
# Google Services (e.g. APIs or Firebase)
249+
# google-services.json
250+
251+
# Android Patch
252+
gen-external-apklibs
253+
254+
# External native build folder generated in Android Studio 2.2 and later
255+
.externalNativeBuild
256+
257+
# NDK
258+
obj/
259+
260+
# IntelliJ IDEA
261+
*.iml
262+
*.iws
263+
/out/
264+
265+
# User-specific configurations
266+
.idea/caches/
267+
.idea/libraries/
268+
.idea/shelf/
269+
.idea/workspace.xml
270+
.idea/tasks.xml
271+
.idea/.name
272+
.idea/compiler.xml
273+
.idea/copyright/profiles_settings.xml
274+
.idea/encodings.xml
275+
.idea/misc.xml
276+
.idea/modules.xml
277+
.idea/scopes/scope_settings.xml
278+
.idea/dictionaries
279+
.idea/vcs.xml
280+
.idea/jsLibraryMappings.xml
281+
.idea/datasources.xml
282+
.idea/dataSources.ids
283+
.idea/sqlDataSources.xml
284+
.idea/dynamic.xml
285+
.idea/uiDesigner.xml
286+
.idea/assetWizardSettings.xml
287+
.idea/gradle.xml
288+
.idea/jarRepositories.xml
289+
.idea/navEditor.xml
290+
291+
# Legacy Eclipse project files
292+
.classpath
293+
.project
294+
.cproject
295+
.settings/
296+
297+
# Mobile Tools for Java (J2ME)
298+
.mtj.tmp/
299+
300+
# Package Files #
301+
*.war
302+
*.ear
303+
304+
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
305+
hs_err_pid*
306+
307+
## Plugin-specific files:
308+
309+
# mpeltonen/sbt-idea plugin
310+
.idea_modules/
311+
312+
# JIRA plugin
313+
atlassian-ide-plugin.xml
314+
315+
# Mongo Explorer plugin
316+
.idea/mongoSettings.xml
317+
318+
# Crashlytics plugin (for Android Studio and IntelliJ)
319+
com_crashlytics_export_strings.xml
320+
crashlytics.properties
321+
crashlytics-build.properties
322+
fabric.properties
323+
324+
### AndroidStudio Patch ###
325+
326+
!/gradle/wrapper/gradle-wrapper.jar
327+
328+
# End of https://www.toptal.com/developers/gitignore/api/flutter,vim,visualstudiocode,androidstudio,xcode,windows,macos,linux

.vim/coc-settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
{
2-
"flutter.sdk.path": ".fvm/flutter_sdk"
3-
}
4-
1+
{}

.vscode/settings.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

example/.fvm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../.fvm

example/.fvm/fvm_config.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

example/.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../.vim

example/.vim/coc-settings.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

example/.vscode/settings.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/src/google_map_place_picker.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ class GoogleMapPlacePicker extends StatelessWidget {
181181
_buildPin(),
182182
],
183183
))),
184-
if (!this.fullMotion) _buildGoogleMap(context),
185-
if (!this.fullMotion) _buildPin(),
184+
if (!this.fullMotion) ...[_buildGoogleMap(context), _buildPin()],
186185
_buildFloatingCard(),
187186
_buildMapIcons(context),
188187
_buildZoomButtons()

0 commit comments

Comments
 (0)