Skip to content
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

learning material. #92

Open
wants to merge 266 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
88b5b6b
Update dependencies
nohli Mar 4, 2021
1d1692f
Fix analyzer infos
nohli Mar 4, 2021
23f0982
Change template version
nohli Mar 4, 2021
1b22663
Rename repo
nohli Mar 4, 2021
2228162
Enable web and desktop support
nohli Mar 4, 2021
0c72b5a
Fix url_launcher on latest Android versions
nohli Mar 4, 2021
69b7fc9
Renaming
nohli Mar 4, 2021
2b07e01
Auto-shrink images (lossless)
nohli Mar 5, 2021
ad5fa15
Update lint
nohli Mar 6, 2021
27d68c9
Update font_awesome_flutter
nohli Mar 19, 2021
468a3d1
Update pubspec.lock
nohli Mar 20, 2021
64818e4
Auto-shrink images (lossless)
nohli May 4, 2021
6038431
Update pubspec.lock
nohli May 18, 2021
2561c62
Update url_launcher
nohli May 20, 2021
2ec9e3e
Update url_launcher
nohli Jun 3, 2021
e882acd
Fix Unsupported operation: Platform._operatingSystem
nohli Jun 12, 2021
d32b0c3
Update url_launcher
nohli Jun 23, 2021
ba117b9
Update font_awesome_flutter
nohli Jun 23, 2021
7617770
Update contents.xcworkspacedata
nohli Jun 23, 2021
22c278e
Remove const
nohli Jun 23, 2021
6e4f3ee
Replace lint with flutter_lints and fix analyzer messages
nohli Jun 26, 2021
1c4b367
Remove opinionated lint rules
nohli Jun 26, 2021
650ae33
Remove .github folder
nohli Jun 30, 2021
8e3c234
Update url_launcher
nohli Jul 2, 2021
ad33f28
Update to recommended Xcode settings
nohli Jul 2, 2021
3fc094d
Update .gitignore
nohli Jul 4, 2021
9d2e3bf
Update url_launcher
nohli Jul 5, 2021
0ff9d54
Auto-shrink images (lossless)
nohli Jul 5, 2021
73b47ed
Update pubspec.lock
nohli Jul 5, 2021
8c0099c
Auto-shrink images (lossless)
nohli Jul 5, 2021
15a7c12
Update flutter_lints
nohli Jul 7, 2021
c6c472b
Update pubspec.lock
nohli Jul 9, 2021
285cef5
Remove link to GitHub repo (which has a donation button) to comply wi…
nohli Jul 10, 2021
1ff48b9
Update flutter_launcher_icons
nohli Jul 26, 2021
0e0968c
Update pubspec.lock
nohli Jul 28, 2021
748eb3a
Update Gradle
nohli Jul 31, 2021
ffda3b4
Update url_launcher_windows
nohli Aug 19, 2021
5da5bf8
Update flutter_launcher_icons
nohli Aug 23, 2021
4f1fa49
Update url_launcher
nohli Sep 3, 2021
b8725f4
Update to Flutter 2.5, remove deprecations
nohli Sep 9, 2021
c18ae96
Fix slider values not changing
nohli Sep 9, 2021
c923aac
Update Podfile.lock
nohli Sep 9, 2021
acb97d3
Update pubspec.lock
nohli Sep 11, 2021
ed71219
Update pubspec.lock
nohli Sep 12, 2021
d0c8464
Update pubspec.lock
nohli Sep 14, 2021
d3cdf8a
Update gradle version
nohli Sep 15, 2021
f59b8ee
Update url_launcher
nohli Sep 18, 2021
b1d4170
Update Podfile.lock
nohli Sep 18, 2021
fc2f927
Update .gitignore
nohli Sep 20, 2021
7cfb447
Remove untracked files
nohli Sep 20, 2021
4200bb2
Update .gitignore
nohli Sep 21, 2021
077ede6
Update Runner.xcscheme
nohli Sep 21, 2021
7b8ca99
Update pubspec.lock
nohli Sep 22, 2021
f70a7e8
Update url_launcher
nohli Sep 23, 2021
8104c67
Update pubspec.lock
nohli Sep 30, 2021
ae8ef48
Update pubspec.lock
nohli Oct 1, 2021
56ebf7a
Update pubspec.lock
nohli Oct 4, 2021
5f2ab92
Update pubspec.lock
nohli Oct 12, 2021
929e9e3
Update pubspec.lock
nohli Oct 18, 2021
127e3cc
Update font_awesome_flutter
nohli Oct 22, 2021
814039d
Update url_launcher
nohli Nov 22, 2021
c8ca8b6
Auto-shrink images (lossless)
nohli Nov 24, 2021
08573f5
Auto-shrink images (lossless)
nohli Nov 29, 2021
834c11a
Update url_launcher
nohli Nov 30, 2021
4471230
Auto-shrink images (lossless)
nohli Nov 30, 2021
0189fe5
Update url_launcher
nohli Dec 1, 2021
9c3826f
Update Podfile.lock
nohli Dec 2, 2021
0e60213
Update to Flutter 2.8.0
nohli Dec 9, 2021
efb4df9
Remove unnecessary imports
nohli Dec 9, 2021
e53a862
Update several Android gradle versions, fix build for Android 12
nohli Dec 18, 2021
846627f
Create shader warmup file https://docs.flutter.dev/perf/rendering/shader
nohli Dec 24, 2021
6bab257
Replace profile name and picture with photo from Unsplash
nohli Dec 24, 2021
0cf9e0c
Remove old images from readme
nohli Dec 24, 2021
8b9d9ba
Update README.md
nohli Dec 24, 2021
82cb2e0
Update pubspec.lock
nohli Jan 2, 2022
7894361
Update pubspec.lock
nohli Jan 8, 2022
6f9a716
Update Podfile.lock
nohli Jan 11, 2022
7179125
Update url_launcher
nohli Jan 11, 2022
1c62808
Update pubspec.lock
nohli Feb 3, 2022
2bea549
Update url_launcher
nohli Feb 10, 2022
8b2c61b
Update url_launcher
nohli Feb 12, 2022
b42f9a2
Update font_awesome_flutter
nohli Apr 16, 2022
79acbb2
Update Podfile.lock
nohli Apr 16, 2022
6d4eed2
Replace deprecated icons
nohli Apr 16, 2022
97db10a
Update flutter_01.sksl.json
nohli Apr 17, 2022
7b1ffb0
Update platform specific files
nohli Apr 17, 2022
dbb85f0
Add workaround for Missing Push Notification Entitlement
nohli Apr 17, 2022
9c1f150
Update url_launcher
nohli Apr 24, 2022
4ef3cb5
Use default launch mode
nohli Apr 24, 2022
6c5bb88
Upgrade to Flutter 3.0.0 and Dart 2.17
nohli May 11, 2022
65394d0
Fix lints
nohli May 11, 2022
d0e3676
Remove unnecessary dev_dependency
nohli Jul 1, 2022
f33f3e4
Update url_launcher
nohli Jul 1, 2022
c113169
Create/update auto-generated files for macOS
nohli Jul 1, 2022
b59ef63
Update gradle and kotlin versions
nohli Jul 1, 2022
abf2a1a
Update kotlin version
nohli Jul 1, 2022
28c517c
Update url_launcher
nohli Aug 9, 2022
172815e
flutter pub upgrade
nohli Aug 20, 2022
5219529
Use super keyword
nohli Aug 20, 2022
98152e6
Update README.md
nohli Aug 20, 2022
378127c
Change name to templates, shrink images
nohli Aug 20, 2022
3bdfc50
Minor changes
nohli Aug 20, 2022
41ffe9d
Add push notification entitlement
nohli Aug 20, 2022
9445f1c
Update shader warmup file
nohli Aug 20, 2022
9b17c36
Remove unnecessary options in build.gradle
nohli Aug 21, 2022
7479557
Update packages
nohli Sep 13, 2022
4e11a50
pod update
nohli Sep 13, 2022
eea25f7
Update auto-generated Xcode file
nohli Sep 13, 2022
04316b2
Update SkSL warmup file
nohli Sep 13, 2022
0db8d67
Create dependabot.yml
nohli Oct 14, 2022
45a6c45
Bump url_launcher from 6.1.5 to 6.1.6
dependabot[bot] Oct 14, 2022
7fb52de
Add GitHub Action for checking Flutter code
nohli Oct 14, 2022
7c2bc18
Update workflow name
nohli Oct 14, 2022
f846734
Add dependabot checks for GitHub Actions
nohli Oct 14, 2022
dd016ff
Rename job
nohli Oct 14, 2022
567826e
Clean workflows
nohli Oct 14, 2022
f4f251c
Merge pull request #1 from nohli/dependabot/pub/url_launcher-6.1.6
nohli Oct 15, 2022
0093fa2
Add gradle to dependabot
nohli Oct 18, 2022
30e58a0
Bump gradle from 7.2.1 to 7.3.1 in /android
dependabot[bot] Oct 18, 2022
728306b
Bump kotlin_version from 1.7.0 to 1.7.20 in /android
dependabot[bot] Oct 18, 2022
a923b7e
Merge pull request #2 from nohli/dependabot/gradle/android/com.androi…
nohli Oct 18, 2022
78fb0b7
Merge pull request #3 from nohli/dependabot/gradle/android/kotlin_ver…
nohli Oct 18, 2022
d0112ce
Update flutter_checks.yml
nohli Oct 25, 2022
1e10f86
Remove unneeded arguments
nohli Oct 30, 2022
92d73af
Merge branch 'main' of https://github.com/nohli/flutter_templates
nohli Oct 30, 2022
50b0783
Add GitHub Action for Flutter build
nohli Oct 30, 2022
3fcfcbc
Remove cd example
nohli Oct 30, 2022
07e976b
Add pod install to checks
nohli Nov 4, 2022
c9677e5
Bump kotlin_version from 1.7.20 to 1.7.21 in /android
dependabot[bot] Nov 9, 2022
345c1da
Merge pull request #4 from nohli/dependabot/gradle/android/kotlin_ver…
nohli Nov 9, 2022
262b98c
Add build for iOS to workflows
nohli Nov 20, 2022
54ca5b1
Merge branch 'main' of https://github.com/nohli/flutter_templates
nohli Nov 20, 2022
e44698b
Bump url_launcher from 6.1.6 to 6.1.7
dependabot[bot] Nov 23, 2022
03a4cec
Merge pull request #5 from nohli/dependabot/pub/url_launcher-6.1.7
nohli Nov 23, 2022
22f3761
Bump kotlin_version from 1.7.21 to 1.7.22 in /android
dependabot[bot] Nov 29, 2022
b642b04
Merge pull request #6 from nohli/dependabot/gradle/android/kotlin_ver…
nohli Nov 29, 2022
1cd37c4
Bump font_awesome_flutter from 10.2.1 to 10.3.0
dependabot[bot] Dec 5, 2022
81633ce
Merge pull request #7 from nohli/dependabot/pub/font_awesome_flutter-…
nohli Dec 5, 2022
2475f64
Bump intl from 0.17.0 to 0.18.0
dependabot[bot] Dec 15, 2022
bb44c75
Merge pull request #8 from nohli/dependabot/pub/intl-0.18.0
nohli Dec 15, 2022
a5c2ab6
Bump kotlin_version from 1.7.22 to 1.8.0 in /android
dependabot[bot] Dec 29, 2022
e3bb3fb
Merge pull request #9 from nohli/dependabot/gradle/android/kotlin_ver…
nohli Dec 29, 2022
428a75f
Bump gradle from 7.3.1 to 7.4.0 in /android
dependabot[bot] Jan 13, 2023
86f9317
Update gradle wrapper
nohli Jan 13, 2023
5dddc4c
Merge pull request #10 from nohli/dependabot/gradle/android/com.andro…
nohli Jan 13, 2023
a8f36e8
Bump url_launcher from 6.1.7 to 6.1.8
dependabot[bot] Jan 23, 2023
41cd9fe
Merge pull request #11 from nohli/dependabot/pub/url_launcher-6.1.8
nohli Jan 23, 2023
6106d32
Bump vector_math from 2.1.2 to 2.1.4
dependabot[bot] Jan 25, 2023
12a487a
Merge pull request #12 from nohli/dependabot/pub/vector_math-2.1.4
nohli Jan 25, 2023
af07b53
Bump com.android.tools.build:gradle from 7.4.0 to 7.4.1 in /android
dependabot[bot] Feb 2, 2023
09be1c7
Merge pull request #13 from nohli/dependabot/gradle/android/com.andro…
nohli Feb 2, 2023
d099daa
Bump kotlin_version from 1.8.0 to 1.8.10 in /android
dependabot[bot] Feb 3, 2023
88fbf60
Merge pull request #18 from nohli/dependabot/gradle/android/kotlin_ve…
nohli Feb 3, 2023
8564647
Bump url_launcher from 6.1.8 to 6.1.9
dependabot[bot] Feb 7, 2023
30477cd
Merge pull request #19 from nohli/dependabot/pub/url_launcher-6.1.9
nohli Feb 7, 2023
2d46b4f
Bump font_awesome_flutter from 10.3.0 to 10.4.0
dependabot[bot] Feb 13, 2023
57bb548
Merge pull request #20 from nohli/dependabot/pub/font_awesome_flutter…
nohli Feb 13, 2023
16eb9b3
Bump url_launcher from 6.1.9 to 6.1.10
dependabot[bot] Feb 23, 2023
c604be3
Merge pull request #21 from nohli/dependabot/pub/url_launcher-6.1.10
nohli Feb 23, 2023
36319a4
Bump com.android.tools.build:gradle from 7.4.1 to 7.4.2 in /android
dependabot[bot] Feb 28, 2023
8a66d31
Merge pull request #22 from nohli/dependabot/gradle/android/com.andro…
nohli Feb 28, 2023
a9f4cf8
flutter pub get
nohli Apr 5, 2023
a9cc72d
Update Android dependencies
nohli Apr 5, 2023
242d448
Update flutter_checks.yml
nohli Apr 7, 2023
2aad05d
Update flutter_checks.yml
nohli Apr 8, 2023
97f2de0
Shrink images (lossless with ImageOptim)
nohli Apr 11, 2023
a8fdd70
Bump com.android.tools.build:gradle from 7.4.2 to 8.0.0 in /android
dependabot[bot] Apr 14, 2023
fd74ab0
Bump intl from 0.18.0 to 0.18.1
dependabot[bot] Apr 19, 2023
d6b2f98
Flutter pub get
nohli Apr 19, 2023
49f1dd5
Merge pull request #25 from nohli/dependabot/pub/intl-0.18.1
nohli Apr 19, 2023
d5f650e
Bump kotlin_version from 1.8.20 to 1.8.21 in /android
dependabot[bot] Apr 26, 2023
acaafd2
Merge pull request #26 from nohli/dependabot/gradle/android/kotlin_ve…
nohli Apr 26, 2023
564b5c1
Update gradle
nohli Apr 26, 2023
b61c461
Add namespace
nohli Apr 26, 2023
bcd6a98
Update deprecated theme properties
nohli Apr 27, 2023
e8a23e7
format
nohli Apr 27, 2023
790925d
Merge branch 'main' into dependabot/gradle/android/com.android.tools.…
nohli Apr 27, 2023
847a546
Update android/build.gradle
nohli May 2, 2023
17598d5
Replace jcenter with mavenCentral
nohli May 2, 2023
c58d032
Replace jcenter with mavenCentral
nohli May 2, 2023
2b14ea3
Downgrade Gradle plugin, add compileOptions
nohli May 2, 2023
45efd06
Merge pull request #24 from nohli/dependabot/gradle/android/com.andro…
nohli May 2, 2023
bff4010
Bump url_launcher from 6.1.10 to 6.1.11
dependabot[bot] May 10, 2023
fd49785
Flutter pub get
nohli May 10, 2023
f6843e7
Merge pull request #28 from nohli/dependabot/pub/url_launcher-6.1.11
nohli May 10, 2023
2f6d699
Bump com.android.tools.build:gradle from 7.4.2 to 8.0.1 in /android
dependabot[bot] May 10, 2023
50924dd
Merge pull request #27 from nohli/dependabot/gradle/android/com.andro…
nohli May 10, 2023
7fe2881
Remove obsolete SkSL bundle
nohli May 12, 2023
b79ff08
Update deprecated flutter format
nohli May 12, 2023
b7d5e6b
Flutter pub get
nohli May 12, 2023
0eb28cf
flutter pub get
nohli May 12, 2023
90e4056
Add const
nohli May 12, 2023
4d24cbf
Merge branch 'main' of github.com:nohli/flutter_templates
nohli May 12, 2023
3265541
Update text
nohli May 17, 2023
8edcce6
Downgrade Android Gradle Plugin
nohli May 22, 2023
abec976
Auto-update files
nohli May 22, 2023
b13f2b0
Flutter pub get
nohli May 22, 2023
d86319c
Update sdk constraints
nohli May 22, 2023
0eb6c78
Bump com.android.tools.build:gradle from 7.4.2 to 8.0.2 in /android
dependabot[bot] May 25, 2023
c77e355
Bump kotlin_version from 1.8.21 to 1.8.22 in /android
dependabot[bot] Jun 8, 2023
bbe7334
Merge pull request #31 from nohli/dependabot/gradle/android/kotlin_ve…
nohli Jun 8, 2023
e7c81ed
Bump flutter_lints from 2.0.1 to 2.0.2
dependabot[bot] Jun 29, 2023
3aa9436
Bump font_awesome_flutter from 10.4.0 to 10.5.0
dependabot[bot] Jun 29, 2023
a90bf9d
Flutter pub get
nohli Jun 29, 2023
b9c218b
Merge pull request #32 from nohli/dependabot/pub/flutter_lints-2.0.2
nohli Jun 29, 2023
16ebcc8
Merge pull request #33 from nohli/dependabot/pub/font_awesome_flutter…
nohli Jun 29, 2023
f4be633
Upgrade github-action-dart-analyzer
nohli Jul 5, 2023
9fc519c
Bump kotlin_version from 1.8.22 to 1.9.0 in /android
dependabot[bot] Jul 7, 2023
8045e9c
Merge pull request #34 from nohli/dependabot/gradle/android/kotlin_ve…
nohli Jul 7, 2023
88251e4
Merge branch 'main' of github.com:nohli/flutter_templates into depend…
nohli Jul 9, 2023
7e3fe66
Merge pull request #30 from nohli/dependabot/gradle/android/com.andro…
nohli Jul 9, 2023
12e7d7c
Bump url_launcher from 6.1.11 to 6.1.12
dependabot[bot] Jul 10, 2023
f1a56d1
Flutter pub get
nohli Jul 10, 2023
6d88502
Merge pull request #35 from nohli/dependabot/pub/url_launcher-6.1.12
nohli Jul 10, 2023
b5c4b5c
Bump com.android.tools.build:gradle from 8.0.2 to 8.1.0 in /android
dependabot[bot] Jul 26, 2023
43f82eb
Merge pull request #36 from nohli/dependabot/gradle/android/com.andro…
nohli Jul 26, 2023
4158fab
Bump com.android.tools.build:gradle from 8.1.0 to 8.1.1 in /android
dependabot[bot] Aug 23, 2023
9bea073
Flutter pub get
nohli Aug 23, 2023
27f10e3
Merge pull request #37 from nohli/dependabot/gradle/android/com.andro…
nohli Aug 23, 2023
2c7f6b7
Bump kotlin_version from 1.9.0 to 1.9.10 in /android
dependabot[bot] Aug 24, 2023
64c4c6d
Merge pull request #38 from nohli/dependabot/gradle/android/kotlin_ve…
nohli Aug 24, 2023
a2ed478
Bump flutter_lints from 2.0.2 to 2.0.3
dependabot[bot] Aug 30, 2023
8b246b4
Merge pull request #39 from nohli/dependabot/pub/flutter_lints-2.0.3
nohli Aug 30, 2023
0320547
Bump url_launcher from 6.1.12 to 6.1.13
dependabot[bot] Aug 31, 2023
22c9bec
Merge pull request #40 from nohli/dependabot/pub/url_launcher-6.1.13
nohli Aug 31, 2023
e395daf
Bump url_launcher from 6.1.13 to 6.1.14
dependabot[bot] Sep 1, 2023
bf1e3c8
Merge pull request #41 from nohli/dependabot/pub/url_launcher-6.1.14
nohli Sep 1, 2023
1c3e541
flutter pub upgrade with Flutter stable 3.10.6
nohli Sep 1, 2023
d7d4e91
Improve workflows and dependabot
nohli Sep 1, 2023
c045ee1
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 5, 2023
d007bea
Merge pull request #42 from nohli/dependabot/github_actions/actions/c…
nohli Sep 7, 2023
8ef9c60
Bump com.android.tools.build:gradle from 8.1.1 to 8.1.2 in /android
dependabot[bot] Sep 29, 2023
3a91aaf
Merge pull request #43 from nohli/dependabot/gradle/android/com.andro…
nohli Sep 29, 2023
3668624
Bump flutter_lints from 2.0.3 to 3.0.0
dependabot[bot] Oct 19, 2023
b871f24
Merge pull request #44 from nohli/dependabot/pub/flutter_lints-3.0.0
nohli Oct 19, 2023
14f65e7
Bump kotlin_version from 1.9.10 to 1.9.20 in /android
dependabot[bot] Oct 31, 2023
b350c8b
Merge pull request #45 from nohli/dependabot/gradle/android/kotlin_ve…
nohli Oct 31, 2023
2185b4d
Bump com.android.tools.build:gradle from 8.1.2 to 8.1.4 in /android
dependabot[bot] Nov 17, 2023
f36080f
Bump kotlin_version from 1.9.20 to 1.9.21 in /android
dependabot[bot] Nov 24, 2023
85e5f3a
Merge pull request #48 from nohli/dependabot/gradle/android/kotlin_ve…
nohli Nov 24, 2023
dd72a59
Merge pull request #47 from nohli/dependabot/gradle/android/com.andro…
nohli Nov 24, 2023
522a385
Bump actions/setup-java from 3 to 4
dependabot[bot] Nov 30, 2023
7a2b1e7
Merge pull request #49 from nohli/dependabot/github_actions/actions/s…
nohli Jun 6, 2024
ababa6b
Upgrade dependencies
nohli Jun 6, 2024
118ee0e
flutter create --platforms=android .
nohli Jun 6, 2024
36f3f13
Upgrade dependencies
nohli Jun 6, 2024
fe4182e
Upgrade Java
nohli Jun 6, 2024
7b905a7
Fix application name
nohli Jun 6, 2024
3cc4fd5
Bump invertase/github-action-dart-analyzer from 2.0.0 to 3.0.0
dependabot[bot] Jun 7, 2024
b904e8b
Merge pull request #54 from nohli/dependabot/github_actions/invertase…
nohli Jun 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "pub"
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-minor", "version-update:semver-patch"]

