├── .firebaserc
├── .github
└── workflows
│ └── ci.yaml
├── .gitignore
├── .metadata
├── .run
├── Prod.run.xml
├── Staging.run.xml
└── widgetbook.dart.run.xml
├── .vscode
└── launch.json
├── LICENSE
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ ├── google-services.json
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── gdglagos
│ │ │ │ └── devfestlg
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-night-v21
│ │ │ ├── background.png
│ │ │ └── launch_background.xml
│ │ │ ├── drawable-night
│ │ │ ├── background.png
│ │ │ └── launch_background.xml
│ │ │ ├── drawable-v21
│ │ │ ├── background.png
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ ├── background.png
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ └── ic_launcher.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_background.png
│ │ │ ├── ic_launcher_foreground.png
│ │ │ └── ic_launcher_monochrome.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_background.png
│ │ │ ├── ic_launcher_foreground.png
│ │ │ └── ic_launcher_monochrome.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_background.png
│ │ │ ├── ic_launcher_foreground.png
│ │ │ └── ic_launcher_monochrome.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_background.png
│ │ │ ├── ic_launcher_foreground.png
│ │ │ └── ic_launcher_monochrome.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_background.png
│ │ │ ├── ic_launcher_foreground.png
│ │ │ └── ic_launcher_monochrome.png
│ │ │ ├── values-night-v31
│ │ │ └── styles.xml
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ ├── values-v31
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── fonts
│ ├── GoogleSansDisplay-Bold.ttf
│ └── GoogleSansDisplay-Regular.ttf
├── icons
│ ├── google-logo.svg
│ └── logo.svg
└── images
│ ├── devfest-banner.png
│ ├── google-logo.png
│ ├── logo-dark.png
│ ├── logo-light.png
│ ├── lyft-logo.png
│ ├── splash-dark.png
│ ├── splash-light.png
│ ├── spotify-logo.png
│ └── uber-logo.png
├── codemagic.yaml
├── firebase.json
├── 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
│ │ │ ├── appstore-1024.png
│ │ │ ├── appstore-20.png
│ │ │ ├── appstore-20@2x.png
│ │ │ ├── appstore-20@3x.png
│ │ │ ├── appstore-29.png
│ │ │ ├── appstore-29@2x.png
│ │ │ ├── appstore-29@3x.png
│ │ │ ├── appstore-40.png
│ │ │ ├── appstore-40@2x.png
│ │ │ ├── appstore-40@3x.png
│ │ │ ├── appstore-60@2x.png
│ │ │ ├── appstore-60@3x.png
│ │ │ ├── appstore-76.png
│ │ │ ├── appstore-76@2x.png
│ │ │ └── appstore-83.5@2x.png
│ │ ├── LaunchBackground.imageset
│ │ │ ├── Contents.json
│ │ │ ├── background.png
│ │ │ └── darkbackground.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── GoogleService-Info.plist
│ ├── Info.plist
│ ├── Runner-Bridging-Header.h
│ └── Runner.entitlements
├── RunnerTests
│ └── RunnerTests.swift
└── firebase_app_id_file.json
├── lib
├── app.dart
├── core
│ ├── constants.dart
│ ├── data
│ │ ├── data.dart
│ │ ├── devfest_repository.dart
│ │ ├── devfest_repository_impl.dart
│ │ └── dto
│ │ │ ├── add_multiple_rsvp_request.dart
│ │ │ ├── agenda_response.dart
│ │ │ ├── categories_response.dart
│ │ │ ├── dto.dart
│ │ │ ├── login_request.dart
│ │ │ ├── rsvp_session_request.dart
│ │ │ ├── rsvp_sessions_response.dart
│ │ │ ├── sessions_response.dart
│ │ │ ├── speakers_response.dart
│ │ │ └── update_token_request.dart
│ ├── enums
│ │ ├── devfest_day.dart
│ │ ├── status.dart
│ │ └── tab_item.dart
│ ├── exceptions
│ │ ├── client_exception.dart
│ │ ├── devfest_exception.dart
│ │ ├── empty_exception.dart
│ │ ├── exceptions.dart
│ │ ├── invalid_ticket_id_exception.dart
│ │ ├── object_parse_exception.dart
│ │ ├── server_exception.dart
│ │ └── user_not_registered_exception.dart
│ ├── icons.dart
│ ├── images.dart
│ ├── network
│ │ ├── data_transformer.dart
│ │ ├── network.dart
│ │ └── network_client.dart
│ ├── providers
│ │ ├── current_tab_provider.dart
│ │ ├── providers.dart
│ │ ├── theme_manager.dart
│ │ └── theme_providers.dart
│ ├── router
│ │ ├── module_provider.dart
│ │ ├── navigator.dart
│ │ ├── router.dart
│ │ └── routes.dart
│ ├── services
│ │ ├── firebase_notification_manager.dart
│ │ └── local_notification_manager.dart
│ ├── size_util.dart
│ ├── themes
│ │ ├── bottom_nav_theme.dart
│ │ ├── button_theme.dart
│ │ ├── colors.dart
│ │ ├── outlined_button_theme.dart
│ │ ├── text_field_theme.dart
│ │ ├── text_theme.dart
│ │ ├── theme_data.dart
│ │ ├── theme_widget.dart
│ │ └── themes.dart
│ ├── ui_state_model
│ │ ├── ui_state.dart
│ │ ├── ui_state_model.dart
│ │ └── view_state.dart
│ ├── utils.dart
│ └── widgets
│ │ ├── animated_indexed_stack.dart
│ │ ├── bottom_nav.dart
│ │ ├── buttons.dart
│ │ ├── chips.dart
│ │ ├── loading_widgets.dart
│ │ ├── on_screen_loader.dart
│ │ ├── schedule_tab_bar.dart
│ │ ├── switcher.dart
│ │ ├── text_field.dart
│ │ └── widgets.dart
├── features
│ ├── agenda
│ │ ├── model
│ │ │ └── agenda_model.dart
│ │ └── pages
│ │ │ ├── agenda.dart
│ │ │ └── agenda_base.dart
│ ├── favourites
│ │ └── pages
│ │ │ ├── favourites.dart
│ │ │ └── favourites_base.dart
│ ├── home
│ │ ├── pages
│ │ │ └── home.dart
│ │ └── widgets
│ │ │ ├── header_delegate.dart
│ │ │ ├── more_tile.dart
│ │ │ ├── schedule_tile.dart
│ │ │ ├── session_category_chip.dart
│ │ │ ├── speaker_action_card.dart
│ │ │ ├── speakers_chip.dart
│ │ │ └── sponsors_chip.dart
│ ├── more
│ │ └── pages
│ │ │ ├── more.dart
│ │ │ └── more_base.dart
│ ├── onboarding
│ │ ├── application
│ │ │ ├── application.dart
│ │ │ ├── auth
│ │ │ │ ├── auth_value_objects.dart
│ │ │ │ ├── ui_state.dart
│ │ │ │ └── view_model.dart
│ │ │ └── controllers.dart
│ │ ├── pages
│ │ │ ├── authentication.dart
│ │ │ └── onboarding.dart
│ │ └── widgets
│ │ │ └── title_tile.dart
│ ├── profile
│ │ ├── application
│ │ │ ├── ui_state.dart
│ │ │ └── view_model.dart
│ │ └── pages
│ │ │ └── profile.dart
│ ├── schedule
│ │ ├── application
│ │ │ ├── application.dart
│ │ │ ├── controllers.dart
│ │ │ ├── session_detail
│ │ │ │ ├── ui_state.dart
│ │ │ │ └── view_model.dart
│ │ │ └── sessions
│ │ │ │ ├── ui_state.dart
│ │ │ │ └── view_model.dart
│ │ └── pages
│ │ │ ├── schedule.dart
│ │ │ ├── schedule_base.dart
│ │ │ └── session.dart
│ ├── speakers
│ │ ├── application
│ │ │ ├── application.dart
│ │ │ ├── controllers.dart
│ │ │ ├── speaker_detail
│ │ │ │ ├── ui_state.dart
│ │ │ │ └── view_model.dart
│ │ │ └── speakers
│ │ │ │ ├── ui_state.dart
│ │ │ │ └── view_model.dart
│ │ └── page
│ │ │ ├── speaker_details.dart
│ │ │ ├── speakers.dart
│ │ │ └── speakers_base.dart
│ └── splash
│ │ └── splash.dart
├── firebase_options.dart
├── main_prod.dart
├── main_staging.dart
└── widgetbook.dart
├── pubspec.lock
├── pubspec.yaml
├── shorebird.yaml
├── shots
└── gdg-logo.png
├── test
├── commons.dart
└── features
│ ├── onboarding
│ └── application
│ │ ├── value_objects_test.dart
│ │ └── view_model_test.dart
│ ├── profile
│ └── application
│ │ └── view_model_test.dart
│ ├── schedule
│ └── application
│ │ ├── session_detail_view_model_test.dart
│ │ └── sessions_view_model_test.dart
│ └── speakers
│ └── application
│ ├── speakers_detail_view_model_test.dart
│ └── speakers_view_model_test.dart
└── web
├── favicon.png
├── icons
├── Icon-maskable-192.png
├── Icon-maskable-512.png
├── README.txt
├── apple-touch-icon.png
├── favicon.ico
├── icon-192-maskable.png
├── icon-192.png
├── icon-512-maskable.png
└── icon-512.png
├── index.html
├── manifest.json
└── splash
└── img
├── dark-background.png
└── light-background.png
/.firebaserc:
--------------------------------------------------------------------------------
1 | {
2 | "projects": {
3 | "default": "devfestlagos-2022"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/.github/workflows/ci.yaml:
--------------------------------------------------------------------------------
1 | name: CI
2 |
3 | on:
4 | push:
5 | branches: [master, dev]
6 | paths:
7 | - 'lib/**'
8 | - 'pubspec.yaml'
9 | - '.github/**'
10 | - 'android/**'
11 | - 'ios/**'
12 | - 'assets/**'
13 | - 'web/**'
14 | pull_request:
15 | branches: [master, dev]
16 | paths:
17 | - 'lib/**'
18 | - 'pubspec.yaml'
19 | - '.github/**'
20 | - 'android/**'
21 | - 'ios/**'
22 | - 'assets/**'
23 | - 'web/**'
24 |
25 | jobs:
26 | test:
27 | runs-on: ubuntu-latest
28 | steps:
29 | - uses: actions/checkout@v3
30 | - uses: subosito/flutter-action@v2
31 | with:
32 | channel: "stable"
33 | cache: true
34 | - name: Fetch dependencies
35 | run: flutter packages get
36 | - name: Widgetbook generator
37 | run: flutter pub run build_runner build --delete-conflicting-outputs
38 | - name: Analyze project
39 | run: flutter analyze .
40 | - name: Run tests
41 | run: flutter test --coverage
42 | - name: Upload coverage reports to Codecov
43 | uses: codecov/codecov-action@v3
44 | with:
45 | file: ./coverage/lcov.info
46 | token: ${{ secrets.CODECOV_TOKEN }}
47 |
48 | widgetbook:
49 | name: Build widgetbook
50 | needs: test
51 | if: github.event_name == 'pull_request'
52 | env:
53 | ALFRED: ${{secrets.ALFRED}}
54 | runs-on: ubuntu-latest
55 | steps:
56 | - uses: actions/checkout@v3
57 | - uses: subosito/flutter-action@v2
58 | with:
59 | channel: "stable"
60 | cache: true
61 | - name: Fetch dependencies
62 | run: flutter packages get
63 | - name: Widgetbook generator
64 | run: flutter pub run build_runner build --delete-conflicting-outputs
65 | - name: Generate release build
66 | run: flutter build web --release -t lib/widgetbook.dart --web-renderer canvaskit
67 | - name: Deploy widgetbook
68 | if: ${{ github.event_name == 'pull_request' }}
69 | uses: peaceiris/actions-gh-pages@v3
70 | with:
71 | github_token: ${{ secrets.ALFRED }}
72 | personal_token: ${{ secrets.ALFRED }}
73 | publish_dir: ./build/web
74 | force_orphan: true
75 | user_name: 'Alfred 🦇'
76 | user_email: 'alfred@batman.inc'
77 | full_commit_message: 'feat: publish widgetbook'
78 | commit_message: 'feat: publish widgetbook'
79 | - name: Comment Widgetbook status
80 | if: ${{ github.event_name == 'pull_request' }}
81 | uses: thollander/actions-comment-pull-request@v2
82 | with:
83 | GITHUB_TOKEN: ${{secrets.ALFRED}}
84 | message: |
85 | Hello Team :wave:
86 | All widgets are now available for preview at: https://devfest23.netlify.app
87 | reactions: rocket
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | .vscode/
23 | .fvm/
24 | *.jks
25 | coverage/
26 |
27 | # Flutter/Dart/Pub related
28 | **/doc/api/
29 | **/ios/Flutter/.last_build_id
30 | .dart_tool/
31 | .flutter-plugins
32 | .flutter-plugins-dependencies
33 | .packages
34 | .pub-cache/
35 | .pub/
36 | /build/
37 |
38 | # Symbolication related
39 | app.*.symbols
40 |
41 | # Obfuscation related
42 | app.*.map.json
43 |
44 | # generated files
45 | *.g.dart
46 |
47 | # Android Studio will place build artifacts here
48 | /android/app/debug
49 | /android/app/profile
50 | /android/app/release
--------------------------------------------------------------------------------
/.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: "efbf63d9c66b9f6ec30e9ad4611189aa80003d31"
8 | channel: "stable"
9 |
10 | project_type: app
11 |
12 | # Tracks metadata for the flutter migrate command
13 | migration:
14 | platforms:
15 | - platform: root
16 | create_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
17 | base_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
18 | - platform: web
19 | create_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
20 | base_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
21 |
22 | # User provided section
23 |
24 | # List of Local paths (relative to this file) that should be
25 | # ignored by the migrate tool.
26 | #
27 | # Files that are not part of the templates will be ignored by default.
28 | unmanaged_files:
29 | - 'lib/main.dart'
30 | - 'ios/Runner.xcodeproj/project.pbxproj'
31 |
--------------------------------------------------------------------------------
/.run/Prod.run.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.run/Staging.run.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.run/widgetbook.dart.run.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "inputs": [
7 | {
8 | "id": "buildMode",
9 | "type": "pickString",
10 | "default": "debug",
11 | "options": ["debug", "profile", "release"],
12 | "description": "Which build mode to use?"
13 | },
14 | {
15 | "id": "environment",
16 | "type": "pickString",
17 | "default": "staging",
18 | "options": ["staging", "prod"],
19 | "description": "Which environment to run against?"
20 | }
21 | ],
22 | "configurations": [
23 | {
24 | "name": "Devfest23 Widgetbook",
25 | "request": "launch",
26 | "type": "dart",
27 | "program": "lib/widgetbook.dart",
28 | "flutterMode": "debug"
29 | },
30 | {
31 | "name": "Devfest23 App",
32 | "request": "launch",
33 | "type": "dart",
34 | "program": "lib/main_${input:environment}.dart",
35 | "flutterMode": "${input:buildMode}"
36 | }
37 | ]
38 | }
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 GDG Lagos
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # DevFest Lagos 2023
2 | [](https://codemagic.io/apps/64da71850bfae33ab37b51d5/dev-android/latest_build)
3 | [](https://github.com/Mastersam07/devfest23/actions/workflows/ci.yaml)
4 | [](https://codecov.io/github/Mastersam07/devfest23)
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | :rocket: Get Started
14 |
15 | ### Show some ❤️ and star the repo to support the project
16 |
17 | ## Overview
18 |
19 | Some description goes here.
20 |
21 | ## 💻 Technology
22 |
23 | - Flutter
24 | - Firebase
25 | - Widgetbook
26 | - Firebase emulator
27 | - Cloud functions
28 |
29 | ## Getting Started
30 |
31 | 1. [Fork the repository](https://github.com/Mastersam07/devfest23) and clone your fork locally
32 | 2. Install [Flutter 3.16.x](https://flutter.dev/docs/get-started/install)
33 | 3. Install [Android Studio/ IntelliJ / VSCode](https://flutter.dev/docs/development/tools/android-studio)
34 | 4. Run dev mode:
35 | ```dart
36 | flutter run -t lib/main_staging.dart
37 | ```
38 | 5. In devmode, ensure to run the firebase emulator. For more on firebase emulator, check here.
39 | 5. Run prod mode:
40 | ```dart
41 | flutter run -t lib/main_prod.dart
42 | ```
43 | 6. [Preparing release for android](https://flutter.dev/docs/deployment/android)
44 | 7. [Preparing release for iOS](https://flutter.dev/docs/deployment/ios)
45 |
46 | ## 📸 ScreenShots
47 |
48 | | iOS | Android |
49 | | :--------------------------: | :-------------------------------: |
50 |
51 | ## 🛠️ Building the project
52 | Some description goes here
53 |
54 | ## 📄 Contributing
55 | Some description goes here
56 |
57 | ## ❗️ Note
58 | Some note goes here
59 |
60 | ## 🤓 Contributors
61 |
62 | - [Samuel Abada](https://github.com/mastersam07)
63 | - [Sebastine Odeh](https://github.com/CoderNamedHendrick)
64 |
65 | ## License
66 |
67 | Project is published under the [MIT license](/LICENSE).
68 | Feel free to clone and modify repo as you want, but don't forget to add reference to authors 🙂
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | depend_on_referenced_packages: false
26 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
27 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
28 |
29 | # Additional information about this file can be found at
30 | # https://dart.dev/guides/language/analysis-options
31 |
--------------------------------------------------------------------------------
/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 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "163954857780",
4 | "project_id": "devfestlagos-2022",
5 | "storage_bucket": "devfestlagos-2022.appspot.com"
6 | },
7 | "client": [
8 | {
9 | "client_info": {
10 | "mobilesdk_app_id": "1:163954857780:android:4d45af7f9a23b6c1ae3761",
11 | "android_client_info": {
12 | "package_name": "com.gdglagos.devfest22"
13 | }
14 | },
15 | "oauth_client": [
16 | {
17 | "client_id": "163954857780-9ijr6due97v02ilkcp42hncnuocfqcp1.apps.googleusercontent.com",
18 | "client_type": 1,
19 | "android_info": {
20 | "package_name": "com.gdglagos.devfest22",
21 | "certificate_hash": "29faf42239b0f9b246501b3b49b9b87f162661d0"
22 | }
23 | },
24 | {
25 | "client_id": "163954857780-vieq7ei97tna2tc755to85l2dge5hfu3.apps.googleusercontent.com",
26 | "client_type": 3
27 | }
28 | ],
29 | "api_key": [
30 | {
31 | "current_key": "AIzaSyAyucrDWB2TK6bLcne65YcihOBVBHLjMtI"
32 | }
33 | ],
34 | "services": {
35 | "appinvite_service": {
36 | "other_platform_oauth_client": [
37 | {
38 | "client_id": "163954857780-vieq7ei97tna2tc755to85l2dge5hfu3.apps.googleusercontent.com",
39 | "client_type": 3
40 | },
41 | {
42 | "client_id": "163954857780-guggkvl3euja9qm3l3op70h19prpffj1.apps.googleusercontent.com",
43 | "client_type": 2,
44 | "ios_info": {
45 | "bundle_id": "com.gdglagos.devfest22",
46 | "app_store_id": "6444653663"
47 | }
48 | }
49 | ]
50 | }
51 | }
52 | },
53 | {
54 | "client_info": {
55 | "mobilesdk_app_id": "1:163954857780:android:8f28e8d1eac80d7cae3761",
56 | "android_client_info": {
57 | "package_name": "com.gdglagos.devfestlg"
58 | }
59 | },
60 | "oauth_client": [
61 | {
62 | "client_id": "163954857780-4o1eqfetdrv3j6u6lc8ke1ik6ksv1cqs.apps.googleusercontent.com",
63 | "client_type": 1,
64 | "android_info": {
65 | "package_name": "com.gdglagos.devfestlg",
66 | "certificate_hash": "b11a16a6650a4e6f793620bc9f8a630f27406d3e"
67 | }
68 | },
69 | {
70 | "client_id": "163954857780-vieq7ei97tna2tc755to85l2dge5hfu3.apps.googleusercontent.com",
71 | "client_type": 3
72 | }
73 | ],
74 | "api_key": [
75 | {
76 | "current_key": "AIzaSyAyucrDWB2TK6bLcne65YcihOBVBHLjMtI"
77 | }
78 | ],
79 | "services": {
80 | "appinvite_service": {
81 | "other_platform_oauth_client": [
82 | {
83 | "client_id": "163954857780-vieq7ei97tna2tc755to85l2dge5hfu3.apps.googleusercontent.com",
84 | "client_type": 3
85 | },
86 | {
87 | "client_id": "163954857780-guggkvl3euja9qm3l3op70h19prpffj1.apps.googleusercontent.com",
88 | "client_type": 2,
89 | "ios_info": {
90 | "bundle_id": "com.gdglagos.devfest22",
91 | "app_store_id": "6444653663"
92 | }
93 | }
94 | ]
95 | }
96 | }
97 | }
98 | ],
99 | "configuration_version": "1"
100 | }
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
16 |
20 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
33 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/gdglagos/devfestlg/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.gdglagos.devfestlg
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-v21/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/drawable-night-v21/background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/drawable-night/background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/drawable-v21/background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/drawable/background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night-v31/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
19 |
22 |
23 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values-v31/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
19 |
22 |
23 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.7.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.3.0'
10 | // START: FlutterFire Configuration
11 | classpath 'com.google.gms:google-services:4.3.15'
12 | // END: FlutterFire Configuration
13 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | google()
20 | mavenCentral()
21 | }
22 | }
23 |
24 | rootProject.buildDir = '../build'
25 | subprojects {
26 | project.buildDir = "${rootProject.buildDir}/${project.name}"
27 | }
28 | subprojects {
29 | project.evaluationDependsOn(':app')
30 | }
31 |
32 | tasks.register("clean", Delete) {
33 | delete rootProject.buildDir
34 | }
35 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
6 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/assets/fonts/GoogleSansDisplay-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/fonts/GoogleSansDisplay-Bold.ttf
--------------------------------------------------------------------------------
/assets/fonts/GoogleSansDisplay-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/fonts/GoogleSansDisplay-Regular.ttf
--------------------------------------------------------------------------------
/assets/icons/google-logo.svg:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/assets/icons/logo.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/assets/images/devfest-banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/devfest-banner.png
--------------------------------------------------------------------------------
/assets/images/google-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/google-logo.png
--------------------------------------------------------------------------------
/assets/images/logo-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/logo-dark.png
--------------------------------------------------------------------------------
/assets/images/logo-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/logo-light.png
--------------------------------------------------------------------------------
/assets/images/lyft-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/lyft-logo.png
--------------------------------------------------------------------------------
/assets/images/splash-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/splash-dark.png
--------------------------------------------------------------------------------
/assets/images/splash-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/splash-light.png
--------------------------------------------------------------------------------
/assets/images/spotify-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/spotify-logo.png
--------------------------------------------------------------------------------
/assets/images/uber-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/assets/images/uber-logo.png
--------------------------------------------------------------------------------
/codemagic.yaml:
--------------------------------------------------------------------------------
1 | workflows:
2 | dev-android:
3 | name: build, test & publish Android version
4 | instance_type: mac_mini_m1
5 | max_build_duration: 120
6 | environment:
7 | flutter: 3.16.0
8 | xcode: latest
9 | android_signing:
10 | - devfest23-key
11 | cache:
12 | cache_paths:
13 | - $FLUTTER_ROOT/.pub-cache
14 | - $HOME/.gradle/caches
15 | - $HOME/Library/Caches/CocoaPods
16 | triggering:
17 | branch_patterns:
18 | - pattern: 'dev'
19 | include: true
20 | events:
21 | - push
22 | cancel_previous_builds: true
23 | scripts:
24 | - name: Set up local.properties
25 | script: |
26 | echo "flutter.sdk=$HOME/programs/flutter" > "$CM_BUILD_DIR/android/local.properties"
27 | - name: Get Flutter packages
28 | script: |
29 | flutter packages pub get
30 | - name: Widgetbook generator
31 | script: |
32 | flutter pub run build_runner build --delete-conflicting-outputs
33 | - name: Flutter analyze
34 | ignore_failure: true
35 | script: |
36 | flutter analyze .
37 | - name: Flutter unit tests
38 | script: |
39 | flutter test
40 | ignore_failure: true
41 | - name: Build app binary
42 | script: |
43 | flutter build apk --release -t lib/main_prod.dart --obfuscate --split-debug-info=.
44 | artifacts:
45 | - build/**/outputs/apk/**/*.apk
46 | publishing:
47 | email:
48 | recipients:
49 | - abadasamuelosp@gmail.com
50 | - sebastinesoacatp@gmail.com
51 | notify:
52 | success: true # To receive a notification when a build succeeds
53 | failure: false # To not receive a notification when a build fails
54 |
--------------------------------------------------------------------------------
/firebase.json:
--------------------------------------------------------------------------------
1 | {
2 | "emulators": {
3 | "auth": {
4 | "port": 9099
5 | },
6 | "ui": {
7 | "enabled": true
8 | },
9 | "singleProjectMode": true
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/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 | 11.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? "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"
3 | #include "Generated.xcconfig"
4 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | platform :ios, '11.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 |
32 | pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.16.0'
33 | use_frameworks!
34 | use_modular_headers!
35 |
36 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
37 | target 'RunnerTests' do
38 | inherit! :search_paths
39 | end
40 | end
41 |
42 | post_install do |installer|
43 | installer.pods_project.targets.each do |target|
44 | flutter_additional_ios_build_settings(target)
45 | end
46 | end
47 |
--------------------------------------------------------------------------------
/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.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" : "appstore-20@2x.png",
7 | "scale": "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom": "iphone",
12 | "filename" : "appstore-20@3x.png",
13 | "scale": "3x"
14 | },
15 | {
16 | "size" : "20x20",
17 | "idiom": "ipad",
18 | "filename" : "appstore-20.png",
19 | "scale": "1x"
20 | },
21 | {
22 | "size" : "20x20",
23 | "idiom": "ipad",
24 | "filename" : "appstore-20@2x.png",
25 | "scale": "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "appstore-29@2x.png",
31 | "scale" : "2x"
32 | },
33 | {
34 | "size" : "29x29",
35 | "idiom" : "iphone",
36 | "filename" : "appstore-29@3x.png",
37 | "scale" : "3x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "appstore-40@2x.png",
43 | "scale" : "2x"
44 | },
45 | {
46 | "size" : "40x40",
47 | "idiom" : "iphone",
48 | "filename" : "appstore-40@3x.png",
49 | "scale" : "3x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "appstore-60@2x.png",
55 | "scale" : "2x"
56 | },
57 | {
58 | "size" : "60x60",
59 | "idiom" : "iphone",
60 | "filename" : "appstore-60@3x.png",
61 | "scale" : "3x"
62 | },
63 | {
64 | "size" : "29x29",
65 | "idiom" : "ipad",
66 | "filename" : "appstore-29.png",
67 | "scale" : "1x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "appstore-29@2x.png",
73 | "scale" : "2x"
74 | },
75 | {
76 | "size" : "40x40",
77 | "idiom" : "ipad",
78 | "filename" : "appstore-40.png",
79 | "scale" : "1x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "appstore-40@2x.png",
85 | "scale" : "2x"
86 | },
87 | {
88 | "size" : "76x76",
89 | "idiom" : "ipad",
90 | "filename" : "appstore-76.png",
91 | "scale" : "1x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "appstore-76@2x.png",
97 | "scale" : "2x"
98 | },
99 | {
100 | "size" : "83.5x83.5",
101 | "idiom" : "ipad",
102 | "filename" : "appstore-83.5@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "1024x1024",
107 | "idiom" : "ios-marketing",
108 | "filename" : "appstore-1024.png",
109 | "scale" : "1x"
110 | }
111 | ],
112 | "info" : {
113 | "version" : 1,
114 | "author" : "xcode"
115 | }
116 | }
117 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-1024.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-20.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-29.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-40.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-76.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/AppIcon.appiconset/appstore-83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "background.png",
5 | "idiom" : "universal"
6 | },
7 | {
8 | "appearances" : [
9 | {
10 | "appearance" : "luminosity",
11 | "value" : "dark"
12 | }
13 | ],
14 | "filename" : "darkbackground.png",
15 | "idiom" : "universal"
16 | }
17 | ],
18 | "info" : {
19 | "author" : "xcode",
20 | "version" : 1
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "LaunchImage.png",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "filename" : "LaunchImage@2x.png",
10 | "idiom" : "universal",
11 | "scale" : "2x"
12 | },
13 | {
14 | "filename" : "LaunchImage@3x.png",
15 | "idiom" : "universal",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "author" : "xcode",
21 | "version" : 1
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-lagos/devfest23/cd1770fd1567856988be37db57e145f2ebe3c451/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 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/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/GoogleService-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CLIENT_ID
6 | 163954857780-u8p3v1ug6scdo4n91l56ooesm3q9u6in.apps.googleusercontent.com
7 | REVERSED_CLIENT_ID
8 | com.googleusercontent.apps.163954857780-u8p3v1ug6scdo4n91l56ooesm3q9u6in
9 | ANDROID_CLIENT_ID
10 | 163954857780-4o1eqfetdrv3j6u6lc8ke1ik6ksv1cqs.apps.googleusercontent.com
11 | API_KEY
12 | AIzaSyBrjQGvrhDQTdVk5-DInHkDLMiOgvzHoxI
13 | GCM_SENDER_ID
14 | 163954857780
15 | PLIST_VERSION
16 | 1
17 | BUNDLE_ID
18 | com.gdglagos.devfestlg
19 | PROJECT_ID
20 | devfestlagos-2022
21 | STORAGE_BUCKET
22 | devfestlagos-2022.appspot.com
23 | IS_ADS_ENABLED
24 |
25 | IS_ANALYTICS_ENABLED
26 |
27 | IS_APPINVITE_ENABLED
28 |
29 | IS_GCM_ENABLED
30 |
31 | IS_SIGNIN_ENABLED
32 |
33 | GOOGLE_APP_ID
34 | 1:163954857780:ios:e9c87dee27844b2cae3761
35 |
36 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | DevFest Lagos'23
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | devfest23
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 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 | CADisableMinimumFrameDurationOnPhone
47 |
48 | UIApplicationSupportsIndirectInputEvents
49 |
50 | UIStatusBarHidden
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/ios/Runner/Runner.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | aps-environment
6 | development
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/ios/firebase_app_id_file.json:
--------------------------------------------------------------------------------
1 | {
2 | "file_generated_by": "FlutterFire CLI",
3 | "purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
4 | "GOOGLE_APP_ID": "1:163954857780:ios:e9c87dee27844b2cae3761",
5 | "FIREBASE_PROJECT_ID": "devfestlagos-2022",
6 | "GCM_SENDER_ID": "163954857780"
7 | }
--------------------------------------------------------------------------------
/lib/app.dart:
--------------------------------------------------------------------------------
1 | import 'core/router/module_provider.dart';
2 | import 'core/router/router.dart';
3 | import 'core/size_util.dart';
4 | import 'package:flutter/material.dart';
5 | import 'package:flutter_native_splash/flutter_native_splash.dart';
6 | import 'package:flutter_riverpod/flutter_riverpod.dart';
7 | import 'package:flutter_screenutil/flutter_screenutil.dart';
8 |
9 | import 'core/providers/providers.dart';
10 | import 'core/router/navigator.dart';
11 | import 'core/themes/themes.dart';
12 |
13 | class DevfestApp extends ConsumerStatefulWidget {
14 | const DevfestApp({super.key});
15 |
16 | @override
17 | ConsumerState createState() => _DevfestAppState();
18 | }
19 |
20 | class _DevfestAppState extends ConsumerState {
21 | @override
22 | void initState() {
23 | super.initState();
24 | FlutterNativeSplash.remove();
25 |
26 | WidgetsFlutterBinding.ensureInitialized().addPostFrameCallback((_) {
27 | ref.read(themeManagerProvider.notifier).getThemeMode(context);
28 | });
29 | }
30 |
31 | // This widget is the root of your application.
32 | @override
33 | Widget build(BuildContext context) {
34 | return ScreenUtilInit(
35 | designSize: designSize,
36 | minTextAdapt: true,
37 | builder: (_, child) {
38 | return MaterialApp(
39 | debugShowCheckedModeBanner: false,
40 | themeMode: ref.watch(themeManagerProvider),
41 | navigatorKey: AppNavigator.getKey(Module.general),
42 | onGenerateRoute: AppRouter.generateRoutes,
43 | onUnknownRoute: (settings) => MaterialPageRoute(
44 | settings: settings,
45 | builder: (_) => Scaffold(
46 | body: Center(
47 | child: Text('No route defined for ${settings.name}'),
48 | ),
49 | ),
50 | ),
51 | routes: AppRouter.routes,
52 | theme: ThemeData(
53 | colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
54 | useMaterial3: true,
55 | textTheme: TextTheme(
56 | bodyMedium: TextStyle(
57 | fontFamily: 'Google Sans',
58 | color: ref.watch(textColorProvider),
59 | ),
60 | ),
61 | extensions: >[
62 | /// Use the below format for raw theme data
63 | /// DevFestTheme(textTheme: DevfestTextTheme()),
64 | DevFestTheme.light(),
65 | ],
66 | ),
67 | darkTheme: ThemeData(
68 | colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
69 | useMaterial3: true,
70 | textTheme: TextTheme(
71 | bodyMedium: TextStyle(
72 | fontFamily: 'Google Sans',
73 | color: ref.watch(textColorProvider),
74 | ),
75 | ),
76 | extensions: >[
77 | /// Use the below format for raw theme data
78 | /// DevFestTheme(textTheme: DevfestTextTheme()),
79 | DevFestTheme.dark(),
80 | ],
81 | ),
82 | );
83 | },
84 | );
85 | }
86 | }
87 |
--------------------------------------------------------------------------------
/lib/core/constants.dart:
--------------------------------------------------------------------------------
1 | abstract class Constants {
2 | static final day1 = DateTime(2023, 11, 24);
3 | static final day2 = DateTime(2023, 11, 25);
4 |
5 | static const kAnimationDur = Duration(milliseconds: 300);
6 | static const kShimmerDur = Duration(milliseconds: 800);
7 |
8 | static const horizontalMargin = 24.0;
9 | static const horizontalGutter = 8.0;
10 | static const largeVerticalGutter = 24.0;
11 | static const verticalGutter = 16.0;
12 | static const smallVerticalGutter = 8.0;
13 |
14 | static const iconWeight = 600.0;
15 | }
16 |
--------------------------------------------------------------------------------
/lib/core/data/data.dart:
--------------------------------------------------------------------------------
1 | export 'devfest_repository.dart';
2 | export 'dto/dto.dart';
3 |
--------------------------------------------------------------------------------
/lib/core/data/devfest_repository.dart:
--------------------------------------------------------------------------------
1 | import 'package:devfest23/core/data/devfest_repository_impl.dart';
2 | import 'package:devfest23/core/data/dto/dto.dart';
3 | import 'package:flutter_riverpod/flutter_riverpod.dart';
4 |
5 | import '../network/network.dart';
6 |
7 | abstract interface class DevfestRepository {
8 | const DevfestRepository();
9 |
10 | Future> logout();
11 |
12 | Future> rsvpLogin(LoginRequestDto dto);
13 |
14 | Future> fetchAgendas();
15 |
16 | Future> fetchSpeakers();
17 |
18 | Future> fetchSessions();
19 |
20 | Future addToRSVP(RSVPSessionRequestDto dto);
21 |
22 | Future removeFromRSVP(RSVPSessionRequestDto dto);
23 |
24 | Future updateUserDeviceToken(UpdateTokenRequestDto dto);
25 |
26 | Future addMultipleRSVPs(AddMultipleRSVPRequestDto dto);
27 |
28 | Future>> fetchRSVPSessions();
29 |
30 | Future> fetchSessionCategories();
31 | }
32 |
33 | final devfestRepositoryProvider =
34 | Provider.autoDispose((ref) {
35 | return const DevfestRepositoryImplementation();
36 | });
37 |
--------------------------------------------------------------------------------
/lib/core/data/dto/add_multiple_rsvp_request.dart:
--------------------------------------------------------------------------------
1 | import 'package:equatable/equatable.dart';
2 |
3 | final class AddMultipleRSVPRequestDto extends Equatable {
4 | final List sessionIds;
5 |
6 | const AddMultipleRSVPRequestDto({required this.sessionIds});
7 |
8 | Map toJson() => {'sessionIds': sessionIds};
9 |
10 | @override
11 | List