├── .gitignore
├── .metadata
├── LICENSE
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── zaryabshakir
│ │ │ │ └── filmku
│ │ │ │ └── filmku
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-hdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-mdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-night-hdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-night-mdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-night-v21
│ │ │ ├── background.png
│ │ │ └── launch_background.xml
│ │ │ ├── drawable-night-xhdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-night-xxhdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-night-xxxhdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-night
│ │ │ ├── background.png
│ │ │ └── launch_background.xml
│ │ │ ├── drawable-v21
│ │ │ ├── background.png
│ │ │ └── launch_background.xml
│ │ │ ├── drawable-xhdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-xxhdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable-xxxhdpi
│ │ │ ├── android12splash.png
│ │ │ └── splash.png
│ │ │ ├── drawable
│ │ │ ├── background.png
│ │ │ └── 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-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
├── images
│ ├── icons
│ │ ├── default.svg
│ │ ├── heart_filled.svg
│ │ ├── heart_outlined.svg
│ │ ├── help.svg
│ │ ├── menu.svg
│ │ ├── night.svg
│ │ ├── notification.svg
│ │ └── sun.svg
│ └── movies
│ │ ├── drawer.png
│ │ └── movie.jpeg
└── logo
│ └── logo.png
├── flutter_native_splash.yaml
├── fonts
├── merri_weather
│ ├── Merriweather-Black.ttf
│ └── Merriweather-Bold.ttf
└── mulish
│ ├── Mulish-Bold.ttf
│ └── Mulish-Regular.ttf
├── 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
│ │ ├── LaunchBackground.imageset
│ │ │ ├── Contents.json
│ │ │ ├── background.png
│ │ │ └── darkbackground.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ ├── LaunchImageDark.png
│ │ │ ├── LaunchImageDark@2x.png
│ │ │ ├── LaunchImageDark@3x.png
│ │ │ └── README.md
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
└── RunnerTests
│ └── RunnerTests.swift
├── lib
├── app
│ ├── app_colors.dart
│ ├── app_configs.dart
│ ├── app_constants.dart
│ ├── app_data.dart
│ ├── app_dimens.dart
│ ├── app_globals.dart
│ ├── app_strings.dart
│ ├── app_text_styles.dart
│ ├── app_text_theme.dart
│ └── app_theme.dart
├── core
│ ├── app.dart
│ ├── app_env.dart
│ └── observers.dart
├── di
│ └── Injector.dart
├── features
│ ├── bookmarks
│ │ ├── data
│ │ │ ├── datasource
│ │ │ │ ├── local
│ │ │ │ │ ├── bookmark_local_datasource.dart
│ │ │ │ │ └── bookmark_local_datasource_impl.dart
│ │ │ │ └── remote
│ │ │ │ │ └── bookmark_remote_datasource.dart
│ │ │ └── repositories
│ │ │ │ └── bookmark_repository_impl.dart
│ │ ├── domain
│ │ │ ├── repositories
│ │ │ │ └── bookmark_repository.dart
│ │ │ └── use_cases
│ │ │ │ ├── get_bookmarks_use_case.dart
│ │ │ │ └── remove_bookmarks_use_case.dart
│ │ └── presentation
│ │ │ ├── providers
│ │ │ ├── bookmark_notifier_provider.dart
│ │ │ └── state
│ │ │ │ ├── bookmark_notifier.dart
│ │ │ │ └── bookmark_state.dart
│ │ │ ├── screens
│ │ │ └── bookmark_screen.dart
│ │ │ └── widgets
│ │ │ └── bookmark_card.dart
│ ├── home
│ │ ├── data
│ │ │ ├── datasource
│ │ │ │ ├── local
│ │ │ │ │ ├── home_local_datasource.dart
│ │ │ │ │ └── home_local_datasource_impl.dart
│ │ │ │ └── remote
│ │ │ │ │ ├── home_remote_data_source.dart
│ │ │ │ │ └── home_remote_datasource.dart
│ │ │ └── repositories
│ │ │ │ └── home_repository_impl.dart
│ │ ├── domain
│ │ │ ├── repositories
│ │ │ │ └── home_repository.dart
│ │ │ └── use_cases
│ │ │ │ ├── fetch_and_cache_genre_use_case.dart
│ │ │ │ ├── fetch_and_cache_movies_use_case.dart
│ │ │ │ ├── fetch_cached_genre_use_case.dart
│ │ │ │ └── fetch_cached_movies_use_case.dart
│ │ └── presentation
│ │ │ ├── providers
│ │ │ ├── home_state_notifier_provider.dart
│ │ │ └── state
│ │ │ │ ├── genre_notifier.dart
│ │ │ │ ├── genre_state.dart
│ │ │ │ ├── movie_notifier.dart
│ │ │ │ └── movie_state.dart
│ │ │ ├── screens
│ │ │ ├── home_page.dart
│ │ │ └── home_screen.dart
│ │ │ └── widgets
│ │ │ ├── now_showing_card.dart
│ │ │ ├── now_showing_movies.dart
│ │ │ ├── popular_card.dart
│ │ │ ├── popular_movies.dart
│ │ │ └── shimmer
│ │ │ ├── now_showing_shimmer.dart
│ │ │ └── popular_shimmer.dart
│ ├── movie_detail
│ │ ├── data
│ │ │ ├── datasource
│ │ │ │ ├── local
│ │ │ │ │ ├── movie_detail_local_datasource.dart
│ │ │ │ │ └── movie_detail_local_datasource_impl.dart
│ │ │ │ └── remote
│ │ │ │ │ ├── movie_detail_remote_data_source.dart
│ │ │ │ │ └── movie_detail_remote_datasource.dart
│ │ │ └── repositories
│ │ │ │ └── movie_detail_repository_impl.dart
│ │ ├── domain
│ │ │ ├── repositories
│ │ │ │ └── movie_detail_repository.dart
│ │ │ └── use_cases
│ │ │ │ ├── add_bookmark_use_case.dart
│ │ │ │ ├── get_casts_use_case.dart
│ │ │ │ ├── get_movie_details_use_case.dart
│ │ │ │ ├── is_bookmark_use_case.dart
│ │ │ │ └── remove_bookmark_use_case.dart
│ │ └── presentation
│ │ │ ├── provider
│ │ │ ├── movie_detail_state_notifier.dart
│ │ │ └── state
│ │ │ │ ├── casts_notifier.dart
│ │ │ │ ├── casts_state.dart
│ │ │ │ ├── movie_detail_notifier.dart
│ │ │ │ └── movie_detail_state.dart
│ │ │ ├── screen
│ │ │ └── movie_detail_screen.dart
│ │ │ └── widget
│ │ │ ├── cast_item.dart
│ │ │ ├── casts_list.dart
│ │ │ ├── movie_detail_body.dart
│ │ │ ├── movie_detail_header.dart
│ │ │ └── shimmer
│ │ │ └── movie_detail_shimmer.dart
│ └── notifications
│ │ ├── data
│ │ ├── datasource
│ │ │ ├── local
│ │ │ │ ├── notifications_local_datasource.dart
│ │ │ │ └── notifications_local_datasource_impl.dart
│ │ │ └── remote
│ │ │ │ ├── notifications_remote_datasource.dart
│ │ │ │ └── notifications_remote_datasource_impl.dart
│ │ ├── models
│ │ │ ├── notification.dart
│ │ │ ├── notification.freezed.dart
│ │ │ └── notification.g.dart
│ │ └── repository
│ │ │ └── notifications_repository_impl.dart
│ │ ├── domain
│ │ ├── repository
│ │ │ └── notifications_repository.dart
│ │ └── use_cases
│ │ │ ├── clear_all_notifications_use_case.dart
│ │ │ └── get_all_notifications_use_case.dart
│ │ └── presentation
│ │ ├── provider
│ │ ├── notification_provider.dart
│ │ └── state
│ │ │ ├── notification_state.dart
│ │ │ └── notifications_notifier.dart
│ │ ├── screen
│ │ └── notification_screen.dart
│ │ └── widget
│ │ └── notification_item.dart
├── main.dart
├── models
│ ├── cast.dart
│ ├── cast.freezed.dart
│ ├── cast.g.dart
│ ├── casts.dart
│ ├── casts.freezed.dart
│ ├── casts.g.dart
│ ├── domain
│ │ ├── movies.dart
│ │ ├── movies.freezed.dart
│ │ └── movies.g.dart
│ ├── genre.dart
│ ├── genre.freezed.dart
│ ├── genre.g.dart
│ ├── genres.dart
│ ├── genres.freezed.dart
│ ├── genres.g.dart
│ ├── message.dart
│ ├── movie.dart
│ ├── movie.freezed.dart
│ ├── movie.g.dart
│ ├── movie_detail.dart
│ ├── movie_detail.freezed.dart
│ ├── movie_detail.g.dart
│ └── response
│ │ ├── casts_response.dart
│ │ ├── genre_response.dart
│ │ ├── movie_detail_response.dart
│ │ ├── movies_response.dart
│ │ └── response.dart
├── routes
│ ├── app_router.dart
│ └── app_router.g.dart
└── shared
│ ├── extensions
│ └── build_context_extensions.dart
│ ├── local
│ ├── cache
│ │ ├── local_db.dart
│ │ └── local_db_impl.dart
│ └── shared_prefs
│ │ ├── shared_pref.dart
│ │ └── shared_pref_impl.dart
│ ├── network
│ ├── dio_network_service.dart
│ ├── exception
│ │ └── mixin
│ │ │ └── network_handler_mixin.dart
│ ├── network_service.dart
│ ├── network_values.dart
│ └── remote.dart
│ ├── provider
│ ├── app_theme_provider.dart
│ ├── message_queue_provider.dart
│ └── state
│ │ └── theme_state.dart
│ ├── util
│ ├── app_exception.dart
│ └── message_queue.dart
│ └── widgets
│ ├── app_bar.dart
│ ├── app_bottom_navigation.dart
│ ├── app_drawer.dart
│ ├── drawer_item.dart
│ ├── genre_chip.dart
│ ├── message_queue_wrapper.dart
│ ├── message_widget.dart
│ ├── rating_bar.dart
│ ├── see_more.dart
│ └── shimmers
│ └── skeleton.dart
├── linux
├── .gitignore
├── CMakeLists.txt
├── flutter
│ ├── CMakeLists.txt
│ ├── generated_plugin_registrant.cc
│ ├── generated_plugin_registrant.h
│ └── generated_plugins.cmake
├── main.cc
├── my_application.cc
└── my_application.h
├── pubspec.lock
├── pubspec.yaml
└── screenshots
└── screenshots.png
/.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 | *.env
19 |
20 | # The .vscode folder contains launch configuration and tasks you configure in
21 | # VS Code which you may wish to be included in version control, so this line
22 | # is commented out by default.
23 | #.vscode/
24 |
25 | # Flutter/Dart/Pub related
26 | **/doc/api/
27 | **/ios/Flutter/.last_build_id
28 | .dart_tool/
29 | .flutter-plugins
30 | .flutter-plugins-dependencies
31 | .packages
32 | .pub-cache/
33 | .pub/
34 | /build/
35 |
36 | # Symbolication related
37 | app.*.symbols
38 |
39 | # Obfuscation related
40 | app.*.map.json
41 |
42 | # Android Studio will place build artifacts here
43 | /android/app/debug
44 | /android/app/profile
45 | /android/app/release
46 |
--------------------------------------------------------------------------------
/.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: android
19 | create_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
20 | base_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
21 | - platform: ios
22 | create_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
23 | base_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
24 | - platform: linux
25 | create_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
26 | base_revision: efbf63d9c66b9f6ec30e9ad4611189aa80003d31
27 |
28 | # User provided section
29 |
30 | # List of Local paths (relative to this file) that should be
31 | # ignored by the migrate tool.
32 | #
33 | # Files that are not part of the templates will be ignored by default.
34 | unmanaged_files:
35 | - 'lib/main.dart'
36 | - 'ios/Runner.xcodeproj/project.pbxproj'
37 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Zaryab Shakir
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.
--------------------------------------------------------------------------------
/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 |
13 | analyzer:
14 | exclude:
15 | - "**/*.g.dart"
16 | - "**/*.freezed.dart"
17 | errors:
18 | invalid_annotation_target: ignore
19 |
20 | linter:
21 | # The lint rules applied to this project can be customized in the
22 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
23 | # included above or to enable additional rules. A list of all available lints
24 | # and their documentation is published at https://dart.dev/lints.
25 | #
26 | # Instead of disabling a lint rule for the entire project in the
27 | # section below, it can also be suppressed for a single line of code
28 | # or a specific dart file by using the `// ignore: name_of_lint` and
29 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
30 | # producing the lint.
31 | rules:
32 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
33 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
34 |
35 | # Additional information about this file can be found at
36 | # https://dart.dev/guides/language/analysis-options
37 |
--------------------------------------------------------------------------------
/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/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id "com.android.application"
3 | id "kotlin-android"
4 | id "dev.flutter.flutter-gradle-plugin"
5 | }
6 |
7 | def localProperties = new Properties()
8 | def localPropertiesFile = rootProject.file('local.properties')
9 | if (localPropertiesFile.exists()) {
10 | localPropertiesFile.withReader('UTF-8') { reader ->
11 | localProperties.load(reader)
12 | }
13 | }
14 |
15 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
16 | if (flutterVersionCode == null) {
17 | flutterVersionCode = '1'
18 | }
19 |
20 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
21 | if (flutterVersionName == null) {
22 | flutterVersionName = '1.0'
23 | }
24 |
25 | android {
26 | namespace "com.zaryabshakir.filmku.filmku"
27 | compileSdkVersion flutter.compileSdkVersion
28 | ndkVersion flutter.ndkVersion
29 |
30 | compileOptions {
31 | sourceCompatibility JavaVersion.VERSION_1_8
32 | targetCompatibility JavaVersion.VERSION_1_8
33 | }
34 |
35 | kotlinOptions {
36 | jvmTarget = '1.8'
37 | }
38 |
39 | sourceSets {
40 | main.java.srcDirs += 'src/main/kotlin'
41 | }
42 |
43 | defaultConfig {
44 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
45 | applicationId "com.zaryabshakir.filmku.filmku"
46 | // You can update the following values to match your application needs.
47 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
48 | minSdkVersion flutter.minSdkVersion
49 | targetSdkVersion flutter.targetSdkVersion
50 | versionCode flutterVersionCode.toInteger()
51 | versionName flutterVersionName
52 | }
53 |
54 | buildTypes {
55 | release {
56 | // TODO: Add your own signing config for the release build.
57 | // Signing with the debug keys for now, so `flutter run --release` works.
58 | signingConfig signingConfigs.debug
59 | }
60 | }
61 | }
62 |
63 | flutter {
64 | source '../..'
65 | }
66 |
67 | dependencies {}
68 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
14 |
18 |
22 |
23 |
24 |
25 |
26 |
27 |
29 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/zaryabshakir/filmku/filmku/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.zaryabshakir.filmku.filmku
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-hdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-hdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-hdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-hdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-mdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-mdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-mdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-mdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-hdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-hdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-hdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-hdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-mdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-mdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-mdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-mdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-v21/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-xhdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-xhdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-xhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-xhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-xxhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-xxhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night-xxxhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-night-xxxhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-night/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xhdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-xhdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-xhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xxhdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-xxhdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xxhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-xxhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xxxhdpi/android12splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-xxxhdpi/android12splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xxxhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable-xxxhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/drawable/background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 | -
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night-v31/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
19 |
22 |
23 |
--------------------------------------------------------------------------------
/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 |
13 |
19 |
22 |
23 |
--------------------------------------------------------------------------------
/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 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
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 | tasks.register("clean", 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 | 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 | pluginManagement {
2 | def flutterSdkPath = {
3 | def properties = new Properties()
4 | file("local.properties").withInputStream { properties.load(it) }
5 | def flutterSdkPath = properties.getProperty("flutter.sdk")
6 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7 | return flutterSdkPath
8 | }
9 | settings.ext.flutterSdkPath = flutterSdkPath()
10 |
11 | includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
12 |
13 | plugins {
14 | id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
15 | }
16 | }
17 |
18 | include ":app"
19 |
20 | apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"
21 |
--------------------------------------------------------------------------------
/assets/images/icons/default.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
38 |
--------------------------------------------------------------------------------
/assets/images/icons/heart_filled.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/images/icons/heart_outlined.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/images/icons/help.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/assets/images/icons/menu.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/icons/night.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
22 |
--------------------------------------------------------------------------------
/assets/images/icons/notification.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/assets/images/icons/sun.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
40 |
--------------------------------------------------------------------------------
/assets/images/movies/drawer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/assets/images/movies/drawer.png
--------------------------------------------------------------------------------
/assets/images/movies/movie.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/assets/images/movies/movie.jpeg
--------------------------------------------------------------------------------
/assets/logo/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/assets/logo/logo.png
--------------------------------------------------------------------------------
/flutter_native_splash.yaml:
--------------------------------------------------------------------------------
1 | flutter_native_splash:
2 | color: "#ffffff"
3 | image: assets/logo/logo.png
4 | color_dark: "#121212"
5 | image_dark: assets/logo/logo.png
6 |
7 | android_12:
8 | image: assets/logo/logo.png
9 | icon_background_color: "#ffffff"
10 | image_dark: assets/logo/logo.png
11 | icon_background_color_dark: "#121212"
12 |
13 | web: false
14 |
--------------------------------------------------------------------------------
/fonts/merri_weather/Merriweather-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/fonts/merri_weather/Merriweather-Black.ttf
--------------------------------------------------------------------------------
/fonts/merri_weather/Merriweather-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/fonts/merri_weather/Merriweather-Bold.ttf
--------------------------------------------------------------------------------
/fonts/mulish/Mulish-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/fonts/mulish/Mulish-Bold.ttf
--------------------------------------------------------------------------------
/fonts/mulish/Mulish-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/fonts/mulish/Mulish-Regular.ttf
--------------------------------------------------------------------------------
/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 "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/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 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | target 'RunnerTests' do
36 | inherit! :search_paths
37 | end
38 | end
39 |
40 | post_install do |installer|
41 | installer.pods_project.targets.each do |target|
42 | flutter_additional_ios_build_settings(target)
43 | end
44 | end
45 |
--------------------------------------------------------------------------------
/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" : "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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.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/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/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 | "appearances" : [
10 | {
11 | "appearance" : "luminosity",
12 | "value" : "dark"
13 | }
14 | ],
15 | "filename" : "LaunchImageDark.png",
16 | "idiom" : "universal",
17 | "scale" : "1x"
18 | },
19 | {
20 | "filename" : "LaunchImage@2x.png",
21 | "idiom" : "universal",
22 | "scale" : "2x"
23 | },
24 | {
25 | "appearances" : [
26 | {
27 | "appearance" : "luminosity",
28 | "value" : "dark"
29 | }
30 | ],
31 | "filename" : "LaunchImageDark@2x.png",
32 | "idiom" : "universal",
33 | "scale" : "2x"
34 | },
35 | {
36 | "filename" : "LaunchImage@3x.png",
37 | "idiom" : "universal",
38 | "scale" : "3x"
39 | },
40 | {
41 | "appearances" : [
42 | {
43 | "appearance" : "luminosity",
44 | "value" : "dark"
45 | }
46 | ],
47 | "filename" : "LaunchImageDark@3x.png",
48 | "idiom" : "universal",
49 | "scale" : "3x"
50 | }
51 | ],
52 | "info" : {
53 | "author" : "xcode",
54 | "version" : 1
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@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/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 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Filmku
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | filmku
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 | CADisableMinimumFrameDurationOnPhone
45 |
46 | UIApplicationSupportsIndirectInputEvents
47 |
48 | UIStatusBarHidden
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/app/app_colors.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | class AppColors {
4 | static const Color primaryLight = Color(0xFF110E47);
5 | static const Color secondaryLight = Color(0xFF9C9C9C);
6 | static const Color error = Color(0xFFB00020);
7 | static const Color ratingIconColor = Color(0xFFFFC319);
8 | static const Color white = Color(0xffffffff);
9 | static const Color chipColorLight = Color(0xFFDBE3FF);
10 | static const Color chipTextLight = Color(0xFF88A4E8);
11 | static const Color drawerShadowLight = Color(0xffE0E0E0);
12 | static const Color bottomSheetShadowLight = Color(0xffE0E0E0);
13 |
14 | static const Color primaryDark = Color(0xFF5E5A75);
15 | static const Color secondaryDark = Color(0xFF6E6E6E);
16 | static const Color backgroundDark = Color(0xff121212);
17 | static const Color bottomSheetDark = Color(0xff0E0E0E);
18 | static const Color bottomSheetShadowDark = Color(0xff1E1E1E);
19 | static const Color drawerDark = Color(0xff1A1A1A);
20 | static const Color drawerShadowDark = Color(0xff2A2A2A);
21 |
22 | static const Color chipColorDark = Color(0xFF8A96AB);
23 | static const Color chipTextDark = Color(0xFFAEC6F6);
24 | static const Color updateNotificationColorLight = Color(0xFF4CAF50); // Green color
25 | static const Color updateNotificationColorDark = Color(0xFF00796B); // Dark green color
26 | static const Color deleteNotificationColorLight = Color(0xFFE57373); // Red color
27 | static const Color deleteNotificationColorDark = Color(0xFFB71C1C); // Dark red color
28 |
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/lib/app/app_configs.dart:
--------------------------------------------------------------------------------
1 | class AppConfigs {
2 | // static const String baseUrl = 'https://api.themoviedb.org/3/';
3 |
4 | static String preMovieBackdrop(String path) =>
5 | 'https://image.tmdb.org/t/p/w780$path';
6 |
7 | static String preMoviePoster(String path) =>
8 | 'https://image.tmdb.org/t/p/w500$path';
9 |
10 | static String preCastProfilePath(String path) =>
11 | 'https://image.tmdb.org/t/p/w185$path';
12 |
13 | static const int shouldCachePages = 1;
14 | // static const String apiKey = '0e7274f05c36db12cbe71d9ab0393d47';
15 | }
16 |
--------------------------------------------------------------------------------
/lib/app/app_constants.dart:
--------------------------------------------------------------------------------
1 | class AppConstants {
2 | static const String NOW_SHOWING = 'now_showing';
3 | static const String POPULAR = 'popular';
4 | static const String LENGTH = 'Length';
5 | static const String LANGUAGE = 'Language';
6 | static const String RATING = 'Rating';
7 | static const String DESCRIPTION = 'Description';
8 | static const String CASTS = 'Casts';
9 |
10 | //App
11 | static const String CURRENT_THEME = 'theme';
12 | }
13 |
--------------------------------------------------------------------------------
/lib/app/app_data.dart:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/lib/app/app_data.dart
--------------------------------------------------------------------------------
/lib/app/app_dimens.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_screenutil/flutter_screenutil.dart';
2 |
3 | class AppDimens {
4 | static double nowShowingPosterWidth = 143.sp;
5 | static double nowShowingPosterHeight = 212.sp;
6 | static double nowShowingCardHeight = 310.sp;
7 | static double nowShowingCardWidth = 143.sp;
8 | static double popularPosterWidth = 85.sp;
9 | static double popularPosterHeight = 128.sp;
10 | static double castProfileHeight = 70.sp;
11 | static double castProfileWidth = 70.sp;
12 | static double movieDetailBackdropHeight = 200.sp;
13 |
14 | //paddings
15 | static double p2 = 2.sp;
16 | static double p4 = 4.sp;
17 | static double p6 = 6.sp;
18 | static double p8 = 8.sp;
19 | static double p10 = 10.sp;
20 | static double p12 = 12.sp;
21 | static double p14 = 14.sp;
22 | static double p16 = 16.sp;
23 | static double p18 = 18.sp;
24 | static double p20 = 20.sp;
25 | static double p22 = 22.sp;
26 | static double p24 = 24.sp;
27 | static double p26 = 26.sp;
28 | static double p28 = 28.sp;
29 | static double p30 = 30.sp;
30 | static double p32 = 32.sp;
31 | static double p34 = 34.sp;
32 | static double p36 = 36.sp;
33 | static double p38 = 38.sp;
34 | static double p40 = 40.sp;
35 | static double p42 = 42.sp;
36 | static double p48 = 48.sp;
37 | static double p54 = 24.sp;
38 | static double p60 = 60.sp;
39 | static double p64 = 64.sp;
40 | }
41 |
--------------------------------------------------------------------------------
/lib/app/app_globals.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | final kTestMode = Platform.environment.containsKey('FLUTTER_TEST');
4 |
--------------------------------------------------------------------------------
/lib/app/app_strings.dart:
--------------------------------------------------------------------------------
1 | class AppStrings {
2 | static const String appName = "FilmKu";
3 | static const String nowShowing = "Now Showing";
4 | static const String seeMore = "See More";
5 | static const String popular = "Popular";
6 | }
7 |
--------------------------------------------------------------------------------
/lib/app/app_text_styles.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 |
4 | class AppTextStyles {
5 | //Merri Weather Font Family
6 | static const String merriWeatherFontFamily = 'MerriWeather';
7 |
8 | //Mulish Font Family
9 | static const String mulishFontFamily = 'Mulish';
10 |
11 | //Headings
12 | static TextStyle titleLarge = TextStyle(
13 | fontSize: 20.sp,
14 | fontWeight: FontWeight.w700,
15 | fontFamily: mulishFontFamily,
16 | letterSpacing: 0.4);
17 |
18 | static TextStyle titleMedium = TextStyle(
19 | fontSize: 16.sp,
20 | fontWeight: FontWeight.w900,
21 | fontFamily: merriWeatherFontFamily,
22 | letterSpacing: 0.32);
23 | static TextStyle titleSmall = TextStyle(
24 | fontSize: 16.sp,
25 | fontWeight: FontWeight.w700,
26 | fontFamily: mulishFontFamily,
27 | letterSpacing: 0.28);
28 |
29 | //Body
30 | static const TextStyle bodyLarge = TextStyle(
31 | fontSize: 16,
32 | fontWeight: FontWeight.w900,
33 | fontFamily: merriWeatherFontFamily,
34 | letterSpacing: 0.02);
35 | static TextStyle bodyMedium = TextStyle(
36 | fontSize: 14.sp,
37 | fontWeight: FontWeight.w400,
38 | fontFamily: mulishFontFamily,
39 | letterSpacing: 0.24);
40 |
41 | static TextStyle bodySmall = TextStyle(
42 | fontSize: 14.sp,
43 | fontWeight: FontWeight.w400,
44 | fontFamily: mulishFontFamily,
45 | letterSpacing: 0.24);
46 | }
47 |
--------------------------------------------------------------------------------
/lib/app/app_text_theme.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:filmku/app/app_text_styles.dart';
3 |
4 | import 'app_colors.dart';
5 |
6 | class AppTextTheme {
7 | //Simple text theme
8 | static TextTheme get lightTextTheme {
9 | return TextTheme(
10 | titleLarge: AppTextStyles.titleLarge.copyWith(color: AppColors.primaryLight),
11 | titleMedium: AppTextStyles.titleMedium.copyWith(color: AppColors.primaryLight),
12 | titleSmall: AppTextStyles.titleSmall.copyWith(color: AppColors.primaryLight),
13 | bodyLarge: AppTextStyles.bodyLarge.copyWith(color: AppColors.secondaryLight),
14 | bodyMedium: AppTextStyles.bodyMedium.copyWith(color: AppColors.primaryLight),
15 | bodySmall: AppTextStyles.bodySmall.copyWith(color: AppColors.secondaryLight),
16 | );
17 | }
18 |
19 | //Dark text theme
20 | static TextTheme get darkTextTheme {
21 | return TextTheme(
22 | titleLarge: AppTextStyles.titleLarge.copyWith(color: AppColors.primaryDark),
23 | titleMedium: AppTextStyles.titleMedium.copyWith(color: AppColors.primaryDark),
24 | titleSmall: AppTextStyles.titleSmall.copyWith(color: AppColors.primaryDark),
25 | bodyLarge: AppTextStyles.bodyLarge.copyWith(color: AppColors.secondaryDark),
26 | bodyMedium: AppTextStyles.bodyMedium.copyWith(color: AppColors.primaryDark),
27 | bodySmall: AppTextStyles.bodySmall.copyWith(color: AppColors.secondaryDark),
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/lib/app/app_theme.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:filmku/app/app_colors.dart';
3 | import 'package:filmku/app/app_text_styles.dart';
4 | import 'package:filmku/app/app_text_theme.dart';
5 |
6 | class AppTheme {
7 | static ThemeData get lightTheme {
8 | return ThemeData(
9 | brightness: Brightness.light,
10 | primaryColor: AppColors.primaryLight,
11 | colorScheme: const ColorScheme.light(
12 | primary: AppColors.primaryLight,
13 | secondary: AppColors.secondaryLight,
14 | error: AppColors.error,
15 | background: AppColors.white),
16 | scaffoldBackgroundColor: AppColors.white,
17 | primaryTextTheme: AppTextTheme.lightTextTheme,
18 | textTheme: AppTextTheme.lightTextTheme,
19 | appBarTheme: AppBarTheme(
20 | elevation: 0,
21 | backgroundColor: AppColors.white,
22 | titleTextStyle: AppTextStyles.titleMedium),
23 | bottomSheetTheme: const BottomSheetThemeData(
24 | backgroundColor: Colors.white,
25 | shadowColor: AppColors.bottomSheetShadowLight),
26 | drawerTheme: const DrawerThemeData(
27 | backgroundColor: Colors.white,
28 | shadowColor: AppColors.drawerShadowLight),
29 | bottomNavigationBarTheme: const BottomNavigationBarThemeData(
30 | backgroundColor: Colors.white,
31 | ));
32 | }
33 |
34 | static ThemeData get darkTheme {
35 | return ThemeData(
36 | brightness: Brightness.dark,
37 | primaryColor: AppColors.primaryDark,
38 | colorScheme: const ColorScheme.dark(
39 | primary: AppColors.primaryDark,
40 | secondary: AppColors.secondaryDark,
41 | error: AppColors.error,
42 | background: AppColors.backgroundDark),
43 | scaffoldBackgroundColor: AppColors.backgroundDark,
44 | primaryTextTheme: AppTextTheme.darkTextTheme,
45 | textTheme: AppTextTheme.darkTextTheme,
46 | appBarTheme: AppBarTheme(
47 | elevation: 0,
48 |
49 | backgroundColor: AppColors.backgroundDark,
50 | titleTextStyle: AppTextStyles.titleMedium),
51 | bottomSheetTheme: const BottomSheetThemeData(
52 | backgroundColor: AppColors.bottomSheetDark,
53 | shadowColor: AppColors.bottomSheetShadowDark),
54 | drawerTheme: const DrawerThemeData(
55 | backgroundColor: AppColors.drawerDark,
56 | shadowColor: AppColors.drawerShadowDark),
57 | bottomNavigationBarTheme: const BottomNavigationBarThemeData(
58 | backgroundColor: AppColors.backgroundDark,
59 | ));
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/lib/core/app.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 | import 'package:flutter_screenutil/flutter_screenutil.dart';
4 | import 'package:filmku/app/app_strings.dart';
5 | import 'package:filmku/app/app_theme.dart';
6 | import 'package:filmku/shared/provider/app_theme_provider.dart';
7 |
8 | import '../routes/app_router.dart';
9 |
10 | class MyApp extends ConsumerWidget {
11 | const MyApp({super.key});
12 |
13 | @override
14 | Widget build(BuildContext context, WidgetRef ref) {
15 | final goRouter = ref.watch(goRouterProvider);
16 | final themeMode = ref.watch(appThemeProvider);
17 | return ScreenUtilInit(
18 | designSize: const Size(375, 812),
19 | minTextAdapt: true,
20 | splitScreenMode: true,
21 | builder: (BuildContext context, Widget? child) {
22 | return MaterialApp.router(
23 | title: AppStrings.appName,
24 | darkTheme: AppTheme.darkTheme,
25 | theme: AppTheme.lightTheme,
26 | themeMode: themeMode.currentTheme,
27 | routerDelegate: goRouter.routerDelegate,
28 | routeInformationParser: goRouter.routeInformationParser,
29 | routeInformationProvider: goRouter.routeInformationProvider,
30 | debugShowCheckedModeBanner: false,
31 | );
32 | });
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/lib/core/app_env.dart:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Iamzaryab/Flutter-Movie-App-with-Clean-Architecture-and-RiverPod-State-Management/ae99a2ad5ced749937f8a5e1bc2a233b49b2ed53/lib/core/app_env.dart
--------------------------------------------------------------------------------
/lib/core/observers.dart:
--------------------------------------------------------------------------------
1 |
2 | import 'package:flutter_riverpod/flutter_riverpod.dart';
3 |
4 | class Observers extends ProviderObserver {
5 | @override
6 | void didUpdateProvider(ProviderBase