├── .gitattributes
├── .gitignore
├── .metadata
├── .vscode
└── settings.json
├── .vscodecounter
└── 2021-11-13_12-17-09
│ ├── details.md
│ ├── results.csv
│ ├── results.md
│ └── results.txt
├── CODE_OF_CONDUCT.md
├── LICENSE
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── notes_app
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── main.dart
└── src
│ ├── config
│ └── constants.dart
│ ├── models
│ └── note.dart
│ ├── repositories
│ └── note_repository.dart
│ └── ui
│ ├── components
│ ├── note_card.dart
│ └── search_bar.dart
│ ├── functions
│ └── note_card_functions
│ │ ├── delete_note_action.dart
│ │ └── pin_note_action.dart
│ ├── providers
│ └── note_provider.dart
│ └── views
│ ├── home_view
│ ├── components
│ │ ├── home_view_header.dart
│ │ └── tag_card.dart
│ └── home_view.dart
│ ├── note_creation_view
│ ├── components
│ │ ├── content_text_field.dart
│ │ ├── note_creation_view_header.dart
│ │ ├── tag_text_field.dart
│ │ └── title_text_field.dart
│ └── note_creation_view.dart
│ ├── profile_view
│ ├── components
│ │ ├── date_of_first_note_card.dart
│ │ ├── profile_view_header.dart
│ │ ├── total_characters_typed_card.dart
│ │ ├── total_notes_created_card.dart
│ │ └── total_words_typed_card.dart
│ └── profile_view.dart
│ └── tag_view
│ ├── components
│ └── tag_view_header.dart
│ └── tag_view.dart
├── pubspec.lock
├── pubspec.yaml
├── screenshots
├── Simulator Screen Shot - iPhone 12 Pro Max - 2021-06-13 at 18.54.52.png
├── simulator_screenshot_18989CB7-77BD-4DCC-92C5-A9062CC1E64F.png
├── simulator_screenshot_2795C0E4-D853-4697-8B25-46D43AB87FFC.png
├── simulator_screenshot_389D0B14-5BDA-4CA1-8BD3-AB45127C3434.png
├── simulator_screenshot_67D06A41-ADCA-43F2-BBB2-53E1FFA06E9E.png
├── simulator_screenshot_779C7EDE-5372-4792-950B-B1B4C675C6D8.png
├── simulator_screenshot_8B992D8C-23CF-4FEC-8D1C-9B271BBE8E05.png
├── simulator_screenshot_91328528-304B-40EB-9B91-81627EF063C9.png
├── simulator_screenshot_C550D1B3-FDC4-47F1-80A0-80245BD66BDB.png
└── simulator_screenshot_CF1D26E6-3959-4BCB-A47B-1DD69542207C.png
└── videos
├── dark_mode_video.mov
└── light_mode_video.mov
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.ipa filter=lfs diff=lfs merge=lfs -text
2 | *.apk filter=lfs diff=lfs merge=lfs -text
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: adc687823a831bbebe28bdccfac1a628ca621513
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "dart.lineLength": 120
3 | }
4 |
--------------------------------------------------------------------------------
/.vscodecounter/2021-11-13_12-17-09/details.md:
--------------------------------------------------------------------------------
1 | # Details
2 |
3 | Date : 2021-11-13 12:17:09
4 |
5 | Directory /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app
6 |
7 | Total : 46 files, 1819 codes, 122 comments, 244 blanks, all 2185 lines
8 |
9 | [summary](results.md)
10 |
11 | ## Files
12 | | filename | language | code | comment | blank | total |
13 | | :--- | :--- | ---: | ---: | ---: | ---: |
14 | | [README.md](/README.md) | Markdown | 95 | 0 | 13 | 108 |
15 | | [android/app/build.gradle](/android/app/build.gradle) | Groovy | 46 | 3 | 11 | 60 |
16 | | [android/app/src/debug/AndroidManifest.xml](/android/app/src/debug/AndroidManifest.xml) | XML | 4 | 3 | 1 | 8 |
17 | | [android/app/src/main/AndroidManifest.xml](/android/app/src/main/AndroidManifest.xml) | XML | 30 | 11 | 1 | 42 |
18 | | [android/app/src/main/res/drawable-v21/launch_background.xml](/android/app/src/main/res/drawable-v21/launch_background.xml) | XML | 4 | 7 | 2 | 13 |
19 | | [android/app/src/main/res/drawable/launch_background.xml](/android/app/src/main/res/drawable/launch_background.xml) | XML | 4 | 7 | 2 | 13 |
20 | | [android/app/src/main/res/values-night/styles.xml](/android/app/src/main/res/values-night/styles.xml) | XML | 9 | 9 | 1 | 19 |
21 | | [android/app/src/main/res/values/styles.xml](/android/app/src/main/res/values/styles.xml) | XML | 9 | 9 | 1 | 19 |
22 | | [android/app/src/profile/AndroidManifest.xml](/android/app/src/profile/AndroidManifest.xml) | XML | 4 | 3 | 1 | 8 |
23 | | [android/build.gradle](/android/build.gradle) | Groovy | 27 | 0 | 5 | 32 |
24 | | [android/gradle.properties](/android/gradle.properties) | Properties | 3 | 0 | 1 | 4 |
25 | | [android/gradle/wrapper/gradle-wrapper.properties](/android/gradle/wrapper/gradle-wrapper.properties) | Properties | 5 | 1 | 1 | 7 |
26 | | [android/settings.gradle](/android/settings.gradle) | Groovy | 8 | 0 | 4 | 12 |
27 | | [ios/Runner/AppDelegate.swift](/ios/Runner/AppDelegate.swift) | Swift | 12 | 0 | 2 | 14 |
28 | | [ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json](/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json) | JSON | 122 | 0 | 1 | 123 |
29 | | [ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json](/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json) | JSON | 23 | 0 | 1 | 24 |
30 | | [ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md](/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md) | Markdown | 3 | 0 | 2 | 5 |
31 | | [ios/Runner/Base.lproj/LaunchScreen.storyboard](/ios/Runner/Base.lproj/LaunchScreen.storyboard) | XML | 36 | 1 | 1 | 38 |
32 | | [ios/Runner/Base.lproj/Main.storyboard](/ios/Runner/Base.lproj/Main.storyboard) | XML | 25 | 1 | 1 | 27 |
33 | | [ios/Runner/Runner-Bridging-Header.h](/ios/Runner/Runner-Bridging-Header.h) | C++ | 1 | 0 | 1 | 2 |
34 | | [lib/main.dart](/lib/main.dart) | Dart | 28 | 0 | 6 | 34 |
35 | | [lib/src/config/constants.dart](/lib/src/config/constants.dart) | Dart | 1 | 1 | 1 | 3 |
36 | | [lib/src/models/note.dart](/lib/src/models/note.dart) | Dart | 98 | 0 | 13 | 111 |
37 | | [lib/src/repositories/note_repository.dart](/lib/src/repositories/note_repository.dart) | Dart | 67 | 11 | 15 | 93 |
38 | | [lib/src/ui/components/note_card.dart](/lib/src/ui/components/note_card.dart) | Dart | 210 | 12 | 19 | 241 |
39 | | [lib/src/ui/components/search_bar.dart](/lib/src/ui/components/search_bar.dart) | Dart | 50 | 0 | 4 | 54 |
40 | | [lib/src/ui/functions/note_card_functions/delete_note_action.dart](/lib/src/ui/functions/note_card_functions/delete_note_action.dart) | Dart | 34 | 0 | 4 | 38 |
41 | | [lib/src/ui/functions/note_card_functions/pin_note_action.dart](/lib/src/ui/functions/note_card_functions/pin_note_action.dart) | Dart | 35 | 0 | 4 | 39 |
42 | | [lib/src/ui/providers/note_provider.dart](/lib/src/ui/providers/note_provider.dart) | Dart | 6 | 0 | 2 | 8 |
43 | | [lib/src/ui/views/home_view/components/home_view_header.dart](/lib/src/ui/views/home_view/components/home_view_header.dart) | Dart | 37 | 0 | 4 | 41 |
44 | | [lib/src/ui/views/home_view/components/tag_card.dart](/lib/src/ui/views/home_view/components/tag_card.dart) | Dart | 24 | 0 | 4 | 28 |
45 | | [lib/src/ui/views/home_view/home_view.dart](/lib/src/ui/views/home_view/home_view.dart) | Dart | 128 | 0 | 22 | 150 |
46 | | [lib/src/ui/views/note_creation_view/components/content_text_field.dart](/lib/src/ui/views/note_creation_view/components/content_text_field.dart) | Dart | 39 | 0 | 5 | 44 |
47 | | [lib/src/ui/views/note_creation_view/components/note_creation_view_header.dart](/lib/src/ui/views/note_creation_view/components/note_creation_view_header.dart) | Dart | 19 | 0 | 4 | 23 |
48 | | [lib/src/ui/views/note_creation_view/components/tag_text_field.dart](/lib/src/ui/views/note_creation_view/components/tag_text_field.dart) | Dart | 45 | 0 | 7 | 52 |
49 | | [lib/src/ui/views/note_creation_view/components/title_text_field.dart](/lib/src/ui/views/note_creation_view/components/title_text_field.dart) | Dart | 41 | 0 | 5 | 46 |
50 | | [lib/src/ui/views/note_creation_view/note_creation_view.dart](/lib/src/ui/views/note_creation_view/note_creation_view.dart) | Dart | 93 | 6 | 13 | 112 |
51 | | [lib/src/ui/views/profile_view/components/date_of_first_note_card.dart](/lib/src/ui/views/profile_view/components/date_of_first_note_card.dart) | Dart | 52 | 0 | 6 | 58 |
52 | | [lib/src/ui/views/profile_view/components/profile_view_header.dart](/lib/src/ui/views/profile_view/components/profile_view_header.dart) | Dart | 24 | 0 | 3 | 27 |
53 | | [lib/src/ui/views/profile_view/components/total_characters_typed_card.dart](/lib/src/ui/views/profile_view/components/total_characters_typed_card.dart) | Dart | 40 | 0 | 3 | 43 |
54 | | [lib/src/ui/views/profile_view/components/total_notes_created_card.dart](/lib/src/ui/views/profile_view/components/total_notes_created_card.dart) | Dart | 40 | 0 | 3 | 43 |
55 | | [lib/src/ui/views/profile_view/components/total_words_typed_card.dart](/lib/src/ui/views/profile_view/components/total_words_typed_card.dart) | Dart | 45 | 0 | 3 | 48 |
56 | | [lib/src/ui/views/profile_view/profile_view.dart](/lib/src/ui/views/profile_view/profile_view.dart) | Dart | 44 | 0 | 4 | 48 |
57 | | [lib/src/ui/views/tag_view/components/tag_view_header.dart](/lib/src/ui/views/tag_view/components/tag_view_header.dart) | Dart | 27 | 0 | 4 | 31 |
58 | | [lib/src/ui/views/tag_view/tag_view.dart](/lib/src/ui/views/tag_view/tag_view.dart) | Dart | 99 | 0 | 17 | 116 |
59 | | [pubspec.yaml](/pubspec.yaml) | YAML | 23 | 37 | 16 | 76 |
60 |
61 | [summary](results.md)
--------------------------------------------------------------------------------
/.vscodecounter/2021-11-13_12-17-09/results.csv:
--------------------------------------------------------------------------------
1 | "filename", "language", "Groovy", "Properties", "XML", "Dart", "YAML", "Markdown", "Swift", "C++", "JSON", "comment", "blank", "total"
2 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/README.md", "Markdown", 0, 0, 0, 0, 0, 95, 0, 0, 0, 0, 13, 108
3 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/build.gradle", "Groovy", 46, 0, 0, 0, 0, 0, 0, 0, 0, 3, 11, 60
4 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/debug/AndroidManifest.xml", "XML", 0, 0, 4, 0, 0, 0, 0, 0, 0, 3, 1, 8
5 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/AndroidManifest.xml", "XML", 0, 0, 30, 0, 0, 0, 0, 0, 0, 11, 1, 42
6 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/res/drawable-v21/launch_background.xml", "XML", 0, 0, 4, 0, 0, 0, 0, 0, 0, 7, 2, 13
7 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/res/drawable/launch_background.xml", "XML", 0, 0, 4, 0, 0, 0, 0, 0, 0, 7, 2, 13
8 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/res/values-night/styles.xml", "XML", 0, 0, 9, 0, 0, 0, 0, 0, 0, 9, 1, 19
9 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/res/values/styles.xml", "XML", 0, 0, 9, 0, 0, 0, 0, 0, 0, 9, 1, 19
10 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/profile/AndroidManifest.xml", "XML", 0, 0, 4, 0, 0, 0, 0, 0, 0, 3, 1, 8
11 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/build.gradle", "Groovy", 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 32
12 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/gradle.properties", "Properties", 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4
13 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/gradle/wrapper/gradle-wrapper.properties", "Properties", 0, 5, 0, 0, 0, 0, 0, 0, 0, 1, 1, 7
14 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/settings.gradle", "Groovy", 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 12
15 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/AppDelegate.swift", "Swift", 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 2, 14
16 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json", "JSON", 0, 0, 0, 0, 0, 0, 0, 0, 122, 0, 1, 123
17 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json", "JSON", 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 1, 24
18 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md", "Markdown", 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 5
19 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Base.lproj/LaunchScreen.storyboard", "XML", 0, 0, 36, 0, 0, 0, 0, 0, 0, 1, 1, 38
20 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Base.lproj/Main.storyboard", "XML", 0, 0, 25, 0, 0, 0, 0, 0, 0, 1, 1, 27
21 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Runner-Bridging-Header.h", "C++", 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 2
22 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/main.dart", "Dart", 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 6, 34
23 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/config/constants.dart", "Dart", 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 3
24 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/models/note.dart", "Dart", 0, 0, 0, 98, 0, 0, 0, 0, 0, 0, 13, 111
25 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/repositories/note_repository.dart", "Dart", 0, 0, 0, 67, 0, 0, 0, 0, 0, 11, 15, 93
26 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/components/note_card.dart", "Dart", 0, 0, 0, 210, 0, 0, 0, 0, 0, 12, 19, 241
27 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/components/search_bar.dart", "Dart", 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 4, 54
28 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/functions/note_card_functions/delete_note_action.dart", "Dart", 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 4, 38
29 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/functions/note_card_functions/pin_note_action.dart", "Dart", 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, 4, 39
30 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/providers/note_provider.dart", "Dart", 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 2, 8
31 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/home_view/components/home_view_header.dart", "Dart", 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 4, 41
32 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/home_view/components/tag_card.dart", "Dart", 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 4, 28
33 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/home_view/home_view.dart", "Dart", 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 22, 150
34 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/components/content_text_field.dart", "Dart", 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 5, 44
35 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/components/note_creation_view_header.dart", "Dart", 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 4, 23
36 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/components/tag_text_field.dart", "Dart", 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 7, 52
37 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/components/title_text_field.dart", "Dart", 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 5, 46
38 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/note_creation_view.dart", "Dart", 0, 0, 0, 93, 0, 0, 0, 0, 0, 6, 13, 112
39 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/date_of_first_note_card.dart", "Dart", 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 6, 58
40 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/profile_view_header.dart", "Dart", 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 3, 27
41 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/total_characters_typed_card.dart", "Dart", 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 3, 43
42 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/total_notes_created_card.dart", "Dart", 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 3, 43
43 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/total_words_typed_card.dart", "Dart", 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 3, 48
44 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/profile_view.dart", "Dart", 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 4, 48
45 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/tag_view/components/tag_view_header.dart", "Dart", 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 4, 31
46 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/tag_view/tag_view.dart", "Dart", 0, 0, 0, 99, 0, 0, 0, 0, 0, 0, 17, 116
47 | "/Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/pubspec.yaml", "YAML", 0, 0, 0, 0, 23, 0, 0, 0, 0, 37, 16, 76
48 | "Total", "-", 81, 8, 125, 1326, 23, 98, 12, 1, 145, 122, 244, 2185
--------------------------------------------------------------------------------
/.vscodecounter/2021-11-13_12-17-09/results.md:
--------------------------------------------------------------------------------
1 | # Summary
2 |
3 | Date : 2021-11-13 12:17:09
4 |
5 | Directory /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app
6 |
7 | Total : 46 files, 1819 codes, 122 comments, 244 blanks, all 2185 lines
8 |
9 | [details](details.md)
10 |
11 | ## Languages
12 | | language | files | code | comment | blank | total |
13 | | :--- | ---: | ---: | ---: | ---: | ---: |
14 | | Dart | 25 | 1,326 | 30 | 175 | 1,531 |
15 | | JSON | 2 | 145 | 0 | 2 | 147 |
16 | | XML | 9 | 125 | 51 | 11 | 187 |
17 | | Markdown | 2 | 98 | 0 | 15 | 113 |
18 | | Groovy | 3 | 81 | 3 | 20 | 104 |
19 | | YAML | 1 | 23 | 37 | 16 | 76 |
20 | | Swift | 1 | 12 | 0 | 2 | 14 |
21 | | Properties | 2 | 8 | 1 | 2 | 11 |
22 | | C++ | 1 | 1 | 0 | 1 | 2 |
23 |
24 | ## Directories
25 | | path | files | code | comment | blank | total |
26 | | :--- | ---: | ---: | ---: | ---: | ---: |
27 | | . | 46 | 1,819 | 122 | 244 | 2,185 |
28 | | android | 12 | 153 | 53 | 31 | 237 |
29 | | android/app | 8 | 110 | 52 | 20 | 182 |
30 | | android/app/src | 7 | 64 | 49 | 9 | 122 |
31 | | android/app/src/debug | 1 | 4 | 3 | 1 | 8 |
32 | | android/app/src/main | 5 | 56 | 43 | 7 | 106 |
33 | | android/app/src/main/res | 4 | 26 | 32 | 6 | 64 |
34 | | android/app/src/main/res/drawable | 1 | 4 | 7 | 2 | 13 |
35 | | android/app/src/main/res/drawable-v21 | 1 | 4 | 7 | 2 | 13 |
36 | | android/app/src/main/res/values | 1 | 9 | 9 | 1 | 19 |
37 | | android/app/src/main/res/values-night | 1 | 9 | 9 | 1 | 19 |
38 | | android/app/src/profile | 1 | 4 | 3 | 1 | 8 |
39 | | android/gradle | 1 | 5 | 1 | 1 | 7 |
40 | | android/gradle/wrapper | 1 | 5 | 1 | 1 | 7 |
41 | | ios | 7 | 222 | 2 | 9 | 233 |
42 | | ios/Runner | 7 | 222 | 2 | 9 | 233 |
43 | | ios/Runner/Assets.xcassets | 3 | 148 | 0 | 4 | 152 |
44 | | ios/Runner/Assets.xcassets/AppIcon.appiconset | 1 | 122 | 0 | 1 | 123 |
45 | | ios/Runner/Assets.xcassets/LaunchImage.imageset | 2 | 26 | 0 | 3 | 29 |
46 | | ios/Runner/Base.lproj | 2 | 61 | 2 | 2 | 65 |
47 | | lib | 25 | 1,326 | 30 | 175 | 1,531 |
48 | | lib/src | 24 | 1,298 | 30 | 169 | 1,497 |
49 | | lib/src/config | 1 | 1 | 1 | 1 | 3 |
50 | | lib/src/models | 1 | 98 | 0 | 13 | 111 |
51 | | lib/src/repositories | 1 | 67 | 11 | 15 | 93 |
52 | | lib/src/ui | 21 | 1,132 | 18 | 140 | 1,290 |
53 | | lib/src/ui/components | 2 | 260 | 12 | 23 | 295 |
54 | | lib/src/ui/functions | 2 | 69 | 0 | 8 | 77 |
55 | | lib/src/ui/functions/note_card_functions | 2 | 69 | 0 | 8 | 77 |
56 | | lib/src/ui/providers | 1 | 6 | 0 | 2 | 8 |
57 | | lib/src/ui/views | 16 | 797 | 6 | 107 | 910 |
58 | | lib/src/ui/views/home_view | 3 | 189 | 0 | 30 | 219 |
59 | | lib/src/ui/views/home_view/components | 2 | 61 | 0 | 8 | 69 |
60 | | lib/src/ui/views/note_creation_view | 5 | 237 | 6 | 34 | 277 |
61 | | lib/src/ui/views/note_creation_view/components | 4 | 144 | 0 | 21 | 165 |
62 | | lib/src/ui/views/profile_view | 6 | 245 | 0 | 22 | 267 |
63 | | lib/src/ui/views/profile_view/components | 5 | 201 | 0 | 18 | 219 |
64 | | lib/src/ui/views/tag_view | 2 | 126 | 0 | 21 | 147 |
65 | | lib/src/ui/views/tag_view/components | 1 | 27 | 0 | 4 | 31 |
66 |
67 | [details](details.md)
--------------------------------------------------------------------------------
/.vscodecounter/2021-11-13_12-17-09/results.txt:
--------------------------------------------------------------------------------
1 | Date : 2021-11-13 12:17:09
2 | Directory : /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app
3 | Total : 46 files, 1819 codes, 122 comments, 244 blanks, all 2185 lines
4 |
5 | Languages
6 | +------------+------------+------------+------------+------------+------------+
7 | | language | files | code | comment | blank | total |
8 | +------------+------------+------------+------------+------------+------------+
9 | | Dart | 25 | 1,326 | 30 | 175 | 1,531 |
10 | | JSON | 2 | 145 | 0 | 2 | 147 |
11 | | XML | 9 | 125 | 51 | 11 | 187 |
12 | | Markdown | 2 | 98 | 0 | 15 | 113 |
13 | | Groovy | 3 | 81 | 3 | 20 | 104 |
14 | | YAML | 1 | 23 | 37 | 16 | 76 |
15 | | Swift | 1 | 12 | 0 | 2 | 14 |
16 | | Properties | 2 | 8 | 1 | 2 | 11 |
17 | | C++ | 1 | 1 | 0 | 1 | 2 |
18 | +------------+------------+------------+------------+------------+------------+
19 |
20 | Directories
21 | +--------------------------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
22 | | path | files | code | comment | blank | total |
23 | +--------------------------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
24 | | . | 46 | 1,819 | 122 | 244 | 2,185 |
25 | | android | 12 | 153 | 53 | 31 | 237 |
26 | | android/app | 8 | 110 | 52 | 20 | 182 |
27 | | android/app/src | 7 | 64 | 49 | 9 | 122 |
28 | | android/app/src/debug | 1 | 4 | 3 | 1 | 8 |
29 | | android/app/src/main | 5 | 56 | 43 | 7 | 106 |
30 | | android/app/src/main/res | 4 | 26 | 32 | 6 | 64 |
31 | | android/app/src/main/res/drawable | 1 | 4 | 7 | 2 | 13 |
32 | | android/app/src/main/res/drawable-v21 | 1 | 4 | 7 | 2 | 13 |
33 | | android/app/src/main/res/values | 1 | 9 | 9 | 1 | 19 |
34 | | android/app/src/main/res/values-night | 1 | 9 | 9 | 1 | 19 |
35 | | android/app/src/profile | 1 | 4 | 3 | 1 | 8 |
36 | | android/gradle | 1 | 5 | 1 | 1 | 7 |
37 | | android/gradle/wrapper | 1 | 5 | 1 | 1 | 7 |
38 | | ios | 7 | 222 | 2 | 9 | 233 |
39 | | ios/Runner | 7 | 222 | 2 | 9 | 233 |
40 | | ios/Runner/Assets.xcassets | 3 | 148 | 0 | 4 | 152 |
41 | | ios/Runner/Assets.xcassets/AppIcon.appiconset | 1 | 122 | 0 | 1 | 123 |
42 | | ios/Runner/Assets.xcassets/LaunchImage.imageset | 2 | 26 | 0 | 3 | 29 |
43 | | ios/Runner/Base.lproj | 2 | 61 | 2 | 2 | 65 |
44 | | lib | 25 | 1,326 | 30 | 175 | 1,531 |
45 | | lib/src | 24 | 1,298 | 30 | 169 | 1,497 |
46 | | lib/src/config | 1 | 1 | 1 | 1 | 3 |
47 | | lib/src/models | 1 | 98 | 0 | 13 | 111 |
48 | | lib/src/repositories | 1 | 67 | 11 | 15 | 93 |
49 | | lib/src/ui | 21 | 1,132 | 18 | 140 | 1,290 |
50 | | lib/src/ui/components | 2 | 260 | 12 | 23 | 295 |
51 | | lib/src/ui/functions | 2 | 69 | 0 | 8 | 77 |
52 | | lib/src/ui/functions/note_card_functions | 2 | 69 | 0 | 8 | 77 |
53 | | lib/src/ui/providers | 1 | 6 | 0 | 2 | 8 |
54 | | lib/src/ui/views | 16 | 797 | 6 | 107 | 910 |
55 | | lib/src/ui/views/home_view | 3 | 189 | 0 | 30 | 219 |
56 | | lib/src/ui/views/home_view/components | 2 | 61 | 0 | 8 | 69 |
57 | | lib/src/ui/views/note_creation_view | 5 | 237 | 6 | 34 | 277 |
58 | | lib/src/ui/views/note_creation_view/components | 4 | 144 | 0 | 21 | 165 |
59 | | lib/src/ui/views/profile_view | 6 | 245 | 0 | 22 | 267 |
60 | | lib/src/ui/views/profile_view/components | 5 | 201 | 0 | 18 | 219 |
61 | | lib/src/ui/views/tag_view | 2 | 126 | 0 | 21 | 147 |
62 | | lib/src/ui/views/tag_view/components | 1 | 27 | 0 | 4 | 31 |
63 | +--------------------------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
64 |
65 | Files
66 | +--------------------------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
67 | | filename | language | code | comment | blank | total |
68 | +--------------------------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
69 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/README.md | Markdown | 95 | 0 | 13 | 108 |
70 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/build.gradle | Groovy | 46 | 3 | 11 | 60 |
71 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/debug/AndroidManifest.xml | XML | 4 | 3 | 1 | 8 |
72 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/AndroidManifest.xml | XML | 30 | 11 | 1 | 42 |
73 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/res/drawable-v21/launch_background.xml | XML | 4 | 7 | 2 | 13 |
74 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/res/drawable/launch_background.xml | XML | 4 | 7 | 2 | 13 |
75 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/res/values-night/styles.xml | XML | 9 | 9 | 1 | 19 |
76 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/main/res/values/styles.xml | XML | 9 | 9 | 1 | 19 |
77 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/app/src/profile/AndroidManifest.xml | XML | 4 | 3 | 1 | 8 |
78 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/build.gradle | Groovy | 27 | 0 | 5 | 32 |
79 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/gradle.properties | Properties | 3 | 0 | 1 | 4 |
80 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/gradle/wrapper/gradle-wrapper.properties | Properties | 5 | 1 | 1 | 7 |
81 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/android/settings.gradle | Groovy | 8 | 0 | 4 | 12 |
82 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/AppDelegate.swift | Swift | 12 | 0 | 2 | 14 |
83 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json | JSON | 122 | 0 | 1 | 123 |
84 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json | JSON | 23 | 0 | 1 | 24 |
85 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md | Markdown | 3 | 0 | 2 | 5 |
86 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Base.lproj/LaunchScreen.storyboard | XML | 36 | 1 | 1 | 38 |
87 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Base.lproj/Main.storyboard | XML | 25 | 1 | 1 | 27 |
88 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/ios/Runner/Runner-Bridging-Header.h | C++ | 1 | 0 | 1 | 2 |
89 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/main.dart | Dart | 28 | 0 | 6 | 34 |
90 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/config/constants.dart | Dart | 1 | 1 | 1 | 3 |
91 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/models/note.dart | Dart | 98 | 0 | 13 | 111 |
92 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/repositories/note_repository.dart | Dart | 67 | 11 | 15 | 93 |
93 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/components/note_card.dart | Dart | 210 | 12 | 19 | 241 |
94 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/components/search_bar.dart | Dart | 50 | 0 | 4 | 54 |
95 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/functions/note_card_functions/delete_note_action.dart | Dart | 34 | 0 | 4 | 38 |
96 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/functions/note_card_functions/pin_note_action.dart | Dart | 35 | 0 | 4 | 39 |
97 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/providers/note_provider.dart | Dart | 6 | 0 | 2 | 8 |
98 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/home_view/components/home_view_header.dart | Dart | 37 | 0 | 4 | 41 |
99 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/home_view/components/tag_card.dart | Dart | 24 | 0 | 4 | 28 |
100 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/home_view/home_view.dart | Dart | 128 | 0 | 22 | 150 |
101 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/components/content_text_field.dart | Dart | 39 | 0 | 5 | 44 |
102 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/components/note_creation_view_header.dart | Dart | 19 | 0 | 4 | 23 |
103 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/components/tag_text_field.dart | Dart | 45 | 0 | 7 | 52 |
104 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/components/title_text_field.dart | Dart | 41 | 0 | 5 | 46 |
105 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/note_creation_view/note_creation_view.dart | Dart | 93 | 6 | 13 | 112 |
106 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/date_of_first_note_card.dart | Dart | 52 | 0 | 6 | 58 |
107 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/profile_view_header.dart | Dart | 24 | 0 | 3 | 27 |
108 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/total_characters_typed_card.dart | Dart | 40 | 0 | 3 | 43 |
109 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/total_notes_created_card.dart | Dart | 40 | 0 | 3 | 43 |
110 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/components/total_words_typed_card.dart | Dart | 45 | 0 | 3 | 48 |
111 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/profile_view/profile_view.dart | Dart | 44 | 0 | 4 | 48 |
112 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/tag_view/components/tag_view_header.dart | Dart | 27 | 0 | 4 | 31 |
113 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/lib/src/ui/views/tag_view/tag_view.dart | Dart | 99 | 0 | 17 | 116 |
114 | | /Users/carltonaikins/Desktop/Home/Programming/Flutter/projects/notes_app/pubspec.yaml | YAML | 23 | 37 | 16 | 76 |
115 | | Total | | 1,819 | 122 | 244 | 2,185 |
116 | +--------------------------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | We as members, contributors, and leaders pledge to make participation in our
6 | community a harassment-free experience for everyone, regardless of age, body
7 | size, visible or invisible disability, ethnicity, sex characteristics, gender
8 | identity and expression, level of experience, education, socio-economic status,
9 | nationality, personal appearance, race, religion, or sexual identity
10 | and orientation.
11 |
12 | We pledge to act and interact in ways that contribute to an open, welcoming,
13 | diverse, inclusive, and healthy community.
14 |
15 | ## Our Standards
16 |
17 | Examples of behavior that contributes to a positive environment for our
18 | community include:
19 |
20 | * Demonstrating empathy and kindness toward other people
21 | * Being respectful of differing opinions, viewpoints, and experiences
22 | * Giving and gracefully accepting constructive feedback
23 | * Accepting responsibility and apologizing to those affected by our mistakes,
24 | and learning from the experience
25 | * Focusing on what is best not just for us as individuals, but for the
26 | overall community
27 |
28 | Examples of unacceptable behavior include:
29 |
30 | * The use of sexualized language or imagery, and sexual attention or
31 | advances of any kind
32 | * Trolling, insulting or derogatory comments, and personal or political attacks
33 | * Public or private harassment
34 | * Publishing others' private information, such as a physical or email
35 | address, without their explicit permission
36 | * Other conduct which could reasonably be considered inappropriate in a
37 | professional setting
38 |
39 | ## Enforcement Responsibilities
40 |
41 | Community leaders are responsible for clarifying and enforcing our standards of
42 | acceptable behavior and will take appropriate and fair corrective action in
43 | response to any behavior that they deem inappropriate, threatening, offensive,
44 | or harmful.
45 |
46 | Community leaders have the right and responsibility to remove, edit, or reject
47 | comments, commits, code, wiki edits, issues, and other contributions that are
48 | not aligned to this Code of Conduct, and will communicate reasons for moderation
49 | decisions when appropriate.
50 |
51 | ## Scope
52 |
53 | This Code of Conduct applies within all community spaces, and also applies when
54 | an individual is officially representing the community in public spaces.
55 | Examples of representing our community include using an official e-mail address,
56 | posting via an official social media account, or acting as an appointed
57 | representative at an online or offline event.
58 |
59 | ## Enforcement
60 |
61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
62 | reported to the community leaders responsible for enforcement at
63 | .
64 | All complaints will be reviewed and investigated promptly and fairly.
65 |
66 | All community leaders are obligated to respect the privacy and security of the
67 | reporter of any incident.
68 |
69 | ## Enforcement Guidelines
70 |
71 | Community leaders will follow these Community Impact Guidelines in determining
72 | the consequences for any action they deem in violation of this Code of Conduct:
73 |
74 | ### 1. Correction
75 |
76 | **Community Impact**: Use of inappropriate language or other behavior deemed
77 | unprofessional or unwelcome in the community.
78 |
79 | **Consequence**: A private, written warning from community leaders, providing
80 | clarity around the nature of the violation and an explanation of why the
81 | behavior was inappropriate. A public apology may be requested.
82 |
83 | ### 2. Warning
84 |
85 | **Community Impact**: A violation through a single incident or series
86 | of actions.
87 |
88 | **Consequence**: A warning with consequences for continued behavior. No
89 | interaction with the people involved, including unsolicited interaction with
90 | those enforcing the Code of Conduct, for a specified period of time. This
91 | includes avoiding interactions in community spaces as well as external channels
92 | like social media. Violating these terms may lead to a temporary or
93 | permanent ban.
94 |
95 | ### 3. Temporary Ban
96 |
97 | **Community Impact**: A serious violation of community standards, including
98 | sustained inappropriate behavior.
99 |
100 | **Consequence**: A temporary ban from any sort of interaction or public
101 | communication with the community for a specified period of time. No public or
102 | private interaction with the people involved, including unsolicited interaction
103 | with those enforcing the Code of Conduct, is allowed during this period.
104 | Violating these terms may lead to a permanent ban.
105 |
106 | ### 4. Permanent Ban
107 |
108 | **Community Impact**: Demonstrating a pattern of violation of community
109 | standards, including sustained inappropriate behavior, harassment of an
110 | individual, or aggression toward or disparagement of classes of individuals.
111 |
112 | **Consequence**: A permanent ban from any sort of public interaction within
113 | the community.
114 |
115 | ## Attribution
116 |
117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118 | version 2.0, available at
119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120 |
121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct
122 | enforcement ladder](https://github.com/mozilla/diversity).
123 |
124 | [homepage]: https://www.contributor-covenant.org
125 |
126 | For answers to common questions about this code of conduct, see the FAQ at
127 | https://www.contributor-covenant.org/faq. Translations are available at
128 | https://www.contributor-covenant.org/translations.
129 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Notes App
2 | A clean, and modern note taking app that has a complex ui, entirely built with Flutter. This app is also null safe. Be sure to leave a star 🌟
3 |
4 | #### [Screenshots](#screenshots-1)
5 |
6 | ## Features
7 | - _Create notes_: Create notes that store locally to device.
8 | - _Edit notes_: Edit notes that were previously created.
9 | - _Pinnable notes_: Pin notes to the top of the list.
10 | - _User stats_: Stats for the user's notes such as total notes, words written etc.
11 | - _Search notes_: Filter out notes with the search bar.
12 | - _Tags/Categories_: Categorize your notes with tags and access them through the search bar or the tag's screen.
13 | - _Dark Mode_: Light and dark modes that accustom to the device's theme.
14 | - _Complex UI_: Modern and complex ui that is visually appealing and functional
15 | - _Local storage_: Save your notes to your device.
16 |
17 | ## Upcoming Features
18 | - _Lockable Notes_: Notes will be able to be unlocked with Face ID/Touch ID or a 4 digit password(Across all notes).
19 | - _Rich Text Editor/WYSIWYG_: Rich text editor to be incorporated into the note creation functionality.
20 | - _Firebase Support_: Analytics, Crashlytics, Performance.
21 | - _Fuchsia OS Support_: Support to run on Google Fuchsia OS.
22 | - _App Store/Google Play Store_: I plan on releasing this app on both app stores at some point in time.
23 |
24 | ## Getting Started
25 | Fork or clone this repository or download the code and navigate to the enclosing folder inside your terminal. Then use this command to run:
26 | ```
27 | flutter run
28 | ```
29 |
30 | ## Dependencies
31 |
32 | - canton_design_system: [Link to repository](https://github.com/31Carlton7/canton_design_system)
33 | - For the full list, see [dependencies](https://github.com/31Carlton7/flutter_notes_app/blob/master/pubspec.yaml)
34 |
35 | ## Screenshots
36 |
37 | Light Mode |
38 |
39 |
40 |
41 | |
42 |
43 |
44 |
45 | |
46 |
47 |
48 |
49 | |
50 |
51 |
52 |
53 |
54 |
55 |
56 | |
57 |
58 |
59 | |
60 |
61 |
62 | Light Mode Video
63 |
64 | |
65 |
66 |
67 |
68 |
69 | Dark Mode |
70 |
71 |
72 |
73 | |
74 |
75 |
76 |
77 | |
78 |
79 |
80 |
81 | |
82 |
83 |
84 |
85 |
86 |
87 |
88 | |
89 |
90 |
91 | |
92 |
93 |
94 | Dark Mode Video
95 |
96 | |
97 |
98 |
99 |
100 | ## Featured In
101 | - [FlutterForce - Week 145](https://medium.com/flutterforce/flutterforce-week-145-7d8d88b91f8b)
102 | - [Australia National University: Software Innovation Institute](https://sii.anu.edu.au/projects.html)
103 | - [MadeWithFlutter](https://madewithflutter.net/note/)
104 | - [FlutterAppWorld](http://flutterappworld.com/a-clean-and-modern-note-taking-app-built-with-flutter/)
105 | - [LibHunt](https://www.libhunt.com/r/flutter_notes_app)
106 | - [r/FlutterDev Twitter](https://twitter.com/r_FlutterDev/status/1459214227936354306)
107 | - [FlutterAwesome](https://flutterawesome.com/a-clean-and-modern-note-taking-app-built-with-flutter/)
108 |
109 | ## Socials
110 | If you have any questions, you can reach me here:
111 |
112 | - Instagram: [@31carlton7](https://www.instagram.com/31carlton7/)
113 | - Email: carltonaikins7@gmail.com
114 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 30
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | defaultConfig {
36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37 | applicationId "com.example.notes_app"
38 | minSdkVersion 16
39 | targetSdkVersion 30
40 | versionCode flutterVersionCode.toInteger()
41 | versionName flutterVersionName
42 | }
43 |
44 | buildTypes {
45 | release {
46 | // TODO: Add your own signing config for the release build.
47 | // Signing with the debug keys for now, so `flutter run --release` works.
48 | signingConfig signingConfigs.debug
49 | }
50 | }
51 | }
52 |
53 | flutter {
54 | source '../..'
55 | }
56 |
57 | dependencies {
58 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
59 | }
60 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
13 |
17 |
21 |
26 |
27 |
28 |
29 |
30 |
31 |
33 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/notes_app/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.notes_app
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 9.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | end
36 |
37 | post_install do |installer|
38 | installer.pods_project.targets.each do |target|
39 | flutter_additional_ios_build_settings(target)
40 | end
41 | end
42 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Flutter (1.0.0)
3 | - path_provider (0.0.1):
4 | - Flutter
5 | - shared_preferences (0.0.1):
6 | - Flutter
7 |
8 | DEPENDENCIES:
9 | - Flutter (from `Flutter`)
10 | - path_provider (from `.symlinks/plugins/path_provider/ios`)
11 | - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
12 |
13 | EXTERNAL SOURCES:
14 | Flutter:
15 | :path: Flutter
16 | path_provider:
17 | :path: ".symlinks/plugins/path_provider/ios"
18 | shared_preferences:
19 | :path: ".symlinks/plugins/shared_preferences/ios"
20 |
21 | SPEC CHECKSUMS:
22 | Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
23 | path_provider: d1e9807085df1f9cc9318206cd649dc0b76be3de
24 | shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
25 |
26 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
27 |
28 | COCOAPODS: 1.10.2
29 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 51;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
16 | 992B85B0257D8B26FD87521E /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 294FF1F3DC7A60EAE9ABFCB1 /* Pods_Runner.framework */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXCopyFilesBuildPhase section */
20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
21 | isa = PBXCopyFilesBuildPhase;
22 | buildActionMask = 2147483647;
23 | dstPath = "";
24 | dstSubfolderSpec = 10;
25 | files = (
26 | );
27 | name = "Embed Frameworks";
28 | runOnlyForDeploymentPostprocessing = 0;
29 | };
30 | /* End PBXCopyFilesBuildPhase section */
31 |
32 | /* Begin PBXFileReference section */
33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
35 | 294FF1F3DC7A60EAE9ABFCB1 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
36 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
37 | 5BD65D75EA5DF067CC35EFA9 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
38 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
39 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
40 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
41 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
42 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
43 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
44 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
45 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
46 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
47 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
48 | C298CBA93F2B52207B9CE16F /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
49 | CBB106AD125C633C79776E94 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
50 | /* End PBXFileReference section */
51 |
52 | /* Begin PBXFrameworksBuildPhase section */
53 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
54 | isa = PBXFrameworksBuildPhase;
55 | buildActionMask = 2147483647;
56 | files = (
57 | 992B85B0257D8B26FD87521E /* Pods_Runner.framework in Frameworks */,
58 | );
59 | runOnlyForDeploymentPostprocessing = 0;
60 | };
61 | /* End PBXFrameworksBuildPhase section */
62 |
63 | /* Begin PBXGroup section */
64 | 1DA40473D4B8CB47E927FFCA /* Frameworks */ = {
65 | isa = PBXGroup;
66 | children = (
67 | 294FF1F3DC7A60EAE9ABFCB1 /* Pods_Runner.framework */,
68 | );
69 | name = Frameworks;
70 | sourceTree = "";
71 | };
72 | 4CF55D4B5E1096E929CB9FA9 /* Pods */ = {
73 | isa = PBXGroup;
74 | children = (
75 | C298CBA93F2B52207B9CE16F /* Pods-Runner.debug.xcconfig */,
76 | 5BD65D75EA5DF067CC35EFA9 /* Pods-Runner.release.xcconfig */,
77 | CBB106AD125C633C79776E94 /* Pods-Runner.profile.xcconfig */,
78 | );
79 | path = Pods;
80 | sourceTree = "";
81 | };
82 | 9740EEB11CF90186004384FC /* Flutter */ = {
83 | isa = PBXGroup;
84 | children = (
85 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
86 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
87 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
88 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
89 | );
90 | name = Flutter;
91 | sourceTree = "";
92 | };
93 | 97C146E51CF9000F007C117D = {
94 | isa = PBXGroup;
95 | children = (
96 | 9740EEB11CF90186004384FC /* Flutter */,
97 | 97C146F01CF9000F007C117D /* Runner */,
98 | 97C146EF1CF9000F007C117D /* Products */,
99 | 4CF55D4B5E1096E929CB9FA9 /* Pods */,
100 | 1DA40473D4B8CB47E927FFCA /* Frameworks */,
101 | );
102 | sourceTree = "";
103 | };
104 | 97C146EF1CF9000F007C117D /* Products */ = {
105 | isa = PBXGroup;
106 | children = (
107 | 97C146EE1CF9000F007C117D /* Runner.app */,
108 | );
109 | name = Products;
110 | sourceTree = "";
111 | };
112 | 97C146F01CF9000F007C117D /* Runner */ = {
113 | isa = PBXGroup;
114 | children = (
115 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
116 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
117 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
118 | 97C147021CF9000F007C117D /* Info.plist */,
119 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
120 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
121 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
122 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
123 | );
124 | path = Runner;
125 | sourceTree = "";
126 | };
127 | /* End PBXGroup section */
128 |
129 | /* Begin PBXNativeTarget section */
130 | 97C146ED1CF9000F007C117D /* Runner */ = {
131 | isa = PBXNativeTarget;
132 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
133 | buildPhases = (
134 | 0915B7FEA1EB10D97DDE5BDE /* [CP] Check Pods Manifest.lock */,
135 | 9740EEB61CF901F6004384FC /* Run Script */,
136 | 97C146EA1CF9000F007C117D /* Sources */,
137 | 97C146EB1CF9000F007C117D /* Frameworks */,
138 | 97C146EC1CF9000F007C117D /* Resources */,
139 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
140 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
141 | 74A02978D8205C562891599C /* [CP] Embed Pods Frameworks */,
142 | );
143 | buildRules = (
144 | );
145 | dependencies = (
146 | );
147 | name = Runner;
148 | productName = Runner;
149 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
150 | productType = "com.apple.product-type.application";
151 | };
152 | /* End PBXNativeTarget section */
153 |
154 | /* Begin PBXProject section */
155 | 97C146E61CF9000F007C117D /* Project object */ = {
156 | isa = PBXProject;
157 | attributes = {
158 | LastUpgradeCheck = 1020;
159 | ORGANIZATIONNAME = "";
160 | TargetAttributes = {
161 | 97C146ED1CF9000F007C117D = {
162 | CreatedOnToolsVersion = 7.3.1;
163 | LastSwiftMigration = 1100;
164 | };
165 | };
166 | };
167 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
168 | compatibilityVersion = "Xcode 9.3";
169 | developmentRegion = en;
170 | hasScannedForEncodings = 0;
171 | knownRegions = (
172 | en,
173 | Base,
174 | );
175 | mainGroup = 97C146E51CF9000F007C117D;
176 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
177 | projectDirPath = "";
178 | projectRoot = "";
179 | targets = (
180 | 97C146ED1CF9000F007C117D /* Runner */,
181 | );
182 | };
183 | /* End PBXProject section */
184 |
185 | /* Begin PBXResourcesBuildPhase section */
186 | 97C146EC1CF9000F007C117D /* Resources */ = {
187 | isa = PBXResourcesBuildPhase;
188 | buildActionMask = 2147483647;
189 | files = (
190 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
191 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
192 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
193 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
194 | );
195 | runOnlyForDeploymentPostprocessing = 0;
196 | };
197 | /* End PBXResourcesBuildPhase section */
198 |
199 | /* Begin PBXShellScriptBuildPhase section */
200 | 0915B7FEA1EB10D97DDE5BDE /* [CP] Check Pods Manifest.lock */ = {
201 | isa = PBXShellScriptBuildPhase;
202 | buildActionMask = 2147483647;
203 | files = (
204 | );
205 | inputFileListPaths = (
206 | );
207 | inputPaths = (
208 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
209 | "${PODS_ROOT}/Manifest.lock",
210 | );
211 | name = "[CP] Check Pods Manifest.lock";
212 | outputFileListPaths = (
213 | );
214 | outputPaths = (
215 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
216 | );
217 | runOnlyForDeploymentPostprocessing = 0;
218 | shellPath = /bin/sh;
219 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
220 | showEnvVarsInLog = 0;
221 | };
222 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
223 | isa = PBXShellScriptBuildPhase;
224 | buildActionMask = 2147483647;
225 | files = (
226 | );
227 | inputPaths = (
228 | );
229 | name = "Thin Binary";
230 | outputPaths = (
231 | );
232 | runOnlyForDeploymentPostprocessing = 0;
233 | shellPath = /bin/sh;
234 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
235 | };
236 | 74A02978D8205C562891599C /* [CP] Embed Pods Frameworks */ = {
237 | isa = PBXShellScriptBuildPhase;
238 | buildActionMask = 2147483647;
239 | files = (
240 | );
241 | inputFileListPaths = (
242 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
243 | );
244 | name = "[CP] Embed Pods Frameworks";
245 | outputFileListPaths = (
246 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
247 | );
248 | runOnlyForDeploymentPostprocessing = 0;
249 | shellPath = /bin/sh;
250 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
251 | showEnvVarsInLog = 0;
252 | };
253 | 9740EEB61CF901F6004384FC /* Run Script */ = {
254 | isa = PBXShellScriptBuildPhase;
255 | buildActionMask = 2147483647;
256 | files = (
257 | );
258 | inputPaths = (
259 | );
260 | name = "Run Script";
261 | outputPaths = (
262 | );
263 | runOnlyForDeploymentPostprocessing = 0;
264 | shellPath = /bin/sh;
265 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
266 | };
267 | /* End PBXShellScriptBuildPhase section */
268 |
269 | /* Begin PBXSourcesBuildPhase section */
270 | 97C146EA1CF9000F007C117D /* Sources */ = {
271 | isa = PBXSourcesBuildPhase;
272 | buildActionMask = 2147483647;
273 | files = (
274 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
275 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
276 | );
277 | runOnlyForDeploymentPostprocessing = 0;
278 | };
279 | /* End PBXSourcesBuildPhase section */
280 |
281 | /* Begin PBXVariantGroup section */
282 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
283 | isa = PBXVariantGroup;
284 | children = (
285 | 97C146FB1CF9000F007C117D /* Base */,
286 | );
287 | name = Main.storyboard;
288 | sourceTree = "";
289 | };
290 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
291 | isa = PBXVariantGroup;
292 | children = (
293 | 97C147001CF9000F007C117D /* Base */,
294 | );
295 | name = LaunchScreen.storyboard;
296 | sourceTree = "";
297 | };
298 | /* End PBXVariantGroup section */
299 |
300 | /* Begin XCBuildConfiguration section */
301 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
302 | isa = XCBuildConfiguration;
303 | buildSettings = {
304 | ALWAYS_SEARCH_USER_PATHS = NO;
305 | CLANG_ANALYZER_NONNULL = YES;
306 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
307 | CLANG_CXX_LIBRARY = "libc++";
308 | CLANG_ENABLE_MODULES = YES;
309 | CLANG_ENABLE_OBJC_ARC = YES;
310 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
311 | CLANG_WARN_BOOL_CONVERSION = YES;
312 | CLANG_WARN_COMMA = YES;
313 | CLANG_WARN_CONSTANT_CONVERSION = YES;
314 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
315 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
316 | CLANG_WARN_EMPTY_BODY = YES;
317 | CLANG_WARN_ENUM_CONVERSION = YES;
318 | CLANG_WARN_INFINITE_RECURSION = YES;
319 | CLANG_WARN_INT_CONVERSION = YES;
320 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
321 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
322 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
323 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
324 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
325 | CLANG_WARN_STRICT_PROTOTYPES = YES;
326 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
327 | CLANG_WARN_UNREACHABLE_CODE = YES;
328 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
329 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
330 | COPY_PHASE_STRIP = NO;
331 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
332 | ENABLE_NS_ASSERTIONS = NO;
333 | ENABLE_STRICT_OBJC_MSGSEND = YES;
334 | GCC_C_LANGUAGE_STANDARD = gnu99;
335 | GCC_NO_COMMON_BLOCKS = YES;
336 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
337 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
338 | GCC_WARN_UNDECLARED_SELECTOR = YES;
339 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
340 | GCC_WARN_UNUSED_FUNCTION = YES;
341 | GCC_WARN_UNUSED_VARIABLE = YES;
342 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
343 | MTL_ENABLE_DEBUG_INFO = NO;
344 | SDKROOT = iphoneos;
345 | SUPPORTED_PLATFORMS = iphoneos;
346 | TARGETED_DEVICE_FAMILY = "1,2";
347 | VALIDATE_PRODUCT = YES;
348 | };
349 | name = Profile;
350 | };
351 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
352 | isa = XCBuildConfiguration;
353 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
354 | buildSettings = {
355 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
356 | CLANG_ENABLE_MODULES = YES;
357 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
358 | ENABLE_BITCODE = NO;
359 | INFOPLIST_FILE = Runner/Info.plist;
360 | LD_RUNPATH_SEARCH_PATHS = (
361 | "$(inherited)",
362 | "@executable_path/Frameworks",
363 | );
364 | PRODUCT_BUNDLE_IDENTIFIER = com.flutternotes.app;
365 | PRODUCT_NAME = "$(TARGET_NAME)";
366 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
367 | SWIFT_VERSION = 5.0;
368 | TARGETED_DEVICE_FAMILY = 1;
369 | VERSIONING_SYSTEM = "apple-generic";
370 | };
371 | name = Profile;
372 | };
373 | 97C147031CF9000F007C117D /* Debug */ = {
374 | isa = XCBuildConfiguration;
375 | buildSettings = {
376 | ALWAYS_SEARCH_USER_PATHS = NO;
377 | CLANG_ANALYZER_NONNULL = YES;
378 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
379 | CLANG_CXX_LIBRARY = "libc++";
380 | CLANG_ENABLE_MODULES = YES;
381 | CLANG_ENABLE_OBJC_ARC = YES;
382 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
383 | CLANG_WARN_BOOL_CONVERSION = YES;
384 | CLANG_WARN_COMMA = YES;
385 | CLANG_WARN_CONSTANT_CONVERSION = YES;
386 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
387 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
388 | CLANG_WARN_EMPTY_BODY = YES;
389 | CLANG_WARN_ENUM_CONVERSION = YES;
390 | CLANG_WARN_INFINITE_RECURSION = YES;
391 | CLANG_WARN_INT_CONVERSION = YES;
392 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
393 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
394 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
395 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
396 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
397 | CLANG_WARN_STRICT_PROTOTYPES = YES;
398 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
399 | CLANG_WARN_UNREACHABLE_CODE = YES;
400 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
401 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
402 | COPY_PHASE_STRIP = NO;
403 | DEBUG_INFORMATION_FORMAT = dwarf;
404 | ENABLE_STRICT_OBJC_MSGSEND = YES;
405 | ENABLE_TESTABILITY = YES;
406 | GCC_C_LANGUAGE_STANDARD = gnu99;
407 | GCC_DYNAMIC_NO_PIC = NO;
408 | GCC_NO_COMMON_BLOCKS = YES;
409 | GCC_OPTIMIZATION_LEVEL = 0;
410 | GCC_PREPROCESSOR_DEFINITIONS = (
411 | "DEBUG=1",
412 | "$(inherited)",
413 | );
414 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
415 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
416 | GCC_WARN_UNDECLARED_SELECTOR = YES;
417 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
418 | GCC_WARN_UNUSED_FUNCTION = YES;
419 | GCC_WARN_UNUSED_VARIABLE = YES;
420 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
421 | MTL_ENABLE_DEBUG_INFO = YES;
422 | ONLY_ACTIVE_ARCH = YES;
423 | SDKROOT = iphoneos;
424 | TARGETED_DEVICE_FAMILY = "1,2";
425 | };
426 | name = Debug;
427 | };
428 | 97C147041CF9000F007C117D /* Release */ = {
429 | isa = XCBuildConfiguration;
430 | buildSettings = {
431 | ALWAYS_SEARCH_USER_PATHS = NO;
432 | CLANG_ANALYZER_NONNULL = YES;
433 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
434 | CLANG_CXX_LIBRARY = "libc++";
435 | CLANG_ENABLE_MODULES = YES;
436 | CLANG_ENABLE_OBJC_ARC = YES;
437 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
438 | CLANG_WARN_BOOL_CONVERSION = YES;
439 | CLANG_WARN_COMMA = YES;
440 | CLANG_WARN_CONSTANT_CONVERSION = YES;
441 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
442 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
443 | CLANG_WARN_EMPTY_BODY = YES;
444 | CLANG_WARN_ENUM_CONVERSION = YES;
445 | CLANG_WARN_INFINITE_RECURSION = YES;
446 | CLANG_WARN_INT_CONVERSION = YES;
447 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
448 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
449 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
450 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
451 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
452 | CLANG_WARN_STRICT_PROTOTYPES = YES;
453 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
454 | CLANG_WARN_UNREACHABLE_CODE = YES;
455 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
456 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
457 | COPY_PHASE_STRIP = NO;
458 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
459 | ENABLE_NS_ASSERTIONS = NO;
460 | ENABLE_STRICT_OBJC_MSGSEND = YES;
461 | GCC_C_LANGUAGE_STANDARD = gnu99;
462 | GCC_NO_COMMON_BLOCKS = YES;
463 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
464 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
465 | GCC_WARN_UNDECLARED_SELECTOR = YES;
466 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
467 | GCC_WARN_UNUSED_FUNCTION = YES;
468 | GCC_WARN_UNUSED_VARIABLE = YES;
469 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
470 | MTL_ENABLE_DEBUG_INFO = NO;
471 | SDKROOT = iphoneos;
472 | SUPPORTED_PLATFORMS = iphoneos;
473 | SWIFT_COMPILATION_MODE = wholemodule;
474 | SWIFT_OPTIMIZATION_LEVEL = "-O";
475 | TARGETED_DEVICE_FAMILY = "1,2";
476 | VALIDATE_PRODUCT = YES;
477 | };
478 | name = Release;
479 | };
480 | 97C147061CF9000F007C117D /* Debug */ = {
481 | isa = XCBuildConfiguration;
482 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
483 | buildSettings = {
484 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
485 | CLANG_ENABLE_MODULES = YES;
486 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
487 | ENABLE_BITCODE = NO;
488 | INFOPLIST_FILE = Runner/Info.plist;
489 | LD_RUNPATH_SEARCH_PATHS = (
490 | "$(inherited)",
491 | "@executable_path/Frameworks",
492 | );
493 | PRODUCT_BUNDLE_IDENTIFIER = com.flutternotes.app;
494 | PRODUCT_NAME = "$(TARGET_NAME)";
495 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
496 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
497 | SWIFT_VERSION = 5.0;
498 | TARGETED_DEVICE_FAMILY = 1;
499 | VERSIONING_SYSTEM = "apple-generic";
500 | };
501 | name = Debug;
502 | };
503 | 97C147071CF9000F007C117D /* Release */ = {
504 | isa = XCBuildConfiguration;
505 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
506 | buildSettings = {
507 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
508 | CLANG_ENABLE_MODULES = YES;
509 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
510 | ENABLE_BITCODE = NO;
511 | INFOPLIST_FILE = Runner/Info.plist;
512 | LD_RUNPATH_SEARCH_PATHS = (
513 | "$(inherited)",
514 | "@executable_path/Frameworks",
515 | );
516 | PRODUCT_BUNDLE_IDENTIFIER = com.flutternotes.app;
517 | PRODUCT_NAME = "$(TARGET_NAME)";
518 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
519 | SWIFT_VERSION = 5.0;
520 | TARGETED_DEVICE_FAMILY = 1;
521 | VERSIONING_SYSTEM = "apple-generic";
522 | };
523 | name = Release;
524 | };
525 | /* End XCBuildConfiguration section */
526 |
527 | /* Begin XCConfigurationList section */
528 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
529 | isa = XCConfigurationList;
530 | buildConfigurations = (
531 | 97C147031CF9000F007C117D /* Debug */,
532 | 97C147041CF9000F007C117D /* Release */,
533 | 249021D3217E4FDB00AE95B9 /* Profile */,
534 | );
535 | defaultConfigurationIsVisible = 0;
536 | defaultConfigurationName = Release;
537 | };
538 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
539 | isa = XCConfigurationList;
540 | buildConfigurations = (
541 | 97C147061CF9000F007C117D /* Debug */,
542 | 97C147071CF9000F007C117D /* Release */,
543 | 249021D4217E4FDB00AE95B9 /* Profile */,
544 | );
545 | defaultConfigurationIsVisible = 0;
546 | defaultConfigurationName = Release;
547 | };
548 | /* End XCConfigurationList section */
549 | };
550 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
551 | }
552 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Notes
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | Notes
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter/services.dart';
3 | import 'package:flutter_riverpod/flutter_riverpod.dart';
4 | import 'package:hive/hive.dart';
5 | import 'package:hive_flutter/hive_flutter.dart';
6 |
7 | import 'package:notes_app/src/config/constants.dart';
8 | import 'package:notes_app/src/ui/views/home_view/home_view.dart';
9 |
10 | void main() async {
11 | WidgetsFlutterBinding.ensureInitialized();
12 |
13 | await Hive.initFlutter();
14 | await Hive.openBox('flutter_notes_app');
15 |
16 | await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]).then((_) {
17 | runApp(ProviderScope(child: MyApp()));
18 | });
19 | }
20 |
21 | class MyApp extends StatelessWidget {
22 | @override
23 | Widget build(BuildContext context) {
24 | return CantonApp(
25 | title: kAppTitle,
26 | primaryLightColor: CantonColors.blue,
27 | primaryLightVariantColor: CantonColors.blue[200]!,
28 | primaryDarkColor: CantonDarkColors.blue,
29 | primaryDarkVariantColor: CantonDarkColors.blue[200]!,
30 | home: HomeView(),
31 | );
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/lib/src/config/constants.dart:
--------------------------------------------------------------------------------
1 | // App title
2 | const String kAppTitle = 'Notes App';
3 |
--------------------------------------------------------------------------------
/lib/src/models/note.dart:
--------------------------------------------------------------------------------
1 | import 'dart:convert';
2 |
3 | import 'package:canton_design_system/canton_design_system.dart';
4 | import 'package:flutter/foundation.dart';
5 |
6 | class Note {
7 | String? id;
8 | String? title;
9 | String? content;
10 | String? password;
11 | List? tags;
12 | bool? pinned;
13 | DateTime? creationDate;
14 | DateTime? lastEditDate;
15 |
16 | Note({
17 | this.id,
18 | this.title,
19 | this.content,
20 | this.password,
21 | this.tags,
22 | this.pinned,
23 | this.creationDate,
24 | this.lastEditDate,
25 | });
26 |
27 | Note copyWith({
28 | String? id,
29 | String? title,
30 | String? content,
31 | String? password,
32 | List? tags,
33 | bool? pinned,
34 | DateTime? creationDate,
35 | DateTime? lastEditDate,
36 | }) {
37 | return Note(
38 | id: id ?? this.id,
39 | title: title ?? this.title,
40 | content: content ?? this.content,
41 | password: password ?? this.password,
42 | tags: tags ?? this.tags,
43 | pinned: pinned ?? this.pinned,
44 | creationDate: creationDate ?? this.creationDate,
45 | lastEditDate: lastEditDate ?? this.lastEditDate,
46 | );
47 | }
48 |
49 | Map toMap() {
50 | return {
51 | 'id': id,
52 | 'title': title,
53 | 'content': content,
54 | 'password': password,
55 | 'tags': tags?.map((x) => x.toMap()).toList(),
56 | 'pinned': pinned,
57 | 'creationDate': creationDate?.millisecondsSinceEpoch,
58 | 'lastEditDate': lastEditDate?.millisecondsSinceEpoch,
59 | };
60 | }
61 |
62 | factory Note.fromMap(Map map) {
63 | return Note(
64 | id: map['id'],
65 | title: map['title'],
66 | content: map['content'],
67 | password: map['password'],
68 | tags: List.from(map['tags']?.map((x) => Tag.fromMap(x))),
69 | pinned: map['pinned'],
70 | creationDate: DateTime.fromMillisecondsSinceEpoch(map['creationDate']),
71 | lastEditDate: DateTime.fromMillisecondsSinceEpoch(map['lastEditDate']),
72 | );
73 | }
74 |
75 | String toJson() => json.encode(toMap());
76 |
77 | factory Note.fromJson(String source) => Note.fromMap(json.decode(source));
78 |
79 | @override
80 | String toString() {
81 | return 'Note(id: $id, title: $title, content: $content, password: $password, tags: $tags, pinned: $pinned, creationDate: $creationDate, lastEditDate: $lastEditDate)';
82 | }
83 |
84 | @override
85 | bool operator ==(Object other) {
86 | if (identical(this, other)) return true;
87 |
88 | return other is Note &&
89 | other.id == id &&
90 | other.title == title &&
91 | other.content == content &&
92 | other.password == password &&
93 | listEquals(other.tags, tags) &&
94 | other.pinned == pinned &&
95 | other.creationDate == creationDate &&
96 | other.lastEditDate == lastEditDate;
97 | }
98 |
99 | @override
100 | int get hashCode {
101 | return id.hashCode ^
102 | title.hashCode ^
103 | content.hashCode ^
104 | password.hashCode ^
105 | tags.hashCode ^
106 | pinned.hashCode ^
107 | creationDate.hashCode ^
108 | lastEditDate.hashCode;
109 | }
110 | }
111 |
--------------------------------------------------------------------------------
/lib/src/repositories/note_repository.dart:
--------------------------------------------------------------------------------
1 | import 'dart:convert';
2 |
3 | import 'package:canton_design_system/canton_design_system.dart';
4 | import 'package:flutter_riverpod/flutter_riverpod.dart';
5 | import 'package:intl/intl.dart';
6 | import 'package:notes_app/src/models/note.dart';
7 | import 'package:hive/hive.dart';
8 |
9 | class NoteRepository extends StateNotifier> {
10 | NoteRepository() : super([]);
11 |
12 | /// Adds a [Note] to the note list.
13 | Future addNote(Note note) async {
14 | state = [note, ...state];
15 | await _saveData();
16 | }
17 |
18 | /// Removes specified [Note] from note list.
19 | Future removeNote(Note note) async {
20 | state = [
21 | for (final nNote in state)
22 | if (note != nNote) nNote,
23 | ];
24 | await _saveData();
25 | }
26 |
27 | /// Updates specified [Note].
28 | Future updateNote({
29 | required Note note,
30 | String? title,
31 | String? content,
32 | List? tags,
33 | bool? pinned,
34 | String? password,
35 | DateTime? lastEditDate,
36 | }) async {
37 | note.title = title ?? note.title;
38 | note.content = content ?? note.content;
39 | note.tags = tags ?? note.tags;
40 | note.lastEditDate = lastEditDate ?? note.lastEditDate;
41 | note.pinned = pinned ?? note.pinned;
42 | note.password = password ?? note.password;
43 | sortList();
44 | await _saveData();
45 | }
46 |
47 | /// Saves entire note list to the device.
48 | Future _saveData() async {
49 | var box = Hive.box('flutter_notes_app');
50 |
51 | List savedNoteList = state.map((note) => json.encode(note.toMap())).toList();
52 | await box.put('notes', savedNoteList);
53 | }
54 |
55 | /// Loads all [Note] (s) from note list stored within the device.
56 | Future loadData() async {
57 | var box = Hive.box('flutter_notes_app');
58 |
59 | /// Removes all [Note] (s) from device.
60 | // box.delete('notes');
61 |
62 | List savedNoteList = box.get('notes', defaultValue: []);
63 | state = savedNoteList.map((note) => Note.fromMap(json.decode(note))).toList();
64 | }
65 |
66 | /// Sorts note list by dateOfLastEdit. The [Note] with the most recent dateOfLastEdit
67 | /// will be the first [Note] in the note list.
68 | void sortList() {
69 | state = [...state..sort((a, b) => b.lastEditDate!.compareTo(a.lastEditDate!))];
70 | }
71 |
72 | /// Creates custom string for dateTime elements.
73 | static String dateTimeString(DateTime dt) {
74 | var dtInLocal = dt.toLocal();
75 | var now = DateTime.now().toLocal();
76 | var dateString = "Saved ";
77 |
78 | var diff = now.difference(dtInLocal);
79 |
80 | if (now.day == dtInLocal.day) {
81 | // Creates format like: 12:35 PM,
82 | var todayFormat = DateFormat("h:mm a");
83 | dateString += todayFormat.format(dtInLocal);
84 | } else if ((diff.inDays) == 1 || (diff.inSeconds < 86400 && now.day != dtInLocal.day)) {
85 | dateString += "Yesterday";
86 | } else {
87 | var monthYearFormat = DateFormat("M/d/y");
88 | dateString += monthYearFormat.format(dtInLocal);
89 | }
90 | return dateString;
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/lib/src/ui/components/note_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter/cupertino.dart';
3 | import 'package:flutter_riverpod/flutter_riverpod.dart';
4 | import 'package:flutter_slidable/flutter_slidable.dart';
5 |
6 | import 'package:notes_app/src/models/note.dart';
7 | import 'package:notes_app/src/repositories/note_repository.dart';
8 | import 'package:notes_app/src/ui/functions/note_card_functions/delete_note_action.dart';
9 | import 'package:notes_app/src/ui/functions/note_card_functions/pin_note_action.dart';
10 | import 'package:notes_app/src/ui/providers/note_provider.dart';
11 | import 'package:notes_app/src/ui/views/note_creation_view/note_creation_view.dart';
12 |
13 | class NoteCard extends StatelessWidget {
14 | const NoteCard({Key? key, required this.note, required this.noteList, required this.setState}) : super(key: key);
15 |
16 | final Note note;
17 | final List noteList;
18 | final void Function(void Function()) setState;
19 |
20 | @override
21 | Widget build(BuildContext context) {
22 | return Consumer(
23 | builder: (context, watch, child) {
24 | return GestureDetector(
25 | onTap: () {
26 | CantonMethods.viewTransition(
27 | context,
28 | NoteCreationView(note: note),
29 | ).then((value) => setState(() {}));
30 | },
31 | child: Slidable(
32 | key: UniqueKey(),
33 | actionPane: SlidableDrawerActionPane(),
34 | actionExtentRatio: 0.25,
35 | dismissal: SlidableDismissal(
36 | child: SlidableDrawerDismissal(),
37 | dismissThresholds: {SlideActionType.primary: 1.0},
38 | onDismissed: (direction) {
39 | if (direction == SlideActionType.secondary)
40 | setState(() {
41 | context.read(noteProvider.notifier).removeNote(note);
42 | });
43 | },
44 | ),
45 | actions: [PinNoteAction(note, setState)],
46 | secondaryActions: [DeleteNoteAction(note, setState)],
47 | child: Card(
48 | elevation: 0,
49 | shape: SquircleBorder(
50 | side: BorderSide(color: CantonColors.borderPrimary!),
51 | radius: _cardRadius(),
52 | ),
53 | child: Padding(
54 | padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 15),
55 | child: _body(context),
56 | ),
57 | ),
58 | ),
59 | );
60 | },
61 | );
62 | }
63 |
64 | BorderRadius _cardRadius() {
65 | var pinnedList = noteList.where((element) => element.pinned!).toList();
66 | var normalList = noteList.where((element) => !element.pinned!).toList();
67 |
68 | if (pinnedList.isNotEmpty) {
69 | if (note.id == pinnedList.last.id && pinnedList.length > 1) {
70 | return BorderRadius.vertical(bottom: Radius.circular(33));
71 | } else if (note.id == pinnedList.first.id && pinnedList.length > 1) {
72 | return BorderRadius.vertical(top: Radius.circular(33));
73 | } else if (pinnedList.contains(note) && pinnedList.length == 1) {
74 | return BorderRadius.circular(33);
75 | }
76 | }
77 |
78 | if (note.id == normalList.last.id && normalList.length > 1) {
79 | return BorderRadius.vertical(bottom: Radius.circular(33));
80 | } else if (note.id == normalList.first.id && normalList.length > 1) {
81 | return BorderRadius.vertical(top: Radius.circular(33));
82 | } else if (normalList.length == 1) {
83 | return BorderRadius.circular(33);
84 | }
85 |
86 | return BorderRadius.zero;
87 | }
88 |
89 | String _tagName(String string) {
90 | if (string.length > 12 && string.length > 2) {
91 | return string.substring(0, 12) + '...';
92 | } else {
93 | return string;
94 | }
95 | }
96 |
97 | String _titleText(String string) {
98 | if (['', null].contains(string)) {
99 | return _contentText(note.content!);
100 | } else {
101 | if (string.split(' ').length > 10) {
102 | return CantonMethods.addDotsToString(note.title!, 10);
103 | } else {
104 | return string;
105 | }
106 | }
107 | }
108 |
109 | String _contentText(String string) {
110 | if (note.content!.split(' ').length > 10) {
111 | return CantonMethods.addDotsToString(note.content!, 10);
112 | } else {
113 | if (!(note.content! == '')) {
114 | return note.content!;
115 | } else {
116 | return 'No additional text';
117 | }
118 | }
119 | }
120 |
121 | Widget _body(BuildContext context) {
122 | // Creates tags on the note card.
123 | List _tags = [];
124 |
125 | for (var tag in note.tags!) {
126 | _tags.add(
127 | Row(
128 | children: [
129 | Container(
130 | decoration: BoxDecoration(
131 | color: Theme.of(context).colorScheme.primaryVariant,
132 | borderRadius: SmoothBorderRadius(cornerRadius: 5, cornerSmoothing: 1),
133 | ),
134 | padding: const EdgeInsets.all(4.0),
135 | child: Text(
136 | _tagName(tag.name!),
137 | style: Theme.of(context).textTheme.bodyText2?.copyWith(color: Theme.of(context).primaryColor),
138 | ),
139 | ),
140 | const SizedBox(width: 5),
141 | ],
142 | ),
143 | );
144 | }
145 |
146 | if (_tags.length > 3) {
147 | _tags.removeRange(3, _tags.length);
148 | _tags.add(
149 | Card(
150 | color: Theme.of(context).primaryColor,
151 | shape: SquircleBorder(radius: BorderRadius.circular(15)),
152 | child: Padding(
153 | padding: const EdgeInsets.all(4.0),
154 | child: Text(
155 | 'more',
156 | style: Theme.of(context).textTheme.bodyText2?.copyWith(color: CantonColors.white),
157 | ),
158 | ),
159 | ),
160 | );
161 | }
162 |
163 | return Row(
164 | children: [
165 | [null, false].contains(note.pinned)
166 | ? Container()
167 | : Icon(
168 | CupertinoIcons.pin_fill,
169 | size: 15,
170 | color: Theme.of(context).colorScheme.secondaryVariant,
171 | ),
172 | SizedBox(width: 7),
173 | Expanded(
174 | flex: 10,
175 | child: Column(
176 | crossAxisAlignment: CrossAxisAlignment.start,
177 | children: [
178 | Text(_titleText(note.title!), style: Theme.of(context).textTheme.headline6!),
179 | const SizedBox(height: 7),
180 | note.tags!.length > 0
181 | ? Row(
182 | children: _tags,
183 | )
184 | : Container(),
185 | note.tags!.length > 0 ? const SizedBox(height: 7) : Container(),
186 | Text(_contentText(note.content!), style: Theme.of(context).textTheme.bodyText1!),
187 | ],
188 | ),
189 | ),
190 | Spacer(),
191 | Text(
192 | NoteRepository.dateTimeString(note.lastEditDate!).substring(6),
193 | textAlign: TextAlign.right,
194 | style: Theme.of(context).textTheme.bodyText2!.copyWith(color: CantonColors.textTertiary),
195 | ),
196 | ],
197 | );
198 | }
199 |
200 | /// UNUSED
201 | ///
202 | /// Alters the note content to display the Title and content apropriately.
203 | /// It works the way the Apple Notes app or Google Keep app works where
204 | /// the first part of the note is the title and the rest is considered the
205 | /// content. If the content has more than 10 words it'll cut it and follow
206 | /// up with "...".
207 | /// This part is unused as I was hoping to integrate a rich text editor however
208 | /// that functionality is simply not possible in native dart/flutter code.
209 |
210 | // ignore: unused_element
211 | String _noteTitleText(List contentWordList) {
212 | if (note.content!.trimLeft().contains('\n')) {
213 | if (contentWordList.length >= 10) {
214 | return CantonMethods.addDotsToString(note.content!.trimLeft().substring(0, note.content!.indexOf('\n')), 10);
215 | } else {
216 | return note.content!.trimLeft().substring(0, note.content!.indexOf('\n'));
217 | }
218 | } else {
219 | if (contentWordList.length >= 10) {
220 | return CantonMethods.addDotsToString(note.content!.trimLeft(), 10);
221 | } else {
222 | return note.content!.trimLeft();
223 | }
224 | }
225 | }
226 |
227 | // ignore: unused_element
228 | String _noteContentText(List contentWordList) {
229 | if (note.content!.contains('\n') && (contentWordList.join(' ').trim() != _noteTitleText(contentWordList))) {
230 | String s = note.content!.substring(note.content!.indexOf('\n')).trim().replaceAll(new RegExp(r'\s+'), ' ');
231 | if (s.split(' ').length >= 10) {
232 | return CantonMethods.addDotsToString(s, 10);
233 | } else {
234 | return s;
235 | }
236 | } else {
237 | return 'No additional text';
238 | }
239 | }
240 | }
241 |
--------------------------------------------------------------------------------
/lib/src/ui/components/search_bar.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 |
3 | class SearchBar extends StatelessWidget {
4 | const SearchBar({Key? key, required this.searchNotes, this.tag, this.tagList}) : super(key: key);
5 |
6 | final void Function(String) searchNotes;
7 | final Tag? tag;
8 | final List? tagList;
9 |
10 | @override
11 | Widget build(BuildContext context) {
12 | return Column(
13 | children: [
14 | CantonTextInput(
15 | obscureText: false,
16 | isTextFormField: false,
17 | hintText: 'Search notes',
18 | radius: (tagList != null && tagList!.isNotEmpty)
19 | ? const SmoothBorderRadius.vertical(top: const SmoothRadius(cornerRadius: 27, cornerSmoothing: 1))
20 | : const SmoothBorderRadius.all(const SmoothRadius(cornerRadius: 27, cornerSmoothing: 1)),
21 | prefixIcon: IconlyIcon(
22 | IconlyBold.Search,
23 | size: 20,
24 | color: Theme.of(context).colorScheme.secondaryVariant,
25 | ),
26 | onChanged: (string) {
27 | searchNotes(string);
28 | },
29 | ),
30 | (tagList != null && tagList!.isNotEmpty)
31 | ? Container(
32 | decoration: BoxDecoration(
33 | color: Theme.of(context).colorScheme.secondary,
34 | borderRadius: const SmoothBorderRadius.vertical(
35 | bottom: const SmoothRadius(cornerRadius: 10, cornerSmoothing: 1),
36 | ),
37 | ),
38 | child: Padding(
39 | padding: const EdgeInsets.all(12.0),
40 | child: SizedBox(
41 | height: 26,
42 | child: ListView(
43 | scrollDirection: Axis.horizontal,
44 | children: tagList!,
45 | ),
46 | ),
47 | ),
48 | )
49 | : Container(),
50 | ],
51 | );
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/lib/src/ui/functions/note_card_functions/delete_note_action.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter_slidable/flutter_slidable.dart';
3 | import 'package:flutter_riverpod/flutter_riverpod.dart';
4 | import 'package:notes_app/src/models/note.dart';
5 | import 'package:notes_app/src/ui/providers/note_provider.dart';
6 |
7 | class DeleteNoteAction extends ConsumerWidget {
8 | const DeleteNoteAction(this.note, this.setState);
9 |
10 | final Note note;
11 | final void Function(void Function()) setState;
12 |
13 | @override
14 | Widget build(BuildContext context, ScopedReader watch) {
15 | return Container(
16 | margin: EdgeInsets.only(left: 10),
17 | child: SlideAction(
18 | decoration: ShapeDecoration(
19 | color: Theme.of(context).colorScheme.onError,
20 | shape: SquircleBorder(
21 | radius: BorderRadius.circular(35),
22 | ),
23 | ),
24 | child: IconlyIcon(
25 | IconlyBold.Delete,
26 | size: 27,
27 | color: Theme.of(context).colorScheme.error,
28 | ),
29 | onTap: () {
30 | setState(() {
31 | watch(noteProvider.notifier).removeNote(note);
32 | });
33 | },
34 | ),
35 | );
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/lib/src/ui/functions/note_card_functions/pin_note_action.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter/cupertino.dart';
3 | import 'package:flutter_slidable/flutter_slidable.dart';
4 | import 'package:flutter_riverpod/flutter_riverpod.dart';
5 | import 'package:notes_app/src/models/note.dart';
6 | import 'package:notes_app/src/ui/providers/note_provider.dart';
7 |
8 | class PinNoteAction extends ConsumerWidget {
9 | const PinNoteAction(this.note, this.setState);
10 |
11 | final Note note;
12 | final void Function(void Function()) setState;
13 |
14 | @override
15 | Widget build(BuildContext context, ScopedReader watch) {
16 | return Container(
17 | margin: EdgeInsets.only(right: 10),
18 | child: SlideAction(
19 | decoration: ShapeDecoration(
20 | color: Theme.of(context).colorScheme.onSurface,
21 | shape: SquircleBorder(
22 | radius: BorderRadius.circular(35),
23 | ),
24 | ),
25 | child: Icon(
26 | note.pinned! ? CupertinoIcons.pin_slash_fill : CupertinoIcons.pin_fill,
27 | size: 27,
28 | color: Theme.of(context).colorScheme.surface,
29 | ),
30 | onTap: () {
31 | setState(() {
32 | watch(noteProvider.notifier).updateNote(note: note, pinned: !note.pinned!);
33 | });
34 | },
35 | ),
36 | );
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/lib/src/ui/providers/note_provider.dart:
--------------------------------------------------------------------------------
1 | import 'package:notes_app/src/repositories/note_repository.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 | import 'package:notes_app/src/models/note.dart';
4 |
5 | final noteProvider = StateNotifierProvider>((ref) {
6 | return NoteRepository();
7 | });
8 |
--------------------------------------------------------------------------------
/lib/src/ui/views/home_view/components/home_view_header.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:notes_app/src/models/note.dart';
3 | import 'package:notes_app/src/ui/views/note_creation_view/note_creation_view.dart';
4 | import 'package:notes_app/src/ui/views/profile_view/profile_view.dart';
5 |
6 | class HomeViewHeader extends StatelessWidget {
7 | const HomeViewHeader({required this.setState, Key? key}) : super(key: key);
8 |
9 | final void Function(void Function()) setState;
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | return ViewHeaderTwo(
14 | title: 'Notes',
15 | backButton: false,
16 | buttonOne: CantonHeaderButton(
17 | backgroundColor: CantonColors.transparent,
18 | icon: Icon(
19 | Iconsax.user,
20 | color: Theme.of(context).primaryColor,
21 | size: 27,
22 | ),
23 | onPressed: () => CantonMethods.viewTransition(context, ProfileView()),
24 | ),
25 | buttonTwo: CantonHeaderButton(
26 | icon: Icon(
27 | FeatherIcons.plus,
28 | color: Theme.of(context).primaryColor,
29 | size: 27,
30 | ),
31 | backgroundColor: CantonColors.transparent,
32 | onPressed: () {
33 | CantonMethods.viewTransition(
34 | context,
35 | NoteCreationView(note: Note()),
36 | ).then((value) => {setState(() {})});
37 | }),
38 | );
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/lib/src/ui/views/home_view/components/tag_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:notes_app/src/ui/views/tag_view/tag_view.dart';
3 |
4 | class TagCard extends StatelessWidget {
5 | const TagCard({required this.tag, required this.setState, Key? key}) : super(key: key);
6 |
7 | final Tag tag;
8 | final void Function(void Function()) setState;
9 |
10 | @override
11 | Widget build(BuildContext context) {
12 | return GestureDetector(
13 | onTap: () => CantonMethods.viewTransition(context, TagView(tag)).then((value) => setState(() {})),
14 | child: Container(
15 | decoration: BoxDecoration(
16 | color: Theme.of(context).primaryColor,
17 | borderRadius: SmoothBorderRadius(cornerRadius: 5, cornerSmoothing: 1),
18 | ),
19 | padding: const EdgeInsets.all(4.0),
20 | child: Text(
21 | tag.name!,
22 | style: Theme.of(context).textTheme.bodyText2?.copyWith(color: CantonColors.white),
23 | ),
24 | ),
25 | );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/lib/src/ui/views/home_view/home_view.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter/cupertino.dart';
3 | import 'package:flutter_riverpod/flutter_riverpod.dart';
4 |
5 | import 'package:notes_app/src/models/note.dart';
6 | import 'package:notes_app/src/ui/components/search_bar.dart';
7 | import 'package:notes_app/src/ui/providers/note_provider.dart';
8 | import 'package:notes_app/src/ui/components/note_card.dart';
9 | import 'package:notes_app/src/ui/views/home_view/components/home_view_header.dart';
10 | import 'package:notes_app/src/ui/views/home_view/components/tag_card.dart';
11 |
12 | class HomeView extends StatefulWidget {
13 | @override
14 | _HomeViewState createState() => _HomeViewState();
15 | }
16 |
17 | class _HomeViewState extends State {
18 | List? noteList;
19 |
20 | @override
21 | void initState() {
22 | super.initState();
23 | _getNotes();
24 | }
25 |
26 | void _getNotes() async {
27 | await context.read(noteProvider.notifier).loadData();
28 | setState(() {});
29 | }
30 |
31 | @override
32 | Widget build(BuildContext context) {
33 | return CantonScaffold(
34 | backgroundColor: CantonMethods.alternateCanvasColor(context),
35 | body: _content(
36 | context,
37 | [null, []].contains(noteList) ? context.read(noteProvider) : noteList,
38 | ),
39 | );
40 | }
41 |
42 | Widget _content(BuildContext context, List? noteList) {
43 | return Column(
44 | children: [
45 | HomeViewHeader(setState: setState),
46 | SizedBox(height: 10),
47 | _body(context, noteList!),
48 | ],
49 | );
50 | }
51 |
52 | Widget _body(BuildContext context, List? noteList) {
53 | return Expanded(
54 | child: !(noteList?.length == 0)
55 | ? ListView(
56 | children: _notes(context, noteList!),
57 | )
58 | : Center(
59 | child: Text(
60 | 'No notes',
61 | style: Theme.of(context).textTheme.headline4?.copyWith(
62 | color: Theme.of(context).colorScheme.secondaryVariant,
63 | ),
64 | ),
65 | ),
66 | );
67 | }
68 |
69 | List _notes(BuildContext context, List noteList) {
70 | bool _hasPinnedNotes = false;
71 |
72 | for (final note in noteList) {
73 | if (note.pinned == true) {
74 | _hasPinnedNotes = true;
75 | }
76 | }
77 |
78 | List _notes = [
79 | SearchBar(searchNotes: _searchNotes, tagList: _listOfTags(context)),
80 | SizedBox(height: 10),
81 | _hasPinnedNotes
82 | ? Container(
83 | margin: EdgeInsets.symmetric(horizontal: 20, vertical: 5),
84 | child: Text('Pinned', style: Theme.of(context).textTheme.headline6))
85 | : Container(),
86 | ];
87 |
88 | for (int i = 0; i < noteList.length; i++) {
89 | var note = noteList[i];
90 | if (note.pinned == true) {
91 | _notes.add(NoteCard(note: note, noteList: noteList, setState: setState));
92 | }
93 | }
94 |
95 | _notes.add(
96 | _hasPinnedNotes && noteList.where((element) => element.pinned! == false).toList().length > 0
97 | ? Container(
98 | margin: EdgeInsets.symmetric(horizontal: 20, vertical: 5),
99 | child: Text('Notes', style: Theme.of(context).textTheme.headline6))
100 | : Container(),
101 | );
102 |
103 | for (int i = 0; i < noteList.length; i++) {
104 | final note = noteList[i];
105 | if ([null, false].contains(note.pinned)) {
106 | _notes.add(NoteCard(note: note, noteList: noteList, setState: setState));
107 | }
108 | }
109 |
110 | return _notes;
111 | }
112 |
113 | void _searchNotes(String query) {
114 | final newNoteList = context.read(noteProvider).where((note) {
115 | String tagsString = '';
116 | note.tags!.forEach((element) {
117 | tagsString += element.name!;
118 | });
119 | String searchText = note.title! + tagsString;
120 | return searchText.toLowerCase().contains(query.toLowerCase());
121 | }).toList();
122 |
123 | setState(() {
124 | if (newNoteList.isEmpty) {
125 | noteList = context.read(noteProvider);
126 | } else {
127 | noteList = newNoteList;
128 | }
129 | });
130 | }
131 |
132 | List _listOfTags(BuildContext context) {
133 | List _tagCards = [];
134 | List _tags = [];
135 |
136 | for (var note in noteList ?? context.read(noteProvider)) {
137 | for (var tag in note.tags!) {
138 | if (!_tags.contains(tag)) _tags.add(tag);
139 | }
140 | }
141 |
142 | for (var tag in _tags) {
143 | _tagCards.add(TagCard(tag: tag, setState: setState));
144 | _tagCards.add(const SizedBox(width: 5));
145 | }
146 |
147 | return _tagCards;
148 | }
149 | }
150 |
--------------------------------------------------------------------------------
/lib/src/ui/views/note_creation_view/components/content_text_field.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 |
4 | import 'package:notes_app/src/models/note.dart';
5 | import 'package:notes_app/src/ui/providers/note_provider.dart';
6 |
7 | class ContentTextField extends StatelessWidget {
8 | const ContentTextField(
9 | {Key? key, required this.focus, required this.controller, required this.setState, required this.note})
10 | : super(key: key);
11 |
12 | final FocusNode focus;
13 | final TextEditingController controller;
14 | final void Function(void Function()) setState;
15 | final Note note;
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | return TextField(
20 | focusNode: focus,
21 | cursorColor: Theme.of(context).primaryColor,
22 | controller: controller,
23 | maxLines: null,
24 | scrollController: new ScrollController(),
25 | onChanged: (content) {
26 | setState(() {
27 | context.read(noteProvider.notifier).updateNote(note: note, content: content, lastEditDate: DateTime.now());
28 | });
29 | },
30 | style: Theme.of(context).textTheme.headline6,
31 | decoration: InputDecoration(
32 | fillColor: CantonColors.transparent,
33 | border: InputBorder.none,
34 | enabledBorder: InputBorder.none,
35 | errorBorder: InputBorder.none,
36 | focusedBorder: InputBorder.none,
37 | disabledBorder: InputBorder.none,
38 | focusedErrorBorder: InputBorder.none,
39 | hintText: 'Something awesome...',
40 | ),
41 | );
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/lib/src/ui/views/note_creation_view/components/note_creation_view_header.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 | import 'package:notes_app/src/models/note.dart';
4 | import 'package:notes_app/src/repositories/note_repository.dart';
5 |
6 | class NoteCreationViewHeader extends ConsumerWidget {
7 | const NoteCreationViewHeader({required this.note, required this.completeNoteFunction, Key? key}) : super(key: key);
8 |
9 | final Note note;
10 | final void Function(ScopedReader) completeNoteFunction;
11 |
12 | @override
13 | Widget build(BuildContext context, ScopedReader watch) {
14 | return ViewHeaderTwo(
15 | title: NoteRepository.dateTimeString(
16 | note.lastEditDate ?? DateTime.now(),
17 | ),
18 | backButton: true,
19 | backButtonFunction: () => completeNoteFunction(watch),
20 | );
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/ui/views/note_creation_view/components/tag_text_field.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 |
4 | import 'package:notes_app/src/models/note.dart';
5 | import 'package:notes_app/src/ui/providers/note_provider.dart';
6 |
7 | class TagTextField extends StatelessWidget {
8 | const TagTextField({Key? key, required this.tags, required this.note, required this.setState}) : super(key: key);
9 |
10 | final List tags;
11 | final Note note;
12 | final void Function(void Function()) setState;
13 |
14 | @override
15 | Widget build(BuildContext context) {
16 | final _initTags = [];
17 |
18 | for (final tag in tags) {
19 | _initTags.add(tag.name!);
20 | }
21 |
22 | return CantonTagTextInput(
23 | maxTags: 10,
24 | initialTags: _initTags,
25 | textFieldStyler: TagTextInputStyler(
26 | cursorColor: Theme.of(context).primaryColor,
27 | hintText: 'Tags',
28 | textFieldFilledColor: Theme.of(context).colorScheme.secondary,
29 | textFieldFilled: true,
30 | ),
31 | tagsStyler: TagsStyler(
32 | tagCancelIcon: Icon(FeatherIcons.x, color: CantonColors.white),
33 | tagDecoration: ShapeDecoration(
34 | color: Theme.of(context).primaryColor, shape: SquircleBorder(radius: BorderRadius.circular(20))),
35 | tagTextStyle: Theme.of(context).textTheme.bodyText1!.copyWith(color: CantonColors.white),
36 | ),
37 | onDelete: (name) {
38 | tags.remove(Tag(name: name));
39 | setState(() {
40 | context.read(noteProvider.notifier).updateNote(note: note, tags: tags, lastEditDate: DateTime.now());
41 | });
42 | },
43 | onTag: (name) {
44 | tags.add(Tag(name: name));
45 | setState(() {
46 | context.read(noteProvider.notifier).updateNote(note: note, tags: tags, lastEditDate: DateTime.now());
47 | });
48 | },
49 | );
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/lib/src/ui/views/note_creation_view/components/title_text_field.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 |
3 | import 'package:notes_app/src/models/note.dart';
4 | import 'package:flutter_riverpod/flutter_riverpod.dart';
5 | import 'package:notes_app/src/ui/providers/note_provider.dart';
6 |
7 | class TitleTextField extends StatelessWidget {
8 | const TitleTextField(
9 | {Key? key, required this.focus, required this.controller, required this.setState, required this.note})
10 | : super(key: key);
11 |
12 | final FocusNode focus;
13 | final TextEditingController controller;
14 | final void Function(void Function()) setState;
15 | final Note note;
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | return TextField(
20 | focusNode: focus,
21 | cursorColor: Theme.of(context).primaryColor,
22 | controller: controller,
23 | maxLines: null,
24 | scrollController: ScrollController(),
25 | onChanged: (title) {
26 | setState(() {
27 | context.read(noteProvider.notifier).updateNote(note: note, title: title, lastEditDate: DateTime.now());
28 | });
29 | },
30 | style: Theme.of(context).textTheme.headline3,
31 | decoration: InputDecoration(
32 | hintText: 'Title',
33 | fillColor: CantonColors.transparent,
34 | border: InputBorder.none,
35 | enabledBorder: InputBorder.none,
36 | errorBorder: InputBorder.none,
37 | focusedBorder: InputBorder.none,
38 | disabledBorder: InputBorder.none,
39 | focusedErrorBorder: InputBorder.none,
40 | hintStyle:
41 | Theme.of(context).textTheme.headline3!.copyWith(color: Theme.of(context).colorScheme.secondaryVariant),
42 | ),
43 | );
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/lib/src/ui/views/note_creation_view/note_creation_view.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter/cupertino.dart';
3 | import 'package:flutter_riverpod/flutter_riverpod.dart';
4 | import 'package:notes_app/src/models/note.dart';
5 | import 'package:notes_app/src/ui/providers/note_provider.dart';
6 | import 'package:notes_app/src/ui/views/note_creation_view/components/content_text_field.dart';
7 | import 'package:notes_app/src/ui/views/note_creation_view/components/note_creation_view_header.dart';
8 | import 'package:notes_app/src/ui/views/note_creation_view/components/tag_text_field.dart';
9 | import 'package:notes_app/src/ui/views/note_creation_view/components/title_text_field.dart';
10 |
11 | class NoteCreationView extends StatefulWidget {
12 | final Note? note;
13 |
14 | const NoteCreationView({Key? key, this.note}) : super(key: key);
15 | @override
16 | _NoteCreationViewState createState() => _NoteCreationViewState();
17 | }
18 |
19 | class _NoteCreationViewState extends State {
20 | /// TextEditingControllers
21 | final _titleController = TextEditingController();
22 | final _contentController = TextEditingController();
23 |
24 | /// Focus Nodes
25 | final _contentFocus = FocusNode();
26 | final _titleFocus = FocusNode();
27 |
28 | /// Tags
29 | List? _tags = [];
30 |
31 | @override
32 | void initState() {
33 | super.initState();
34 | _editNoteFunction();
35 | }
36 |
37 | void _editNoteFunction() {
38 | if (widget.note?.id != null) {
39 | _titleController.text = widget.note?.title ?? '';
40 | _contentController.text = widget.note?.content ?? '';
41 | _tags = widget.note?.tags;
42 | } else if (widget.note?.tags != null) {
43 | _tags = widget.note?.tags;
44 | }
45 | }
46 |
47 | @override
48 | Widget build(BuildContext context) {
49 | return CantonScaffold(
50 | backgroundColor: CantonMethods.alternateCanvasColor(context),
51 | body: _content(context),
52 | );
53 | }
54 |
55 | Widget _content(BuildContext context) {
56 | return Consumer(
57 | builder: (context, watch, child) {
58 | return Column(
59 | children: [
60 | NoteCreationViewHeader(note: widget.note!, completeNoteFunction: _completeNoteFunction),
61 | SizedBox(height: 7),
62 | _body(context),
63 | ],
64 | );
65 | },
66 | );
67 | }
68 |
69 | Widget _body(BuildContext context) {
70 | return Consumer(
71 | builder: (context, watch, child) {
72 | return Expanded(
73 | child: Column(
74 | children: [
75 | TitleTextField(focus: _titleFocus, controller: _titleController, setState: setState, note: widget.note!),
76 | TagTextField(note: widget.note!, tags: _tags!, setState: setState),
77 | ContentTextField(
78 | focus: _contentFocus, controller: _contentController, setState: setState, note: widget.note!),
79 | ],
80 | ),
81 | );
82 | },
83 | );
84 | }
85 |
86 | void _completeNoteFunction(ScopedReader watch) {
87 | final repo = watch(noteProvider.notifier);
88 |
89 | if (!['', null].contains(_contentController.text) || !['', null].contains(_titleController.text)) {
90 | // Creates a new note if the controllers
91 | // aren't empty. If empty, it will act as a regular
92 | // back button.
93 | if (widget.note!.id == null) {
94 | repo.addNote(
95 | Note(
96 | id: UniqueKey().toString(),
97 | title: _titleController.text,
98 | content: _contentController.text,
99 | tags: _tags,
100 | pinned: widget.note!.pinned ?? false,
101 | password: widget.note!.password ?? '',
102 | creationDate: DateTime.now(),
103 | lastEditDate: DateTime.now(),
104 | ),
105 | );
106 | }
107 | } else {
108 | if (widget.note!.id != null) repo.removeNote(widget.note!);
109 | }
110 | }
111 | }
112 |
--------------------------------------------------------------------------------
/lib/src/ui/views/profile_view/components/date_of_first_note_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_riverpod/flutter_riverpod.dart';
2 | import 'package:canton_design_system/canton_design_system.dart';
3 | import 'package:notes_app/src/repositories/note_repository.dart';
4 | import 'package:notes_app/src/ui/providers/note_provider.dart';
5 |
6 | class DateOfFirstNoteCard extends StatelessWidget {
7 | const DateOfFirstNoteCard({Key? key}) : super(key: key);
8 |
9 | @override
10 | Widget build(BuildContext context) {
11 | return Card(
12 | margin: EdgeInsets.all(0),
13 | shape: SquircleBorder(
14 | radius: BorderRadius.vertical(bottom: Radius.circular(45)),
15 | side: BorderSide(
16 | color: CantonColors.transparent,
17 | width: 1.5,
18 | ),
19 | ),
20 | child: Padding(
21 | padding: EdgeInsets.symmetric(horizontal: 17, vertical: 15),
22 | child: Row(
23 | children: [
24 | Text(
25 | 'Date of first note',
26 | style: Theme.of(context).textTheme.headline5,
27 | ),
28 | Spacer(),
29 | Consumer(
30 | builder: (context, watch, child) {
31 | final repo = watch(noteProvider);
32 |
33 | if (repo.isNotEmpty) {
34 | context.read(noteProvider).sort((a, b) => b.creationDate!.compareTo(a.creationDate!));
35 |
36 | String date = NoteRepository.dateTimeString(
37 | context.read(noteProvider)[context.read(noteProvider).length - 1].creationDate!)
38 | .substring(6);
39 |
40 | return Text(
41 | date,
42 | style: Theme.of(context).textTheme.headline5,
43 | );
44 | } else {
45 | return Text(
46 | '😢',
47 | style: Theme.of(context).textTheme.headline5,
48 | );
49 | }
50 | },
51 | ),
52 | ],
53 | ),
54 | ),
55 | );
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/lib/src/ui/views/profile_view/components/profile_view_header.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 |
3 | class ProfileViewHeader extends StatelessWidget {
4 | const ProfileViewHeader({Key? key}) : super(key: key);
5 |
6 | @override
7 | Widget build(BuildContext context) {
8 | return Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [
9 | CantonBackButton(
10 | isClear: true,
11 | ),
12 | Text(
13 | 'Profile',
14 | textAlign: TextAlign.center,
15 | style: Theme.of(context).textTheme.headline5!.copyWith(
16 | color: Theme.of(context).primaryColor,
17 | ),
18 | ),
19 | CantonHeaderButton(
20 | backgroundColor: CantonColors.transparent,
21 | icon: Container(),
22 | onPressed: () {},
23 | ),
24 | ]);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lib/src/ui/views/profile_view/components/total_characters_typed_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 | import 'package:notes_app/src/models/note.dart';
4 | import 'package:notes_app/src/ui/providers/note_provider.dart';
5 |
6 | class TotalCharactersTypedCard extends StatelessWidget {
7 | const TotalCharactersTypedCard({Key? key}) : super(key: key);
8 |
9 | @override
10 | Widget build(BuildContext context) {
11 | return Card(
12 | margin: EdgeInsets.all(0),
13 | shape: SquircleBorder(),
14 | child: Padding(
15 | padding: EdgeInsets.symmetric(horizontal: 17, vertical: 15),
16 | child: Row(
17 | children: [
18 | Text(
19 | 'Total Characters Typed',
20 | style: Theme.of(context).textTheme.headline5,
21 | ),
22 | Spacer(),
23 | Consumer(
24 | builder: (context, watch, child) {
25 | final repo = watch(noteProvider);
26 | int totalCharacters = 0;
27 | for (Note note in repo) {
28 | totalCharacters += note.content!.trim().replaceAll(new RegExp(r'\s+'), ' ').split('').length +
29 | note.title!.trim().replaceAll(new RegExp(r'\s+'), ' ').split('').length;
30 | }
31 | return Text(
32 | totalCharacters.toString(),
33 | style: Theme.of(context).textTheme.headline5,
34 | );
35 | },
36 | ),
37 | ],
38 | ),
39 | ),
40 | );
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/lib/src/ui/views/profile_view/components/total_notes_created_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 | import 'package:notes_app/src/ui/providers/note_provider.dart';
4 |
5 | class TotalNotesCreatedCard extends StatelessWidget {
6 | const TotalNotesCreatedCard({Key? key}) : super(key: key);
7 |
8 | @override
9 | Widget build(BuildContext context) {
10 | return Card(
11 | margin: EdgeInsets.all(0),
12 | shape: SquircleBorder(
13 | radius: BorderRadius.vertical(top: Radius.circular(45)),
14 | side: BorderSide(
15 | color: CantonColors.transparent,
16 | width: 1.5,
17 | ),
18 | ),
19 | child: Padding(
20 | padding: EdgeInsets.symmetric(horizontal: 17, vertical: 15),
21 | child: Row(
22 | children: [
23 | Text(
24 | 'Total Notes Created',
25 | style: Theme.of(context).textTheme.headline5,
26 | ),
27 | Spacer(),
28 | Consumer(
29 | builder: (context, watch, child) {
30 | final repo = watch(noteProvider);
31 | return Text(
32 | repo.length.toString(),
33 | style: Theme.of(context).textTheme.headline5,
34 | );
35 | },
36 | ),
37 | ],
38 | ),
39 | ),
40 | );
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/lib/src/ui/views/profile_view/components/total_words_typed_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 | import 'package:notes_app/src/models/note.dart';
4 | import 'package:notes_app/src/ui/providers/note_provider.dart';
5 |
6 | class TotalWordsTypedCard extends StatelessWidget {
7 | const TotalWordsTypedCard({Key? key}) : super(key: key);
8 |
9 | @override
10 | Widget build(BuildContext context) {
11 | return Card(
12 | margin: EdgeInsets.all(0),
13 | shape: SquircleBorder(
14 | radius: BorderRadius.circular(0),
15 | side: BorderSide(
16 | color: CantonColors.transparent,
17 | width: 1.5,
18 | ),
19 | ),
20 | child: Padding(
21 | padding: EdgeInsets.symmetric(horizontal: 17, vertical: 15),
22 | child: Row(
23 | children: [
24 | Text(
25 | 'Total Words Typed',
26 | style: Theme.of(context).textTheme.headline5,
27 | ),
28 | Spacer(),
29 | Consumer(
30 | builder: (context, watch, child) {
31 | final repo = watch(noteProvider);
32 | int totalWords = 0;
33 | for (Note note in repo) {
34 | totalWords += note.content!.trim().replaceAll(new RegExp(r'\s+'), ' ').split(' ').length;
35 | }
36 | return Text(
37 | totalWords.toString(),
38 | style: Theme.of(context).textTheme.headline5,
39 | );
40 | },
41 | ),
42 | ],
43 | ),
44 | ),
45 | );
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/lib/src/ui/views/profile_view/profile_view.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:notes_app/src/ui/views/profile_view/components/date_of_first_note_card.dart';
3 | import 'package:notes_app/src/ui/views/profile_view/components/profile_view_header.dart';
4 | import 'package:notes_app/src/ui/views/profile_view/components/total_characters_typed_card.dart';
5 | import 'package:notes_app/src/ui/views/profile_view/components/total_notes_created_card.dart';
6 | import 'package:notes_app/src/ui/views/profile_view/components/total_words_typed_card.dart';
7 |
8 | class ProfileView extends StatelessWidget {
9 | @override
10 | Widget build(BuildContext context) {
11 | return CantonScaffold(
12 | backgroundColor: CantonMethods.alternateCanvasColor(context),
13 | body: _content(context),
14 | );
15 | }
16 |
17 | Widget _content(BuildContext context) {
18 | return Column(
19 | crossAxisAlignment: CrossAxisAlignment.center,
20 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
21 | children: [
22 | ProfileViewHeader(),
23 | CantonNullButton(),
24 | _body(context),
25 | CantonNullButton(),
26 | CantonNullButton(),
27 | CantonNullButton(),
28 | ],
29 | );
30 | }
31 |
32 | Widget _body(BuildContext context) {
33 | return Card(
34 | child: Column(
35 | children: [
36 | TotalNotesCreatedCard(),
37 | Divider(),
38 | TotalWordsTypedCard(),
39 | Divider(),
40 | TotalCharactersTypedCard(),
41 | Divider(),
42 | DateOfFirstNoteCard(),
43 | ],
44 | ),
45 | );
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/lib/src/ui/views/tag_view/components/tag_view_header.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:notes_app/src/models/note.dart';
3 | import 'package:notes_app/src/ui/views/note_creation_view/note_creation_view.dart';
4 |
5 | class TagViewHeader extends StatelessWidget {
6 | const TagViewHeader({required this.tag, required this.setState, Key? key}) : super(key: key);
7 |
8 | final Tag tag;
9 | final void Function(void Function()) setState;
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | return ViewHeaderTwo(
14 | title: tag.name,
15 | backButton: true,
16 | buttonTwo: CantonHeaderButton(
17 | icon: Icon(
18 | FeatherIcons.plus,
19 | color: Theme.of(context).primaryColor,
20 | size: 27,
21 | ),
22 | onPressed: () {
23 | CantonMethods.viewTransition(
24 | context,
25 | NoteCreationView(note: Note(tags: [tag])),
26 | ).then((value) => {setState(() {})});
27 | }),
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/lib/src/ui/views/tag_view/tag_view.dart:
--------------------------------------------------------------------------------
1 | import 'package:canton_design_system/canton_design_system.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 |
4 | import 'package:notes_app/src/models/note.dart';
5 | import 'package:notes_app/src/ui/components/note_card.dart';
6 | import 'package:notes_app/src/ui/components/search_bar.dart';
7 | import 'package:notes_app/src/ui/providers/note_provider.dart';
8 | import 'package:notes_app/src/ui/views/tag_view/components/tag_view_header.dart';
9 |
10 | class TagView extends StatefulWidget {
11 | const TagView(this.tag);
12 |
13 | final Tag tag;
14 |
15 | @override
16 | _TagViewState createState() => _TagViewState();
17 | }
18 |
19 | class _TagViewState extends State {
20 | List? noteList;
21 |
22 | @override
23 | Widget build(BuildContext context) {
24 | return CantonScaffold(
25 | backgroundColor: CantonMethods.alternateCanvasColor(context),
26 | body: _content(
27 | context,
28 | [null, []].contains(noteList)
29 | ? context.read(noteProvider).where((element) => element.tags!.contains(widget.tag)).toList()
30 | : noteList,
31 | ),
32 | );
33 | }
34 |
35 | Widget _content(BuildContext context, List? noteList) {
36 | return Column(
37 | children: [
38 | TagViewHeader(tag: widget.tag, setState: setState),
39 | SizedBox(height: 10),
40 | _body(context, noteList!),
41 | ],
42 | );
43 | }
44 |
45 | Widget _body(BuildContext context, List? noteList) {
46 | bool _hasPinnedNotes = false;
47 |
48 | for (final note in noteList!) {
49 | if (note.pinned == true) {
50 | _hasPinnedNotes = true;
51 | }
52 | }
53 |
54 | List _notes = [
55 | SearchBar(tag: widget.tag, searchNotes: _searchNotes),
56 | SizedBox(height: 10),
57 | _hasPinnedNotes
58 | ? Container(
59 | margin: EdgeInsets.symmetric(horizontal: 20, vertical: 5),
60 | child: Text('Pinned', style: Theme.of(context).textTheme.headline6))
61 | : Container(),
62 | ];
63 |
64 | for (int i = 0; i < noteList.length; i++) {
65 | final note = noteList[i];
66 | if (note.pinned == true) {
67 | _notes.add(NoteCard(note: note, noteList: noteList, setState: setState));
68 | }
69 | }
70 |
71 | _notes.add(
72 | _hasPinnedNotes && noteList.where((element) => element.pinned! == false).toList().length > 0
73 | ? Container(
74 | margin: EdgeInsets.symmetric(horizontal: 20, vertical: 5),
75 | child: Text('Notes', style: Theme.of(context).textTheme.headline6))
76 | : Container(),
77 | );
78 |
79 | for (int i = 0; i < noteList.length; i++) {
80 | final note = noteList[i];
81 | if ([null, false].contains(note.pinned)) {
82 | _notes.add(NoteCard(note: note, noteList: noteList, setState: setState));
83 | }
84 | }
85 |
86 | return Expanded(
87 | child: !(_notes.length == 0)
88 | ? ListView(children: _notes)
89 | : Center(
90 | child: Text(
91 | 'No notes',
92 | style: Theme.of(context)
93 | .textTheme
94 | .headline4
95 | ?.copyWith(color: Theme.of(context).colorScheme.secondaryVariant),
96 | ),
97 | ),
98 | );
99 | }
100 |
101 | void _searchNotes(String query) {
102 | final newNoteList =
103 | context.read(noteProvider).where((element) => element.tags!.contains(widget.tag)).toList().where((note) {
104 | return note.title!.toLowerCase().contains(query.toLowerCase());
105 | }).toList();
106 |
107 | setState(() {
108 | if (newNoteList.isEmpty) {
109 | noteList = context.read(noteProvider).where((element) => element.tags!.contains(widget.tag)).toList();
110 | } else {
111 | noteList = newNoteList;
112 | }
113 | });
114 | }
115 | }
116 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | async:
5 | dependency: transitive
6 | description:
7 | name: async
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.8.1"
11 | boolean_selector:
12 | dependency: transitive
13 | description:
14 | name: boolean_selector
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.1.0"
18 | canton_design_system:
19 | dependency: "direct main"
20 | description:
21 | path: "."
22 | ref: master
23 | resolved-ref: "1d0d7cb3042ac658f7dcd86453d4c20759c28ddf"
24 | url: "https://github.com/31Carlton7/canton_design_system.git"
25 | source: git
26 | version: "0.0.1"
27 | characters:
28 | dependency: transitive
29 | description:
30 | name: characters
31 | url: "https://pub.dartlang.org"
32 | source: hosted
33 | version: "1.1.0"
34 | charcode:
35 | dependency: transitive
36 | description:
37 | name: charcode
38 | url: "https://pub.dartlang.org"
39 | source: hosted
40 | version: "1.3.1"
41 | clock:
42 | dependency: transitive
43 | description:
44 | name: clock
45 | url: "https://pub.dartlang.org"
46 | source: hosted
47 | version: "1.1.0"
48 | collection:
49 | dependency: transitive
50 | description:
51 | name: collection
52 | url: "https://pub.dartlang.org"
53 | source: hosted
54 | version: "1.15.0"
55 | crypto:
56 | dependency: transitive
57 | description:
58 | name: crypto
59 | url: "https://pub.dartlang.org"
60 | source: hosted
61 | version: "3.0.1"
62 | cupertino_icons:
63 | dependency: "direct main"
64 | description:
65 | name: cupertino_icons
66 | url: "https://pub.dartlang.org"
67 | source: hosted
68 | version: "1.0.3"
69 | fake_async:
70 | dependency: transitive
71 | description:
72 | name: fake_async
73 | url: "https://pub.dartlang.org"
74 | source: hosted
75 | version: "1.2.0"
76 | ffi:
77 | dependency: transitive
78 | description:
79 | name: ffi
80 | url: "https://pub.dartlang.org"
81 | source: hosted
82 | version: "1.0.0"
83 | figma_squircle:
84 | dependency: transitive
85 | description:
86 | name: figma_squircle
87 | url: "https://pub.dartlang.org"
88 | source: hosted
89 | version: "0.5.3"
90 | file:
91 | dependency: transitive
92 | description:
93 | name: file
94 | url: "https://pub.dartlang.org"
95 | source: hosted
96 | version: "6.1.0"
97 | flutter:
98 | dependency: "direct main"
99 | description: flutter
100 | source: sdk
101 | version: "0.0.0"
102 | flutter_feather_icons:
103 | dependency: transitive
104 | description:
105 | name: flutter_feather_icons
106 | url: "https://pub.dartlang.org"
107 | source: hosted
108 | version: "2.0.0+1"
109 | flutter_riverpod:
110 | dependency: transitive
111 | description:
112 | name: flutter_riverpod
113 | url: "https://pub.dartlang.org"
114 | source: hosted
115 | version: "0.14.0+3"
116 | flutter_slidable:
117 | dependency: transitive
118 | description:
119 | name: flutter_slidable
120 | url: "https://pub.dartlang.org"
121 | source: hosted
122 | version: "0.6.0"
123 | flutter_spinkit:
124 | dependency: transitive
125 | description:
126 | name: flutter_spinkit
127 | url: "https://pub.dartlang.org"
128 | source: hosted
129 | version: "5.0.0"
130 | flutter_svg:
131 | dependency: transitive
132 | description:
133 | name: flutter_svg
134 | url: "https://pub.dartlang.org"
135 | source: hosted
136 | version: "0.22.0"
137 | flutter_test:
138 | dependency: "direct dev"
139 | description: flutter
140 | source: sdk
141 | version: "0.0.0"
142 | flutter_web_plugins:
143 | dependency: transitive
144 | description: flutter
145 | source: sdk
146 | version: "0.0.0"
147 | font_awesome_flutter:
148 | dependency: transitive
149 | description:
150 | name: font_awesome_flutter
151 | url: "https://pub.dartlang.org"
152 | source: hosted
153 | version: "9.2.0"
154 | freezed_annotation:
155 | dependency: transitive
156 | description:
157 | name: freezed_annotation
158 | url: "https://pub.dartlang.org"
159 | source: hosted
160 | version: "0.14.1"
161 | hive:
162 | dependency: "direct main"
163 | description:
164 | name: hive
165 | url: "https://pub.dartlang.org"
166 | source: hosted
167 | version: "2.0.4"
168 | hive_flutter:
169 | dependency: "direct main"
170 | description:
171 | name: hive_flutter
172 | url: "https://pub.dartlang.org"
173 | source: hosted
174 | version: "1.1.0"
175 | http:
176 | dependency: transitive
177 | description:
178 | name: http
179 | url: "https://pub.dartlang.org"
180 | source: hosted
181 | version: "0.13.4"
182 | http_parser:
183 | dependency: transitive
184 | description:
185 | name: http_parser
186 | url: "https://pub.dartlang.org"
187 | source: hosted
188 | version: "4.0.0"
189 | iconsax:
190 | dependency: transitive
191 | description:
192 | name: iconsax
193 | url: "https://pub.dartlang.org"
194 | source: hosted
195 | version: "0.0.8"
196 | intl:
197 | dependency: "direct main"
198 | description:
199 | name: intl
200 | url: "https://pub.dartlang.org"
201 | source: hosted
202 | version: "0.17.0"
203 | js:
204 | dependency: transitive
205 | description:
206 | name: js
207 | url: "https://pub.dartlang.org"
208 | source: hosted
209 | version: "0.6.3"
210 | json_annotation:
211 | dependency: transitive
212 | description:
213 | name: json_annotation
214 | url: "https://pub.dartlang.org"
215 | source: hosted
216 | version: "4.0.1"
217 | liquid_pull_to_refresh:
218 | dependency: transitive
219 | description:
220 | name: liquid_pull_to_refresh
221 | url: "https://pub.dartlang.org"
222 | source: hosted
223 | version: "3.0.0"
224 | matcher:
225 | dependency: transitive
226 | description:
227 | name: matcher
228 | url: "https://pub.dartlang.org"
229 | source: hosted
230 | version: "0.12.10"
231 | meta:
232 | dependency: transitive
233 | description:
234 | name: meta
235 | url: "https://pub.dartlang.org"
236 | source: hosted
237 | version: "1.7.0"
238 | ms_undraw:
239 | dependency: transitive
240 | description:
241 | name: ms_undraw
242 | url: "https://pub.dartlang.org"
243 | source: hosted
244 | version: "3.0.1+1"
245 | page_transition:
246 | dependency: transitive
247 | description:
248 | name: page_transition
249 | url: "https://pub.dartlang.org"
250 | source: hosted
251 | version: "2.0.2"
252 | path:
253 | dependency: transitive
254 | description:
255 | name: path
256 | url: "https://pub.dartlang.org"
257 | source: hosted
258 | version: "1.8.0"
259 | path_drawing:
260 | dependency: transitive
261 | description:
262 | name: path_drawing
263 | url: "https://pub.dartlang.org"
264 | source: hosted
265 | version: "0.5.0"
266 | path_parsing:
267 | dependency: transitive
268 | description:
269 | name: path_parsing
270 | url: "https://pub.dartlang.org"
271 | source: hosted
272 | version: "0.2.0"
273 | path_provider:
274 | dependency: transitive
275 | description:
276 | name: path_provider
277 | url: "https://pub.dartlang.org"
278 | source: hosted
279 | version: "2.0.6"
280 | path_provider_linux:
281 | dependency: transitive
282 | description:
283 | name: path_provider_linux
284 | url: "https://pub.dartlang.org"
285 | source: hosted
286 | version: "2.0.0"
287 | path_provider_macos:
288 | dependency: transitive
289 | description:
290 | name: path_provider_macos
291 | url: "https://pub.dartlang.org"
292 | source: hosted
293 | version: "2.0.2"
294 | path_provider_platform_interface:
295 | dependency: transitive
296 | description:
297 | name: path_provider_platform_interface
298 | url: "https://pub.dartlang.org"
299 | source: hosted
300 | version: "2.0.1"
301 | path_provider_windows:
302 | dependency: transitive
303 | description:
304 | name: path_provider_windows
305 | url: "https://pub.dartlang.org"
306 | source: hosted
307 | version: "2.0.1"
308 | petitparser:
309 | dependency: transitive
310 | description:
311 | name: petitparser
312 | url: "https://pub.dartlang.org"
313 | source: hosted
314 | version: "4.1.0"
315 | platform:
316 | dependency: transitive
317 | description:
318 | name: platform
319 | url: "https://pub.dartlang.org"
320 | source: hosted
321 | version: "3.0.0"
322 | plugin_platform_interface:
323 | dependency: transitive
324 | description:
325 | name: plugin_platform_interface
326 | url: "https://pub.dartlang.org"
327 | source: hosted
328 | version: "2.0.0"
329 | process:
330 | dependency: transitive
331 | description:
332 | name: process
333 | url: "https://pub.dartlang.org"
334 | source: hosted
335 | version: "4.2.1"
336 | riverpod:
337 | dependency: transitive
338 | description:
339 | name: riverpod
340 | url: "https://pub.dartlang.org"
341 | source: hosted
342 | version: "0.14.0+3"
343 | shared_preferences:
344 | dependency: "direct main"
345 | description:
346 | name: shared_preferences
347 | url: "https://pub.dartlang.org"
348 | source: hosted
349 | version: "2.0.5"
350 | shared_preferences_linux:
351 | dependency: transitive
352 | description:
353 | name: shared_preferences_linux
354 | url: "https://pub.dartlang.org"
355 | source: hosted
356 | version: "2.0.0"
357 | shared_preferences_macos:
358 | dependency: transitive
359 | description:
360 | name: shared_preferences_macos
361 | url: "https://pub.dartlang.org"
362 | source: hosted
363 | version: "2.0.0"
364 | shared_preferences_platform_interface:
365 | dependency: transitive
366 | description:
367 | name: shared_preferences_platform_interface
368 | url: "https://pub.dartlang.org"
369 | source: hosted
370 | version: "2.0.0"
371 | shared_preferences_web:
372 | dependency: transitive
373 | description:
374 | name: shared_preferences_web
375 | url: "https://pub.dartlang.org"
376 | source: hosted
377 | version: "2.0.0"
378 | shared_preferences_windows:
379 | dependency: transitive
380 | description:
381 | name: shared_preferences_windows
382 | url: "https://pub.dartlang.org"
383 | source: hosted
384 | version: "2.0.0"
385 | sky_engine:
386 | dependency: transitive
387 | description: flutter
388 | source: sdk
389 | version: "0.0.99"
390 | source_span:
391 | dependency: transitive
392 | description:
393 | name: source_span
394 | url: "https://pub.dartlang.org"
395 | source: hosted
396 | version: "1.8.1"
397 | stack_trace:
398 | dependency: transitive
399 | description:
400 | name: stack_trace
401 | url: "https://pub.dartlang.org"
402 | source: hosted
403 | version: "1.10.0"
404 | state_notifier:
405 | dependency: transitive
406 | description:
407 | name: state_notifier
408 | url: "https://pub.dartlang.org"
409 | source: hosted
410 | version: "0.7.0"
411 | stream_channel:
412 | dependency: transitive
413 | description:
414 | name: stream_channel
415 | url: "https://pub.dartlang.org"
416 | source: hosted
417 | version: "2.1.0"
418 | string_scanner:
419 | dependency: transitive
420 | description:
421 | name: string_scanner
422 | url: "https://pub.dartlang.org"
423 | source: hosted
424 | version: "1.1.0"
425 | term_glyph:
426 | dependency: transitive
427 | description:
428 | name: term_glyph
429 | url: "https://pub.dartlang.org"
430 | source: hosted
431 | version: "1.2.0"
432 | test_api:
433 | dependency: transitive
434 | description:
435 | name: test_api
436 | url: "https://pub.dartlang.org"
437 | source: hosted
438 | version: "0.4.2"
439 | typed_data:
440 | dependency: transitive
441 | description:
442 | name: typed_data
443 | url: "https://pub.dartlang.org"
444 | source: hosted
445 | version: "1.3.0"
446 | vector_math:
447 | dependency: transitive
448 | description:
449 | name: vector_math
450 | url: "https://pub.dartlang.org"
451 | source: hosted
452 | version: "2.1.0"
453 | win32:
454 | dependency: transitive
455 | description:
456 | name: win32
457 | url: "https://pub.dartlang.org"
458 | source: hosted
459 | version: "2.0.5"
460 | xdg_directories:
461 | dependency: transitive
462 | description:
463 | name: xdg_directories
464 | url: "https://pub.dartlang.org"
465 | source: hosted
466 | version: "0.2.0"
467 | xml:
468 | dependency: transitive
469 | description:
470 | name: xml
471 | url: "https://pub.dartlang.org"
472 | source: hosted
473 | version: "5.1.0"
474 | sdks:
475 | dart: ">=2.14.0 <3.0.0"
476 | flutter: ">=2.5.0"
477 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: notes_app
2 | description: A new Flutter project.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `pub publish`. This is preferred for private packages.
6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | version: 1.0.0+1
19 |
20 | environment:
21 | sdk: '>=2.12.0 <3.0.0'
22 |
23 | dependencies:
24 | flutter:
25 | sdk: flutter
26 |
27 | # UI
28 | canton_design_system:
29 | git:
30 | url: https://github.com/31Carlton7/canton_design_system.git
31 | ref: master
32 | cupertino_icons: ^1.0.2
33 |
34 | # Storage
35 | hive: ^2.0.4
36 | hive_flutter: ^1.1.0
37 | shared_preferences:
38 |
39 | # Other
40 | intl: ^0.17.0
41 |
42 | # The following adds the Cupertino Icons font to your application.
43 | # Use with the CupertinoIcons class for iOS style icons.
44 |
45 | dev_dependencies:
46 | flutter_test:
47 | sdk: flutter
48 |
49 | # For information on the generic Dart part of this file, see the
50 | # following page: https://dart.dev/tools/pub/pubspec
51 |
52 | # The following section is specific to Flutter.
53 | flutter:
54 | # The following line ensures that the Material Icons font is
55 | # included with your application, so that you can use the icons in
56 | # the material Icons class.
57 | uses-material-design: true
58 |
59 | # To add assets to your application, add an assets section, like this:
60 | # assets:
61 | # - images/a_dot_burr.jpeg
62 | # - images/a_dot_ham.jpeg
63 |
64 | # An image asset can refer to one or more resolution-specific "variants", see
65 | # https://flutter.dev/assets-and-images/#resolution-aware.
66 |
67 | # For details regarding adding assets from package dependencies, see
68 | # https://flutter.dev/assets-and-images/#from-packages
69 |
70 | # To add custom fonts to your application, add a fonts section here,
71 | # in this "flutter" section. Each entry in this list should have a
72 | # "family" key with the font family name, and a "fonts" key with a
73 | # list giving the asset and other descriptors for the font. For
74 | # For details regarding fonts from package dependencies,
75 | # see https://flutter.dev/custom-fonts/#from-packages
76 |
--------------------------------------------------------------------------------
/screenshots/Simulator Screen Shot - iPhone 12 Pro Max - 2021-06-13 at 18.54.52.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/Simulator Screen Shot - iPhone 12 Pro Max - 2021-06-13 at 18.54.52.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_18989CB7-77BD-4DCC-92C5-A9062CC1E64F.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_18989CB7-77BD-4DCC-92C5-A9062CC1E64F.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_2795C0E4-D853-4697-8B25-46D43AB87FFC.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_2795C0E4-D853-4697-8B25-46D43AB87FFC.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_389D0B14-5BDA-4CA1-8BD3-AB45127C3434.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_389D0B14-5BDA-4CA1-8BD3-AB45127C3434.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_67D06A41-ADCA-43F2-BBB2-53E1FFA06E9E.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_67D06A41-ADCA-43F2-BBB2-53E1FFA06E9E.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_779C7EDE-5372-4792-950B-B1B4C675C6D8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_779C7EDE-5372-4792-950B-B1B4C675C6D8.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_8B992D8C-23CF-4FEC-8D1C-9B271BBE8E05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_8B992D8C-23CF-4FEC-8D1C-9B271BBE8E05.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_91328528-304B-40EB-9B91-81627EF063C9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_91328528-304B-40EB-9B91-81627EF063C9.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_C550D1B3-FDC4-47F1-80A0-80245BD66BDB.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_C550D1B3-FDC4-47F1-80A0-80245BD66BDB.png
--------------------------------------------------------------------------------
/screenshots/simulator_screenshot_CF1D26E6-3959-4BCB-A47B-1DD69542207C.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/screenshots/simulator_screenshot_CF1D26E6-3959-4BCB-A47B-1DD69542207C.png
--------------------------------------------------------------------------------
/videos/dark_mode_video.mov:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/videos/dark_mode_video.mov
--------------------------------------------------------------------------------
/videos/light_mode_video.mov:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/31Carlton7/flutter_notes_app/46e744fa03f1233ab3367759f7b6683d7629f044/videos/light_mode_video.mov
--------------------------------------------------------------------------------