- package-ecosystem: "gradle"
directory: "android"
schedule:
interval: "daily"
42 changes: 0 additions & 42 deletions .github/workflows/dart.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .github/workflows/flutter_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Flutter build

on:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
build_android:
name: Build for Android
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get
- name: Flutter build appbundle
run: flutter build appbundle --release

build_ios:
name: Build for iOS
runs-on: macos-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get
- name: Pod install
run: |
cd ios
pod install
- name: Flutter build iOS
run: flutter build ios --release --no-codesign
97 changes: 97 additions & 0 deletions .github/workflows/flutter_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Flutter checks

on:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
check_pub_dependencies:
name: Check dependencies
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get

pod_install:
name: Pod install
runs-on: macos-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get
- name: Pod install
run: |
cd ios
pod install

check_formatting:
name: Check formatting
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get
- name: Check Dart formatting
run: dart format --line-length 80 --set-exit-if-changed .

analyze:
name: Dart analyze
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get
- name: Run Dart analyze
uses: invertase/[email protected]

test:
name: Flutter test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get
- name: Flutter test
run: flutter test
66 changes: 65 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,65 @@
photos
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release

# Exceptions to above rules.
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages

# Fastlane related
ios/fastlane/.env
ios/fastlane/report.xml
android/fastlane/report.xml

# Release related
ios/Runner.ipa
ios/Runner.app.dSYM.zip
android/app/release/app-release.aab

# Other
ios/Flutter/flutter_export_environment.sh
local.properties
**/dgph
**/dgph~
30 changes: 30 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: "a14f74ff3a1cbd521163c5f03d68113d50af93d3"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
- platform: android
create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
Loading