├── analysis_options.yaml ├── ios ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── 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-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ └── project.pbxproj ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist ├── .gitignore ├── Podfile.lock └── Podfile ├── assets └── readme │ ├── arch.png │ ├── demo.gif │ ├── demo1.png │ ├── demo2.png │ └── testing.png ├── lib ├── src │ ├── features │ │ └── jokes │ │ │ ├── views │ │ │ ├── widgets.dart │ │ │ ├── widgets │ │ │ │ ├── loading.dart │ │ │ │ └── joke_available.dart │ │ │ └── joke_page.dart │ │ │ └── logic │ │ │ ├── jokes_state.dart │ │ │ ├── jokes_state_notifier.dart │ │ │ ├── jokes_provider.dart │ │ │ └── jokes_state.freezed.dart │ ├── core │ │ ├── env │ │ │ └── environment_config.dart │ │ ├── providers │ │ │ └── package_info_provider.dart │ │ └── widgets │ │ │ └── app_version.dart │ └── app.dart └── main.dart ├── android ├── gradle.properties ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── 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 │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ └── values │ │ │ │ │ └── styles.xml │ │ │ ├── kotlin │ │ │ │ └── dev │ │ │ │ │ └── noscope │ │ │ │ │ └── flutter_jokes │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── devtools_options.yaml ├── packages └── jokes │ ├── lib │ ├── jokes.dart │ └── src │ │ ├── data │ │ ├── datasources │ │ │ └── remote │ │ │ │ ├── remote_data_source.dart │ │ │ │ ├── dio_data_source.dart │ │ │ │ └── http_data_source.dart │ │ ├── data.dart │ │ ├── repositories │ │ │ └── jokes_repository.dart │ │ └── models │ │ │ ├── flags_model.g.dart │ │ │ ├── flags_model.dart │ │ │ ├── joke_model.g.dart │ │ │ └── joke_model.dart │ │ └── domain │ │ ├── domain.dart │ │ ├── repositories │ │ └── ijokes_repository.dart │ │ ├── usecases │ │ └── get_joke.dart │ │ └── entities │ │ ├── flags.dart │ │ └── joke.dart │ ├── analysis_options.yaml │ ├── pubspec.yaml │ └── pubspec.lock ├── .metadata ├── .vscode └── launch.json ├── .gitignore ├── pubspec.yaml ├── coverage └── lcov.info ├── README.md ├── test └── jokes │ ├── logic │ └── jokes_state_notifier_test.dart │ └── views │ └── joke_page_test.dart └── pubspec.lock /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | analyzer: 2 | plugins: 3 | - custom_lint -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /assets/readme/arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/assets/readme/arch.png -------------------------------------------------------------------------------- /assets/readme/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/assets/readme/demo.gif -------------------------------------------------------------------------------- /assets/readme/demo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/assets/readme/demo1.png -------------------------------------------------------------------------------- /assets/readme/demo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/assets/readme/demo2.png -------------------------------------------------------------------------------- /assets/readme/testing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/assets/readme/testing.png -------------------------------------------------------------------------------- /lib/src/features/jokes/views/widgets.dart: -------------------------------------------------------------------------------- 1 | export 'widgets/joke_available.dart'; 2 | export 'widgets/loading.dart'; 3 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/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/NoScopeDevs/flutter_jokes/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NoScopeDevs/flutter_jokes/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /devtools_options.yaml: -------------------------------------------------------------------------------- 1 | description: This file stores settings for Dart & Flutter DevTools. 2 | documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states 3 | extensions: 4 | -------------------------------------------------------------------------------- /lib/src/core/env/environment_config.dart: -------------------------------------------------------------------------------- 1 | /// This class contains all the environment variables 2 | class EnvironmentConfig { 3 | /// URL for API 4 | static const apiUrl = String.fromEnvironment('apiUrl'); 5 | } 6 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/dev/noscope/flutter_jokes/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package dev.noscope.flutter_jokes 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 3 | 4 | import 'src/app.dart'; 5 | 6 | void main() { 7 | runApp(ProviderScope(child: JokesApp())); 8 | } 9 | -------------------------------------------------------------------------------- /packages/jokes/lib/jokes.dart: -------------------------------------------------------------------------------- 1 | /// Jokes library 2 | library; 3 | 4 | export 'src/data/data.dart' 5 | show DioDataSource, HttpDataSource, JokeModel, JokesRepository; 6 | export 'src/domain/domain.dart' show GetJoke, IJokesRepository, Joke; 7 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/datasources/remote/remote_data_source.dart: -------------------------------------------------------------------------------- 1 | // IDC 2 | // ignore_for_file: one_member_abstracts 3 | 4 | import 'package:jokes/src/domain/domain.dart' show Joke; 5 | 6 | abstract class IRemoteDataSource { 7 | Future getJoke(); 8 | } 9 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/domain/domain.dart: -------------------------------------------------------------------------------- 1 | // Export Entities 2 | export 'entities/flags.dart'; 3 | export 'entities/joke.dart'; 4 | 5 | // Export Repositories 6 | export 'repositories/ijokes_repository.dart'; 7 | 8 | // Export Use Cases 9 | export 'usecases/get_joke.dart'; 10 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/domain/repositories/ijokes_repository.dart: -------------------------------------------------------------------------------- 1 | // IDC 2 | // ignore_for_file: one_member_abstracts 3 | 4 | import 'package:jokes/src/domain/entities/joke.dart'; 5 | 6 | /// Repository interface for jokes 7 | abstract class IJokesRepository { 8 | Future getJoke(); 9 | } 10 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib/src/features/jokes/views/widgets/loading.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class LoadingWidget extends StatelessWidget { 4 | const LoadingWidget({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return CircularProgressIndicator(strokeWidth: 2); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /.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: 78910062997c3a836feee883712c241a5fd22983 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/data.dart: -------------------------------------------------------------------------------- 1 | // Export Data Sources 2 | export 'datasources/remote/dio_data_source.dart'; 3 | export 'datasources/remote/http_data_source.dart'; 4 | 5 | // Export Models 6 | export 'models/flags_model.dart'; 7 | export 'models/joke_model.dart'; 8 | 9 | // Export Repositories Implementations 10 | export 'repositories/jokes_repository.dart'; 11 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /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. -------------------------------------------------------------------------------- /packages/jokes/lib/src/domain/usecases/get_joke.dart: -------------------------------------------------------------------------------- 1 | import 'package:jokes/jokes.dart'; 2 | 3 | import 'package:jokes/src/domain/domain.dart'; 4 | 5 | class GetJoke { 6 | GetJoke({ 7 | required IJokesRepository repository, 8 | }) : _repository = repository; 9 | 10 | final IJokesRepository _repository; 11 | 12 | /// Callable class method 13 | Future call() => _repository.getJoke(); 14 | } 15 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @main 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 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/domain/entities/flags.dart: -------------------------------------------------------------------------------- 1 | import 'package:equatable/equatable.dart'; 2 | 3 | abstract class Flags extends Equatable { 4 | const Flags({ 5 | this.nsfw, 6 | this.religious, 7 | this.political, 8 | this.racist, 9 | this.sexist, 10 | this.explicit, 11 | }); 12 | 13 | final bool? nsfw; 14 | final bool? religious; 15 | final bool? political; 16 | final bool? racist; 17 | final bool? sexist; 18 | final bool? explicit; 19 | } 20 | -------------------------------------------------------------------------------- /lib/src/app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'features/jokes/views/joke_page.dart'; 4 | 5 | class JokesApp extends StatelessWidget { 6 | @override 7 | Widget build(BuildContext context) { 8 | return MaterialApp( 9 | title: 'Flutter Jokes', 10 | debugShowCheckedModeBanner: false, 11 | theme: ThemeData.dark().copyWith( 12 | visualDensity: VisualDensity.adaptivePlatformDensity, 13 | ), 14 | home: JokePage(), 15 | ); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /packages/jokes/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # Very Good Dart analyzer settings and best practices 2 | # used internally at Very Good Ventures. 3 | # For more info, see https://pub.dev/packages/very_good_analysis. 4 | include: package:very_good_analysis/analysis_options.yaml 5 | 6 | # For lint rules and documentation, see http://dart-lang.github.io/linter/lints. 7 | # Uncomment to specify additional rules. 8 | linter: 9 | rules: 10 | public_member_api_docs: false 11 | 12 | analyzer: 13 | exclude: 14 | - "*/.g.dart" 15 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /lib/src/core/providers/package_info_provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 2 | import 'package:package_info/package_info.dart'; 3 | import 'package:riverpod_annotation/riverpod_annotation.dart'; 4 | 5 | final packageInfoProvider = FutureProvider( 6 | (_) async => await PackageInfo.fromPlatform(), 7 | ); 8 | 9 | // @riverpod 10 | // Future packageInfo(Ref ref) async { 11 | // final packageInfo = await PackageInfo.fromPlatform(); 12 | // return packageInfo; 13 | // } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /packages/jokes/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: jokes 2 | description: Dart package to manage jokes data and domain layers. 3 | version: 0.0.1+1 4 | 5 | environment: 6 | sdk: ">=3.6.0 <4.0.0" 7 | 8 | dependencies: 9 | dio: ^5.8.0+1 10 | equatable: ^2.0.0 11 | http: ^1.3.0 12 | json_annotation: ^4.9.0 13 | meta: ^1.3.0 14 | path: ^1.8.0 15 | 16 | dev_dependencies: 17 | build_runner: ^2.4.14 18 | json_serializable: ^6.9.3 19 | 20 | # testing 21 | mockito: ^5.0.3 22 | test: ^1.16.8 23 | 24 | # static analysis 25 | very_good_analysis: ^7.0.0 26 | -------------------------------------------------------------------------------- /.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.0.1", 6 | "configurations": [ 7 | { 8 | "name": "JokeAPI", 9 | "request": "launch", 10 | "type": "dart", 11 | "program": "lib/main.dart", 12 | "args": [ 13 | "--dart-define", 14 | "apiUrl=https://v2.jokeapi.dev", 15 | ] 16 | }, 17 | ] 18 | } -------------------------------------------------------------------------------- /packages/jokes/lib/src/domain/entities/joke.dart: -------------------------------------------------------------------------------- 1 | import 'package:equatable/equatable.dart'; 2 | 3 | import 'package:jokes/src/domain/entities/flags.dart'; 4 | 5 | abstract class Joke extends Equatable { 6 | const Joke({ 7 | required this.safe, this.category, 8 | this.type, 9 | this.setup, 10 | this.delivery, 11 | this.flags, 12 | this.id, 13 | this.lang, 14 | }); 15 | 16 | final String? category; 17 | final String? type; 18 | final String? setup; 19 | final String? delivery; 20 | final Flags? flags; 21 | final int? id; 22 | final bool safe; 23 | final String? lang; 24 | } 25 | -------------------------------------------------------------------------------- /lib/src/core/widgets/app_version.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 3 | 4 | import '../providers/package_info_provider.dart'; 5 | 6 | class AppVersion extends ConsumerWidget { 7 | @override 8 | Widget build(BuildContext context, WidgetRef ref) { 9 | final textTheme = Theme.of(context).textTheme; 10 | 11 | return ref.watch(packageInfoProvider).when( 12 | data: (info) => Text('v${info.version}', style: textTheme.labelSmall), 13 | error: (error, _) => Text(error.toString()), 14 | loading: CircularProgressIndicator.new, 15 | ); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.5.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /lib/src/features/jokes/logic/jokes_state.dart: -------------------------------------------------------------------------------- 1 | import 'package:freezed_annotation/freezed_annotation.dart'; 2 | import 'package:jokes/jokes.dart'; 3 | 4 | part 'jokes_state.freezed.dart'; 5 | 6 | extension JokesGetters on JokesState { 7 | bool get isLoading => this is _Loading; 8 | } 9 | 10 | @freezed 11 | abstract class JokesState with _$JokesState { 12 | /// Data is present state 13 | const factory JokesState.data({required Joke joke}) = _Data; 14 | 15 | /// Initial/default state 16 | const factory JokesState.initial() = _Initial; 17 | 18 | /// Data is loading state 19 | const factory JokesState.loading() = _Loading; 20 | 21 | /// Error when loading data state 22 | const factory JokesState.error([String? message]) = _Error; 23 | } 24 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/repositories/jokes_repository.dart: -------------------------------------------------------------------------------- 1 | import 'package:jokes/src/data/datasources/remote/remote_data_source.dart'; 2 | import 'package:jokes/src/domain/domain.dart' show IJokesRepository, Joke; 3 | 4 | /// Jokes repository implementation 5 | class JokesRepository implements IJokesRepository { 6 | /// Jokes repository constructor 7 | JokesRepository({ 8 | required IRemoteDataSource remoteDataSource, 9 | }) : _remoteDataSource = remoteDataSource; 10 | 11 | final IRemoteDataSource _remoteDataSource; 12 | 13 | @override 14 | Future getJoke() async { 15 | try { 16 | final joke = await _remoteDataSource.getJoke(); 17 | return joke; 18 | } on Exception { 19 | rethrow; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/datasources/remote/dio_data_source.dart: -------------------------------------------------------------------------------- 1 | import 'package:dio/dio.dart'; 2 | import 'package:jokes/src/data/datasources/remote/remote_data_source.dart'; 3 | import 'package:jokes/src/data/models/joke_model.dart'; 4 | 5 | class DioDataSource implements IRemoteDataSource { 6 | DioDataSource({ 7 | required String url, 8 | required Dio client, 9 | }) : _url = url, 10 | _client = client; 11 | 12 | final String _url; 13 | final Dio _client; 14 | 15 | @override 16 | Future getJoke() async { 17 | final result = await _client.get>(_url); 18 | 19 | if (result.statusCode == 200) { 20 | return JokeModel.fromJson(result.data!); 21 | } else { 22 | throw Exception(); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | .fvm/ -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_jokes 2 | description: A Flutter application to be the life of the party. 3 | 4 | publish_to: "none" 5 | 6 | version: 1.0.0+1 7 | 8 | environment: 9 | sdk: ">=3.6.0 <4.0.0" 10 | flutter: ^3.27.1 11 | 12 | dependencies: 13 | flutter: 14 | sdk: flutter 15 | jokes: 16 | path: packages/jokes 17 | cupertino_icons: ^1.0.2 18 | dio: ^5.8.0+1 19 | flutter_riverpod: ^3.0.0-dev.3 20 | freezed_annotation: ^2.4.4 21 | http: ^1.3.0 22 | i18n_extension: ^15.0.4 23 | mocktail: ^1.0.4 24 | package_info: ^2.0.0 25 | riverpod_annotation: ^3.0.0-dev.3 26 | 27 | dev_dependencies: 28 | flutter_test: 29 | sdk: flutter 30 | build_runner: ^2.4.14 31 | freezed: ^3.0.0-0.0.dev 32 | riverpod_lint: ^3.0.0-dev.4 33 | custom_lint: ^0.5.11 34 | 35 | flutter: 36 | uses-material-design: true 37 | -------------------------------------------------------------------------------- /lib/src/features/jokes/logic/jokes_state_notifier.dart: -------------------------------------------------------------------------------- 1 | part of 'jokes_provider.dart'; 2 | 3 | /// Defines all the Jokes logic the app will use 4 | class JokesNotifier extends StateNotifier { 5 | /// Base constructor expects a [ProviderReference] to 6 | /// read its usecases and also defines inital state 7 | JokesNotifier({required GetJoke getJoke, JokesState? initialState}) 8 | : _getJoke = getJoke, 9 | super(initialState ?? JokesState.initial()); 10 | 11 | final GetJoke _getJoke; 12 | 13 | void reset() => state = JokesState.initial(); 14 | 15 | Future getJoke() async { 16 | state = JokesState.loading(); 17 | 18 | try { 19 | final result = await _getJoke(); 20 | state = JokesState.data(joke: result); 21 | } catch (e) { 22 | state = JokesState.error(e.toString()); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/datasources/remote/http_data_source.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | import 'package:http/http.dart'; 4 | import 'package:jokes/src/data/datasources/remote/remote_data_source.dart'; 5 | import 'package:jokes/src/data/models/joke_model.dart'; 6 | 7 | class HttpDataSource implements IRemoteDataSource { 8 | HttpDataSource({ 9 | required String url, 10 | required Client client, 11 | }) : _url = url, 12 | _client = client; 13 | 14 | final String _url; 15 | final Client _client; 16 | 17 | @override 18 | Future getJoke() async { 19 | final result = await _client.get( 20 | Uri(scheme: _url), 21 | ); 22 | 23 | if (result.statusCode == 200) { 24 | final decode = json.decode(result.body) as Map; 25 | return JokeModel.fromJson(decode); 26 | } else { 27 | throw Exception(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 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 | 12.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - package_info (0.0.1): 4 | - Flutter 5 | - shared_preferences_foundation (0.0.1): 6 | - Flutter 7 | - FlutterMacOS 8 | 9 | DEPENDENCIES: 10 | - Flutter (from `Flutter`) 11 | - package_info (from `.symlinks/plugins/package_info/ios`) 12 | - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) 13 | 14 | EXTERNAL SOURCES: 15 | Flutter: 16 | :path: Flutter 17 | package_info: 18 | :path: ".symlinks/plugins/package_info/ios" 19 | shared_preferences_foundation: 20 | :path: ".symlinks/plugins/shared_preferences_foundation/darwin" 21 | 22 | SPEC CHECKSUMS: 23 | Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 24 | package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62 25 | shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 26 | 27 | PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011 28 | 29 | COCOAPODS: 1.15.2 30 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/models/flags_model.g.dart: -------------------------------------------------------------------------------- 1 | // GENERATED CODE - DO NOT MODIFY BY HAND 2 | 3 | part of 'flags_model.dart'; 4 | 5 | // ************************************************************************** 6 | // JsonSerializableGenerator 7 | // ************************************************************************** 8 | 9 | FlagsModel _$FlagsModelFromJson(Map json) { 10 | return FlagsModel( 11 | explicit: json['explicit'] as bool?, 12 | nsfw: json['nsfw'] as bool?, 13 | political: json['political'] as bool?, 14 | racist: json['racist'] as bool?, 15 | religious: json['religious'] as bool?, 16 | sexist: json['sexist'] as bool?, 17 | ); 18 | } 19 | 20 | Map _$FlagsModelToJson(FlagsModel instance) => 21 | { 22 | 'explicit': instance.explicit, 23 | 'nsfw': instance.nsfw, 24 | 'political': instance.political, 25 | 'racist': instance.racist, 26 | 'religious': instance.religious, 27 | 'sexist': instance.sexist, 28 | }; 29 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /lib/src/features/jokes/logic/jokes_provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:dio/dio.dart'; 2 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 3 | import 'package:jokes/jokes.dart'; 4 | 5 | import '../../../core/env/environment_config.dart'; 6 | 7 | import 'jokes_state.dart'; 8 | export 'jokes_state.dart'; 9 | 10 | part 'jokes_state_notifier.dart'; 11 | 12 | /// Provider to use the JokesStateNotifier 13 | // * Logic holder / StateNotifier 14 | final jokesNotifierProvider = StateNotifierProvider( 15 | (ref) => JokesNotifier(getJoke: ref.watch(getJokeProvider)), 16 | ); 17 | 18 | // * Repository 19 | final jokesRepositoryProvider = Provider( 20 | (_) => JokesRepository( 21 | remoteDataSource: DioDataSource( 22 | client: Dio(), 23 | url: '${EnvironmentConfig.apiUrl}/joke/Programming', 24 | ), 25 | ), 26 | ); 27 | 28 | // * Use cases 29 | 30 | final getJokeProvider = Provider( 31 | (ref) { 32 | final repository = ref.watch(jokesRepositoryProvider); 33 | return GetJoke(repository: repository); 34 | }, 35 | ); 36 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/models/flags_model.dart: -------------------------------------------------------------------------------- 1 | import 'package:jokes/src/domain/domain.dart' show Flags; 2 | import 'package:json_annotation/json_annotation.dart'; 3 | 4 | part 'flags_model.g.dart'; 5 | 6 | @JsonSerializable() 7 | class FlagsModel implements Flags { 8 | FlagsModel({ 9 | this.explicit, 10 | this.nsfw, 11 | this.political, 12 | this.racist, 13 | this.religious, 14 | this.sexist, 15 | }); 16 | 17 | factory FlagsModel.fromJson(Map json) => 18 | _$FlagsModelFromJson(json); 19 | 20 | Map toJson() => _$FlagsModelToJson(this); 21 | 22 | @override 23 | final bool? explicit; 24 | 25 | @override 26 | final bool? nsfw; 27 | 28 | @override 29 | final bool? political; 30 | 31 | @override 32 | final bool? racist; 33 | 34 | @override 35 | final bool? religious; 36 | 37 | @override 38 | final bool? sexist; 39 | 40 | @override 41 | List get props => [ 42 | explicit, 43 | nsfw, 44 | political, 45 | racist, 46 | religious, 47 | sexist, 48 | ]; 49 | 50 | @override 51 | bool get stringify => true; 52 | } 53 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/models/joke_model.g.dart: -------------------------------------------------------------------------------- 1 | // GENERATED CODE - DO NOT MODIFY BY HAND 2 | 3 | part of 'joke_model.dart'; 4 | 5 | // ************************************************************************** 6 | // JsonSerializableGenerator 7 | // ************************************************************************** 8 | 9 | JokeModel _$JokeModelFromJson(Map json) { 10 | return JokeModel( 11 | category: json['category'] as String?, 12 | delivery: json['delivery'] as String?, 13 | flags: json['flags'] == null 14 | ? null 15 | : FlagsModel.fromJson(json['flags'] as Map), 16 | id: json['id'] as int?, 17 | lang: json['lang'] as String?, 18 | safe: json['safe'] as bool, 19 | setup: json['setup'] as String?, 20 | type: json['type'] as String?, 21 | ); 22 | } 23 | 24 | Map _$JokeModelToJson(JokeModel instance) => { 25 | 'category': instance.category, 26 | 'delivery': instance.delivery, 27 | 'flags': instance.flags, 28 | 'id': instance.id, 29 | 'lang': instance.lang, 30 | 'safe': instance.safe, 31 | 'setup': instance.setup, 32 | 'type': instance.type, 33 | }; 34 | -------------------------------------------------------------------------------- /packages/jokes/lib/src/data/models/joke_model.dart: -------------------------------------------------------------------------------- 1 | import 'package:jokes/src/data/models/flags_model.dart'; 2 | import 'package:jokes/src/domain/domain.dart' show Joke; 3 | import 'package:json_annotation/json_annotation.dart'; 4 | 5 | part 'joke_model.g.dart'; 6 | 7 | @JsonSerializable() 8 | class JokeModel implements Joke { 9 | JokeModel({ 10 | required this.safe, this.category, 11 | this.delivery, 12 | this.flags, 13 | this.id, 14 | this.lang, 15 | this.setup, 16 | this.type, 17 | }); 18 | 19 | factory JokeModel.fromJson(Map json) => 20 | _$JokeModelFromJson(json); 21 | 22 | Map toJson() => _$JokeModelToJson(this); 23 | 24 | @override 25 | final String? category; 26 | 27 | @override 28 | final String? delivery; 29 | 30 | @override 31 | final FlagsModel? flags; 32 | 33 | @override 34 | final int? id; 35 | 36 | @override 37 | final String? lang; 38 | 39 | @override 40 | final bool safe; 41 | 42 | @override 43 | final String? setup; 44 | 45 | @override 46 | final String? type; 47 | 48 | @override 49 | List get props => [ 50 | category, 51 | delivery, 52 | flags, 53 | id, 54 | lang, 55 | safe, 56 | setup, 57 | type, 58 | ]; 59 | 60 | @override 61 | bool get stringify => true; 62 | } 63 | -------------------------------------------------------------------------------- /coverage/lcov.info: -------------------------------------------------------------------------------- 1 | SF:lib/src/app.dart 2 | DA:6,1 3 | DA:8,1 4 | DA:11,2 5 | DA:12,1 6 | DA:14,1 7 | LF:5 8 | LH:5 9 | end_of_record 10 | SF:lib/src/features/jokes/views/joke_page.dart 11 | DA:14,3 12 | DA:15,3 13 | DA:18,1 14 | DA:20,1 15 | DA:21,1 16 | DA:22,1 17 | DA:25,1 18 | DA:26,1 19 | DA:28,1 20 | DA:32,1 21 | DA:36,1 22 | DA:46,1 23 | DA:48,1 24 | DA:50,2 25 | DA:51,1 26 | DA:52,2 27 | DA:53,2 28 | DA:54,3 29 | DA:55,0 30 | DA:61,1 31 | DA:65,1 32 | DA:67,1 33 | DA:69,1 34 | DA:70,1 35 | DA:71,3 36 | DA:79,1 37 | DA:80,1 38 | DA:82,2 39 | DA:84,1 40 | DA:85,1 41 | DA:86,1 42 | DA:87,1 43 | DA:88,4 44 | LF:33 45 | LH:32 46 | end_of_record 47 | SF:lib/src/core/providers/package_info_provider.dart 48 | DA:5,3 49 | DA:6,2 50 | LF:2 51 | LH:2 52 | end_of_record 53 | SF:lib/src/core/widgets/app_version.dart 54 | DA:7,1 55 | DA:9,2 56 | DA:11,3 57 | DA:12,0 58 | DA:13,0 59 | LF:5 60 | LH:3 61 | end_of_record 62 | SF:lib/src/features/jokes/views/widgets/joke_available.dart 63 | DA:6,1 64 | DA:9,1 65 | DA:13,1 66 | DA:15,1 67 | DA:16,1 68 | DA:18,1 69 | DA:20,1 70 | DA:21,2 71 | DA:22,1 72 | DA:24,1 73 | DA:25,1 74 | DA:26,1 75 | DA:27,2 76 | DA:28,1 77 | DA:32,1 78 | DA:33,2 79 | DA:34,1 80 | DA:38,1 81 | DA:39,2 82 | DA:40,2 83 | LF:20 84 | LH:20 85 | end_of_record 86 | SF:lib/src/features/jokes/views/widgets/loading.dart 87 | DA:4,2 88 | DA:6,1 89 | DA:8,1 90 | LF:3 91 | LH:3 92 | end_of_record 93 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FlutterJokes by NoScopeDevs 2 | 3 | A flutter application that will make you laugh with some developer jokes. 4 | 5 | - ✅ Null Safety 6 | - ✅ Clean Architecture 7 | - ✅ Riverpod 8 | - ✅ Basic Testing 9 | - ✅ Internationalization 10 | 11 | ## To get started 12 | ``` 13 | // To start run the following commands 14 | 15 | git clone [repo_url] 16 | 17 | cd flutter_jokes 18 | 19 | flutter pub get 20 | 21 | flutter run --dart-define apiUrl=https://v2.jokeapi.dev 22 | ``` 23 | ## App Preview 24 | 25 | 26 | 27 | 28 | ## Simple Testing 29 | ### ✅ Unit Test 30 | ### ✅ Widget Test 31 | ![](assets/readme/testing.png) 32 | ```dart 33 | //run the following command to run the widget test 34 | flutter test 35 | ``` 36 | ## Project Structure - Clean Architecture 37 | 38 | The following diagram represents the clean architecture approach taken to solve this challenge. This was proposed by myself and a friend and was shared with the Hispanic community as a solution to follow clean architecture practices. The original proposal uses `riverpod` but because of the `decoupling` there is no problem adapting to other state manager solution like `flutter_bloc` or basic `provider`. 39 | 40 | With this approach we achieve a great decoupling and separation of concerns between the different layers of the application. 41 | 42 | ![](assets/readme/arch.png) 43 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '12.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | end 36 | 37 | post_install do |installer| 38 | installer.pods_project.targets.each do |target| 39 | flutter_additional_ios_build_settings(target) 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /lib/src/features/jokes/views/widgets/joke_available.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'package:jokes/jokes.dart' show Joke; 4 | 5 | class JokeCard extends StatelessWidget { 6 | const JokeCard({ 7 | Key? key, 8 | required this.joke, 9 | }) : super(key: key); 10 | 11 | final Joke joke; 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | final theme = Theme.of(context); 16 | final textTheme = theme.textTheme; 17 | 18 | return Padding( 19 | padding: const EdgeInsets.symmetric(horizontal: 30), 20 | child: Card( 21 | shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(15)), 22 | child: Padding( 23 | padding: const EdgeInsets.all(25), 24 | child: Column( 25 | children: [ 26 | Text( 27 | joke.setup ?? 'I\'m thinking...', 28 | style: textTheme.displaySmall, 29 | textAlign: TextAlign.center, 30 | ), 31 | const SizedBox(height: 30), 32 | Text( 33 | joke.delivery ?? '', 34 | style: textTheme.displayMedium, 35 | textAlign: TextAlign.center, 36 | ), 37 | const SizedBox(height: 30), 38 | Icon( 39 | joke.safe ? Icons.check : Icons.remove, 40 | color: joke.safe ? Colors.green : Colors.red, 41 | ) 42 | ], 43 | ), 44 | ), 45 | ), 46 | ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | flutter_jokes 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | CADisableMinimumFrameDurationOnPhone 45 | 46 | UIApplicationSupportsIndirectInputEvents 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 29 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | lintOptions { 36 | disable 'InvalidPackage' 37 | } 38 | 39 | defaultConfig { 40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 41 | applicationId "dev.noscope.flutter_jokes" 42 | minSdkVersion 16 43 | targetSdkVersion 29 44 | versionCode flutterVersionCode.toInteger() 45 | versionName flutterVersionName 46 | } 47 | 48 | buildTypes { 49 | release { 50 | // TODO: Add your own signing config for the release build. 51 | // Signing with the debug keys for now, so `flutter run --release` works. 52 | signingConfig signingConfigs.debug 53 | } 54 | } 55 | } 56 | 57 | flutter { 58 | source '../..' 59 | } 60 | 61 | dependencies { 62 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 63 | } 64 | -------------------------------------------------------------------------------- /test/jokes/logic/jokes_state_notifier_test.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_test/flutter_test.dart'; 2 | import 'package:jokes/jokes.dart'; 3 | import 'package:mocktail/mocktail.dart'; 4 | 5 | import '../../../lib/src/features/jokes/logic/jokes_provider.dart' 6 | show JokesNotifier, JokesState; 7 | 8 | class GetJokeMock extends Mock implements GetJoke {} 9 | 10 | void main() { 11 | group('JokesNotifier', () { 12 | late GetJokeMock _getJoke; 13 | 14 | setUp(() { 15 | _getJoke = GetJokeMock(); 16 | }); 17 | 18 | test('Emit Initial, Loading, Data when successful', () async { 19 | final joke = JokeModel( 20 | category: 'Programing', 21 | type: 'twopart', 22 | setup: 'How do you generate a random string?', 23 | delivery: 'Put a Windows user in front of Vim and tell him to exit.', 24 | id: 10, 25 | safe: true, 26 | lang: 'en', 27 | ); 28 | 29 | final tJokeStates = [ 30 | JokesState.initial(), 31 | JokesState.loading(), 32 | JokesState.data(joke: joke) 33 | ]; 34 | 35 | when(() => _getJoke()).thenAnswer((_) => Future.value(joke)); 36 | 37 | final _jokesNotifier = JokesNotifier(getJoke: _getJoke); 38 | 39 | final List jokesStates = []; 40 | _jokesNotifier.addListener((state) { 41 | jokesStates.add(state); 42 | }); 43 | 44 | ///Act 45 | await _jokesNotifier.getJoke(); 46 | 47 | ///Expect 48 | expect(jokesStates, tJokeStates); 49 | }); 50 | 51 | test('Emit Initial, Loading, Error when Error Occurs', () async { 52 | //Setup 53 | 54 | final tJokeStates = [ 55 | JokesState.initial(), 56 | JokesState.loading(), 57 | JokesState.error(Exception().toString()), 58 | ]; 59 | 60 | when(() => _getJoke()).thenThrow(Exception()); 61 | 62 | final _jokesNotifier = JokesNotifier(getJoke: _getJoke); 63 | 64 | final List jokesStates = []; 65 | _jokesNotifier.addListener((state) { 66 | jokesStates.add(state); 67 | }); 68 | 69 | ///Act 70 | await _jokesNotifier.getJoke(); 71 | 72 | ///Expect 73 | expect(jokesStates, tJokeStates); 74 | }); 75 | }); 76 | } 77 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/src/features/jokes/views/joke_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 5 | 6 | import '../../../core/widgets/app_version.dart'; 7 | import '../logic/jokes_provider.dart'; 8 | 9 | import 'widgets.dart'; 10 | 11 | const contentSpacing = SizedBox(height: 50); 12 | 13 | /// * Keys for testing 14 | final getJokeButtonKey = UniqueKey(); 15 | final loadingIndicatorKey = UniqueKey(); 16 | 17 | class JokePage extends StatelessWidget { 18 | @override 19 | Widget build(BuildContext context) { 20 | return Scaffold( 21 | appBar: AppBar( 22 | title: Text('FlutterJokes'), 23 | elevation: 0, 24 | ), 25 | body: SingleChildScrollView( 26 | child: Column( 27 | crossAxisAlignment: CrossAxisAlignment.center, 28 | children: [ 29 | contentSpacing, 30 | const JokeConsumer(), 31 | contentSpacing, 32 | Align( 33 | child: const _GetJokeButton(), 34 | ), 35 | contentSpacing, 36 | AppVersion(), 37 | contentSpacing, 38 | ], 39 | ), 40 | ), 41 | ); 42 | } 43 | } 44 | 45 | class JokeConsumer extends ConsumerWidget { 46 | const JokeConsumer({Key? key}) : super(key: key); 47 | 48 | @override 49 | Widget build(BuildContext context, WidgetRef ref) { 50 | final state = ref.watch(jokesNotifierProvider); 51 | return state.when( 52 | initial: () => _Message('Tell Joke'), 53 | data: (joke) => JokeCard(joke: joke), 54 | loading: () => LoadingWidget(key: loadingIndicatorKey), 55 | error: (e) => _Message('Error'), 56 | ); 57 | } 58 | } 59 | 60 | class _Message extends StatelessWidget { 61 | const _Message(this.message); 62 | 63 | final String message; 64 | 65 | @override 66 | Widget build(BuildContext context) { 67 | return Padding( 68 | padding: const EdgeInsets.all(20), 69 | child: Text( 70 | message, 71 | style: Theme.of(context).textTheme.displayMedium, 72 | textAlign: TextAlign.center, 73 | ), 74 | ); 75 | } 76 | } 77 | 78 | class _GetJokeButton extends ConsumerWidget { 79 | const _GetJokeButton(); 80 | @override 81 | Widget build(BuildContext context, WidgetRef ref) { 82 | final state = ref.watch(jokesNotifierProvider); 83 | 84 | return CupertinoButton.filled( 85 | key: getJokeButtonKey, 86 | child: Text('Give me a joke'), 87 | onPressed: !state.isLoading 88 | ? ref.read(jokesNotifierProvider.notifier).getJoke 89 | : null, 90 | ); 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 12 | 19 | 23 | 27 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /test/jokes/views/joke_page_test.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_test/flutter_test.dart'; 2 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 3 | import 'package:jokes/jokes.dart'; 4 | import 'package:mocktail/mocktail.dart'; 5 | 6 | import 'package:flutter_jokes/src/app.dart'; 7 | import 'package:flutter_jokes/src/features/jokes/logic/jokes_provider.dart'; 8 | import 'package:flutter_jokes/src/features/jokes/views/joke_page.dart'; 9 | 10 | class MockGetJoke extends Mock implements GetJoke {} 11 | 12 | void main() { 13 | final getJokeButton = find.byKey(getJokeButtonKey); 14 | final getLoadingIndicator = find.byKey(loadingIndicatorKey); 15 | 16 | group('JokesPage', () { 17 | testWidgets('Render default get joke message', (tester) async { 18 | // Setup 19 | await tester.pumpWidget(ProviderScope(child: JokesApp())); 20 | //Expect 21 | expect(find.text('Tell Joke'), findsWidgets); 22 | }); 23 | 24 | testWidgets('Loading Indicator when LoadingState', (tester) async { 25 | ///act 26 | await tester.pumpWidget( 27 | ProviderScope( 28 | overrides: [ 29 | jokesNotifierProvider.overrideWith( 30 | (ref) => JokesNotifier( 31 | getJoke: MockGetJoke(), 32 | initialState: JokesState.loading(), 33 | ), 34 | ), 35 | ], 36 | child: JokesApp(), 37 | ), 38 | ); 39 | 40 | //Validate initial state 41 | expect(getLoadingIndicator, findsWidgets); 42 | }); 43 | 44 | testWidgets('Press button to get a joke', (tester) async { 45 | //Setup 46 | MockGetJoke _getJoke = MockGetJoke(); 47 | 48 | final joke = JokeModel( 49 | category: 'Programing', 50 | type: 'twopart', 51 | setup: 'How do you generate a random string?', 52 | delivery: 'Put a Windows user in front of Vim and tell him to exit.', 53 | id: 10, 54 | safe: true, 55 | lang: 'en', 56 | ); 57 | 58 | when(() => _getJoke()).thenAnswer((_) => Future.value(joke)); 59 | 60 | await tester.pumpWidget( 61 | ProviderScope( 62 | overrides: [ 63 | getJokeProvider.overrideWith( 64 | (ref) => _getJoke, 65 | ), 66 | ], 67 | child: JokesApp(), 68 | ), 69 | ); 70 | 71 | //Validate initial state 72 | expect(find.text('Tell Joke'), findsWidgets); 73 | expect(getJokeButton, findsWidgets); 74 | 75 | ///Act 76 | await tester.tap(getJokeButton); 77 | await tester.pump(); 78 | 79 | ///Validate new joke 80 | expect(find.text('Tell Joke'), findsNothing); 81 | expect(find.text('How do you generate a random string?'), findsWidgets); 82 | }); 83 | }); 84 | } 85 | -------------------------------------------------------------------------------- /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.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /packages/jokes/pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | _fe_analyzer_shared: 5 | dependency: transitive 6 | description: 7 | name: _fe_analyzer_shared 8 | sha256: "03f6da266a27a4538a69295ec142cb5717d7d4e5727b84658b63e1e1509bac9c" 9 | url: "https://pub.dev" 10 | source: hosted 11 | version: "79.0.0" 12 | _macros: 13 | dependency: transitive 14 | description: dart 15 | source: sdk 16 | version: "0.3.3" 17 | analyzer: 18 | dependency: transitive 19 | description: 20 | name: analyzer 21 | sha256: c9040fc56483c22a5e04a9f6a251313118b1a3c42423770623128fa484115643 22 | url: "https://pub.dev" 23 | source: hosted 24 | version: "7.2.0" 25 | args: 26 | dependency: transitive 27 | description: 28 | name: args 29 | sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 30 | url: "https://pub.dev" 31 | source: hosted 32 | version: "2.6.0" 33 | async: 34 | dependency: transitive 35 | description: 36 | name: async 37 | sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63 38 | url: "https://pub.dev" 39 | source: hosted 40 | version: "2.12.0" 41 | boolean_selector: 42 | dependency: transitive 43 | description: 44 | name: boolean_selector 45 | sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" 46 | url: "https://pub.dev" 47 | source: hosted 48 | version: "2.1.2" 49 | build: 50 | dependency: transitive 51 | description: 52 | name: build 53 | sha256: cef23f1eda9b57566c81e2133d196f8e3df48f244b317368d65c5943d91148f0 54 | url: "https://pub.dev" 55 | source: hosted 56 | version: "2.4.2" 57 | build_config: 58 | dependency: transitive 59 | description: 60 | name: build_config 61 | sha256: "4ae2de3e1e67ea270081eaee972e1bd8f027d459f249e0f1186730784c2e7e33" 62 | url: "https://pub.dev" 63 | source: hosted 64 | version: "1.1.2" 65 | build_daemon: 66 | dependency: transitive 67 | description: 68 | name: build_daemon 69 | sha256: "294a2edaf4814a378725bfe6358210196f5ea37af89ecd81bfa32960113d4948" 70 | url: "https://pub.dev" 71 | source: hosted 72 | version: "4.0.3" 73 | build_resolvers: 74 | dependency: transitive 75 | description: 76 | name: build_resolvers 77 | sha256: "99d3980049739a985cf9b21f30881f46db3ebc62c5b8d5e60e27440876b1ba1e" 78 | url: "https://pub.dev" 79 | source: hosted 80 | version: "2.4.3" 81 | build_runner: 82 | dependency: "direct dev" 83 | description: 84 | name: build_runner 85 | sha256: "74691599a5bc750dc96a6b4bfd48f7d9d66453eab04c7f4063134800d6a5c573" 86 | url: "https://pub.dev" 87 | source: hosted 88 | version: "2.4.14" 89 | build_runner_core: 90 | dependency: transitive 91 | description: 92 | name: build_runner_core 93 | sha256: "22e3aa1c80e0ada3722fe5b63fd43d9c8990759d0a2cf489c8c5d7b2bdebc021" 94 | url: "https://pub.dev" 95 | source: hosted 96 | version: "8.0.0" 97 | built_collection: 98 | dependency: transitive 99 | description: 100 | name: built_collection 101 | sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" 102 | url: "https://pub.dev" 103 | source: hosted 104 | version: "5.1.1" 105 | built_value: 106 | dependency: transitive 107 | description: 108 | name: built_value 109 | sha256: "28a712df2576b63c6c005c465989a348604960c0958d28be5303ba9baa841ac2" 110 | url: "https://pub.dev" 111 | source: hosted 112 | version: "8.9.3" 113 | checked_yaml: 114 | dependency: transitive 115 | description: 116 | name: checked_yaml 117 | sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff 118 | url: "https://pub.dev" 119 | source: hosted 120 | version: "2.0.3" 121 | code_builder: 122 | dependency: transitive 123 | description: 124 | name: code_builder 125 | sha256: "0ec10bf4a89e4c613960bf1e8b42c64127021740fb21640c29c909826a5eea3e" 126 | url: "https://pub.dev" 127 | source: hosted 128 | version: "4.10.1" 129 | collection: 130 | dependency: transitive 131 | description: 132 | name: collection 133 | sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" 134 | url: "https://pub.dev" 135 | source: hosted 136 | version: "1.19.1" 137 | convert: 138 | dependency: transitive 139 | description: 140 | name: convert 141 | sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 142 | url: "https://pub.dev" 143 | source: hosted 144 | version: "3.1.2" 145 | coverage: 146 | dependency: transitive 147 | description: 148 | name: coverage 149 | sha256: e3493833ea012784c740e341952298f1cc77f1f01b1bbc3eb4eecf6984fb7f43 150 | url: "https://pub.dev" 151 | source: hosted 152 | version: "1.11.1" 153 | crypto: 154 | dependency: transitive 155 | description: 156 | name: crypto 157 | sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" 158 | url: "https://pub.dev" 159 | source: hosted 160 | version: "3.0.6" 161 | dart_style: 162 | dependency: transitive 163 | description: 164 | name: dart_style 165 | sha256: "27eb0ae77836989a3bc541ce55595e8ceee0992807f14511552a898ddd0d88ac" 166 | url: "https://pub.dev" 167 | source: hosted 168 | version: "3.0.1" 169 | dio: 170 | dependency: "direct main" 171 | description: 172 | name: dio 173 | sha256: "253a18bbd4851fecba42f7343a1df3a9a4c1d31a2c1b37e221086b4fa8c8dbc9" 174 | url: "https://pub.dev" 175 | source: hosted 176 | version: "5.8.0+1" 177 | dio_web_adapter: 178 | dependency: transitive 179 | description: 180 | name: dio_web_adapter 181 | sha256: e485c7a39ff2b384fa1d7e09b4e25f755804de8384358049124830b04fc4f93a 182 | url: "https://pub.dev" 183 | source: hosted 184 | version: "2.1.0" 185 | equatable: 186 | dependency: "direct main" 187 | description: 188 | name: equatable 189 | sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" 190 | url: "https://pub.dev" 191 | source: hosted 192 | version: "2.0.7" 193 | file: 194 | dependency: transitive 195 | description: 196 | name: file 197 | sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 198 | url: "https://pub.dev" 199 | source: hosted 200 | version: "7.0.1" 201 | fixnum: 202 | dependency: transitive 203 | description: 204 | name: fixnum 205 | sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be 206 | url: "https://pub.dev" 207 | source: hosted 208 | version: "1.1.1" 209 | frontend_server_client: 210 | dependency: transitive 211 | description: 212 | name: frontend_server_client 213 | sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 214 | url: "https://pub.dev" 215 | source: hosted 216 | version: "4.0.0" 217 | glob: 218 | dependency: transitive 219 | description: 220 | name: glob 221 | sha256: c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de 222 | url: "https://pub.dev" 223 | source: hosted 224 | version: "2.1.3" 225 | graphs: 226 | dependency: transitive 227 | description: 228 | name: graphs 229 | sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" 230 | url: "https://pub.dev" 231 | source: hosted 232 | version: "2.3.2" 233 | http: 234 | dependency: "direct main" 235 | description: 236 | name: http 237 | sha256: fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f 238 | url: "https://pub.dev" 239 | source: hosted 240 | version: "1.3.0" 241 | http_multi_server: 242 | dependency: transitive 243 | description: 244 | name: http_multi_server 245 | sha256: aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8 246 | url: "https://pub.dev" 247 | source: hosted 248 | version: "3.2.2" 249 | http_parser: 250 | dependency: transitive 251 | description: 252 | name: http_parser 253 | sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" 254 | url: "https://pub.dev" 255 | source: hosted 256 | version: "4.1.2" 257 | io: 258 | dependency: transitive 259 | description: 260 | name: io 261 | sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b 262 | url: "https://pub.dev" 263 | source: hosted 264 | version: "1.0.5" 265 | js: 266 | dependency: transitive 267 | description: 268 | name: js 269 | sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf 270 | url: "https://pub.dev" 271 | source: hosted 272 | version: "0.7.1" 273 | json_annotation: 274 | dependency: "direct main" 275 | description: 276 | name: json_annotation 277 | sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" 278 | url: "https://pub.dev" 279 | source: hosted 280 | version: "4.9.0" 281 | json_serializable: 282 | dependency: "direct dev" 283 | description: 284 | name: json_serializable 285 | sha256: b0a98230538fe5d0b60a22fb6bf1b6cb03471b53e3324ff6069c591679dd59c9 286 | url: "https://pub.dev" 287 | source: hosted 288 | version: "6.9.3" 289 | logging: 290 | dependency: transitive 291 | description: 292 | name: logging 293 | sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 294 | url: "https://pub.dev" 295 | source: hosted 296 | version: "1.3.0" 297 | macros: 298 | dependency: transitive 299 | description: 300 | name: macros 301 | sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656" 302 | url: "https://pub.dev" 303 | source: hosted 304 | version: "0.1.3-main.0" 305 | matcher: 306 | dependency: transitive 307 | description: 308 | name: matcher 309 | sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 310 | url: "https://pub.dev" 311 | source: hosted 312 | version: "0.12.17" 313 | meta: 314 | dependency: "direct main" 315 | description: 316 | name: meta 317 | sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c 318 | url: "https://pub.dev" 319 | source: hosted 320 | version: "1.16.0" 321 | mime: 322 | dependency: transitive 323 | description: 324 | name: mime 325 | sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" 326 | url: "https://pub.dev" 327 | source: hosted 328 | version: "2.0.0" 329 | mockito: 330 | dependency: "direct dev" 331 | description: 332 | name: mockito 333 | sha256: f99d8d072e249f719a5531735d146d8cf04c580d93920b04de75bef6dfb2daf6 334 | url: "https://pub.dev" 335 | source: hosted 336 | version: "5.4.5" 337 | node_preamble: 338 | dependency: transitive 339 | description: 340 | name: node_preamble 341 | sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" 342 | url: "https://pub.dev" 343 | source: hosted 344 | version: "2.0.2" 345 | package_config: 346 | dependency: transitive 347 | description: 348 | name: package_config 349 | sha256: "92d4488434b520a62570293fbd33bb556c7d49230791c1b4bbd973baf6d2dc67" 350 | url: "https://pub.dev" 351 | source: hosted 352 | version: "2.1.1" 353 | path: 354 | dependency: "direct main" 355 | description: 356 | name: path 357 | sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" 358 | url: "https://pub.dev" 359 | source: hosted 360 | version: "1.9.1" 361 | pool: 362 | dependency: transitive 363 | description: 364 | name: pool 365 | sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" 366 | url: "https://pub.dev" 367 | source: hosted 368 | version: "1.5.1" 369 | pub_semver: 370 | dependency: transitive 371 | description: 372 | name: pub_semver 373 | sha256: "7b3cfbf654f3edd0c6298ecd5be782ce997ddf0e00531b9464b55245185bbbbd" 374 | url: "https://pub.dev" 375 | source: hosted 376 | version: "2.1.5" 377 | pubspec_parse: 378 | dependency: transitive 379 | description: 380 | name: pubspec_parse 381 | sha256: "0560ba233314abbed0a48a2956f7f022cce7c3e1e73df540277da7544cad4082" 382 | url: "https://pub.dev" 383 | source: hosted 384 | version: "1.5.0" 385 | shelf: 386 | dependency: transitive 387 | description: 388 | name: shelf 389 | sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 390 | url: "https://pub.dev" 391 | source: hosted 392 | version: "1.4.2" 393 | shelf_packages_handler: 394 | dependency: transitive 395 | description: 396 | name: shelf_packages_handler 397 | sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" 398 | url: "https://pub.dev" 399 | source: hosted 400 | version: "3.0.2" 401 | shelf_static: 402 | dependency: transitive 403 | description: 404 | name: shelf_static 405 | sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3 406 | url: "https://pub.dev" 407 | source: hosted 408 | version: "1.1.3" 409 | shelf_web_socket: 410 | dependency: transitive 411 | description: 412 | name: shelf_web_socket 413 | sha256: cc36c297b52866d203dbf9332263c94becc2fe0ceaa9681d07b6ef9807023b67 414 | url: "https://pub.dev" 415 | source: hosted 416 | version: "2.0.1" 417 | source_gen: 418 | dependency: transitive 419 | description: 420 | name: source_gen 421 | sha256: "35c8150ece9e8c8d263337a265153c3329667640850b9304861faea59fc98f6b" 422 | url: "https://pub.dev" 423 | source: hosted 424 | version: "2.0.0" 425 | source_helper: 426 | dependency: transitive 427 | description: 428 | name: source_helper 429 | sha256: "86d247119aedce8e63f4751bd9626fc9613255935558447569ad42f9f5b48b3c" 430 | url: "https://pub.dev" 431 | source: hosted 432 | version: "1.3.5" 433 | source_map_stack_trace: 434 | dependency: transitive 435 | description: 436 | name: source_map_stack_trace 437 | sha256: c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b 438 | url: "https://pub.dev" 439 | source: hosted 440 | version: "2.1.2" 441 | source_maps: 442 | dependency: transitive 443 | description: 444 | name: source_maps 445 | sha256: "190222579a448b03896e0ca6eca5998fa810fda630c1d65e2f78b3f638f54812" 446 | url: "https://pub.dev" 447 | source: hosted 448 | version: "0.10.13" 449 | source_span: 450 | dependency: transitive 451 | description: 452 | name: source_span 453 | sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" 454 | url: "https://pub.dev" 455 | source: hosted 456 | version: "1.10.1" 457 | stack_trace: 458 | dependency: transitive 459 | description: 460 | name: stack_trace 461 | sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" 462 | url: "https://pub.dev" 463 | source: hosted 464 | version: "1.12.1" 465 | stream_channel: 466 | dependency: transitive 467 | description: 468 | name: stream_channel 469 | sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" 470 | url: "https://pub.dev" 471 | source: hosted 472 | version: "2.1.4" 473 | stream_transform: 474 | dependency: transitive 475 | description: 476 | name: stream_transform 477 | sha256: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 478 | url: "https://pub.dev" 479 | source: hosted 480 | version: "2.1.1" 481 | string_scanner: 482 | dependency: transitive 483 | description: 484 | name: string_scanner 485 | sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" 486 | url: "https://pub.dev" 487 | source: hosted 488 | version: "1.4.1" 489 | term_glyph: 490 | dependency: transitive 491 | description: 492 | name: term_glyph 493 | sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" 494 | url: "https://pub.dev" 495 | source: hosted 496 | version: "1.2.2" 497 | test: 498 | dependency: "direct dev" 499 | description: 500 | name: test 501 | sha256: "8391fbe68d520daf2314121764d38e37f934c02fd7301ad18307bd93bd6b725d" 502 | url: "https://pub.dev" 503 | source: hosted 504 | version: "1.25.14" 505 | test_api: 506 | dependency: transitive 507 | description: 508 | name: test_api 509 | sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd 510 | url: "https://pub.dev" 511 | source: hosted 512 | version: "0.7.4" 513 | test_core: 514 | dependency: transitive 515 | description: 516 | name: test_core 517 | sha256: "84d17c3486c8dfdbe5e12a50c8ae176d15e2a771b96909a9442b40173649ccaa" 518 | url: "https://pub.dev" 519 | source: hosted 520 | version: "0.6.8" 521 | timing: 522 | dependency: transitive 523 | description: 524 | name: timing 525 | sha256: "62ee18aca144e4a9f29d212f5a4c6a053be252b895ab14b5821996cff4ed90fe" 526 | url: "https://pub.dev" 527 | source: hosted 528 | version: "1.0.2" 529 | typed_data: 530 | dependency: transitive 531 | description: 532 | name: typed_data 533 | sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 534 | url: "https://pub.dev" 535 | source: hosted 536 | version: "1.4.0" 537 | very_good_analysis: 538 | dependency: "direct dev" 539 | description: 540 | name: very_good_analysis 541 | sha256: "62d2b86d183fb81b2edc22913d9f155d26eb5cf3855173adb1f59fac85035c63" 542 | url: "https://pub.dev" 543 | source: hosted 544 | version: "7.0.0" 545 | vm_service: 546 | dependency: transitive 547 | description: 548 | name: vm_service 549 | sha256: ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02 550 | url: "https://pub.dev" 551 | source: hosted 552 | version: "15.0.0" 553 | watcher: 554 | dependency: transitive 555 | description: 556 | name: watcher 557 | sha256: "69da27e49efa56a15f8afe8f4438c4ec02eff0a117df1b22ea4aad194fe1c104" 558 | url: "https://pub.dev" 559 | source: hosted 560 | version: "1.1.1" 561 | web: 562 | dependency: transitive 563 | description: 564 | name: web 565 | sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb 566 | url: "https://pub.dev" 567 | source: hosted 568 | version: "1.1.0" 569 | web_socket: 570 | dependency: transitive 571 | description: 572 | name: web_socket 573 | sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" 574 | url: "https://pub.dev" 575 | source: hosted 576 | version: "0.1.6" 577 | web_socket_channel: 578 | dependency: transitive 579 | description: 580 | name: web_socket_channel 581 | sha256: "0b8e2457400d8a859b7b2030786835a28a8e80836ef64402abef392ff4f1d0e5" 582 | url: "https://pub.dev" 583 | source: hosted 584 | version: "3.0.2" 585 | webkit_inspection_protocol: 586 | dependency: transitive 587 | description: 588 | name: webkit_inspection_protocol 589 | sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" 590 | url: "https://pub.dev" 591 | source: hosted 592 | version: "1.2.1" 593 | yaml: 594 | dependency: transitive 595 | description: 596 | name: yaml 597 | sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce 598 | url: "https://pub.dev" 599 | source: hosted 600 | version: "3.1.3" 601 | sdks: 602 | dart: ">=3.6.0 <4.0.0" 603 | -------------------------------------------------------------------------------- /lib/src/features/jokes/logic/jokes_state.freezed.dart: -------------------------------------------------------------------------------- 1 | // coverage:ignore-file 2 | // GENERATED CODE - DO NOT MODIFY BY HAND 3 | // ignore_for_file: type=lint 4 | // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark 5 | 6 | part of 'jokes_state.dart'; 7 | 8 | // ************************************************************************** 9 | // FreezedGenerator 10 | // ************************************************************************** 11 | 12 | T _$identity(T value) => value; 13 | 14 | final _privateConstructorUsedError = UnsupportedError( 15 | 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); 16 | 17 | /// @nodoc 18 | mixin _$JokesState { 19 | @optionalTypeArgs 20 | TResult when({ 21 | required TResult Function(Joke joke) data, 22 | required TResult Function() initial, 23 | required TResult Function() loading, 24 | required TResult Function(String? message) error, 25 | }) => 26 | throw _privateConstructorUsedError; 27 | @optionalTypeArgs 28 | TResult? whenOrNull({ 29 | TResult? Function(Joke joke)? data, 30 | TResult? Function()? initial, 31 | TResult? Function()? loading, 32 | TResult? Function(String? message)? error, 33 | }) => 34 | throw _privateConstructorUsedError; 35 | @optionalTypeArgs 36 | TResult maybeWhen({ 37 | TResult Function(Joke joke)? data, 38 | TResult Function()? initial, 39 | TResult Function()? loading, 40 | TResult Function(String? message)? error, 41 | required TResult orElse(), 42 | }) => 43 | throw _privateConstructorUsedError; 44 | @optionalTypeArgs 45 | TResult map({ 46 | required TResult Function(_Data value) data, 47 | required TResult Function(_Initial value) initial, 48 | required TResult Function(_Loading value) loading, 49 | required TResult Function(_Error value) error, 50 | }) => 51 | throw _privateConstructorUsedError; 52 | @optionalTypeArgs 53 | TResult? mapOrNull({ 54 | TResult? Function(_Data value)? data, 55 | TResult? Function(_Initial value)? initial, 56 | TResult? Function(_Loading value)? loading, 57 | TResult? Function(_Error value)? error, 58 | }) => 59 | throw _privateConstructorUsedError; 60 | @optionalTypeArgs 61 | TResult maybeMap({ 62 | TResult Function(_Data value)? data, 63 | TResult Function(_Initial value)? initial, 64 | TResult Function(_Loading value)? loading, 65 | TResult Function(_Error value)? error, 66 | required TResult orElse(), 67 | }) => 68 | throw _privateConstructorUsedError; 69 | } 70 | 71 | /// @nodoc 72 | abstract class $JokesStateCopyWith<$Res> { 73 | factory $JokesStateCopyWith( 74 | JokesState value, $Res Function(JokesState) then) = 75 | _$JokesStateCopyWithImpl<$Res, JokesState>; 76 | } 77 | 78 | /// @nodoc 79 | class _$JokesStateCopyWithImpl<$Res, $Val extends JokesState> 80 | implements $JokesStateCopyWith<$Res> { 81 | _$JokesStateCopyWithImpl(this._value, this._then); 82 | 83 | // ignore: unused_field 84 | final $Val _value; 85 | // ignore: unused_field 86 | final $Res Function($Val) _then; 87 | 88 | /// Create a copy of JokesState 89 | /// with the given fields replaced by the non-null parameter values. 90 | } 91 | 92 | /// @nodoc 93 | abstract class _$$DataImplCopyWith<$Res> { 94 | factory _$$DataImplCopyWith( 95 | _$DataImpl value, $Res Function(_$DataImpl) then) = 96 | __$$DataImplCopyWithImpl<$Res>; 97 | @useResult 98 | $Res call({Joke joke}); 99 | } 100 | 101 | /// @nodoc 102 | class __$$DataImplCopyWithImpl<$Res> 103 | extends _$JokesStateCopyWithImpl<$Res, _$DataImpl> 104 | implements _$$DataImplCopyWith<$Res> { 105 | __$$DataImplCopyWithImpl(_$DataImpl _value, $Res Function(_$DataImpl) _then) 106 | : super(_value, _then); 107 | 108 | /// Create a copy of JokesState 109 | /// with the given fields replaced by the non-null parameter values. 110 | @pragma('vm:prefer-inline') 111 | @override 112 | $Res call({ 113 | Object? joke = null, 114 | }) { 115 | return _then(_$DataImpl( 116 | joke: null == joke 117 | ? _value.joke 118 | : joke // ignore: cast_nullable_to_non_nullable 119 | as Joke, 120 | )); 121 | } 122 | } 123 | 124 | /// @nodoc 125 | 126 | class _$DataImpl implements _Data { 127 | const _$DataImpl({required this.joke}); 128 | 129 | @override 130 | final Joke joke; 131 | 132 | @override 133 | String toString() { 134 | return 'JokesState.data(joke: $joke)'; 135 | } 136 | 137 | @override 138 | bool operator ==(Object other) { 139 | return identical(this, other) || 140 | (other.runtimeType == runtimeType && 141 | other is _$DataImpl && 142 | (identical(other.joke, joke) || other.joke == joke)); 143 | } 144 | 145 | @override 146 | int get hashCode => Object.hash(runtimeType, joke); 147 | 148 | /// Create a copy of JokesState 149 | /// with the given fields replaced by the non-null parameter values. 150 | @JsonKey(includeFromJson: false, includeToJson: false) 151 | @override 152 | @pragma('vm:prefer-inline') 153 | _$$DataImplCopyWith<_$DataImpl> get copyWith => 154 | __$$DataImplCopyWithImpl<_$DataImpl>(this, _$identity); 155 | 156 | @override 157 | @optionalTypeArgs 158 | TResult when({ 159 | required TResult Function(Joke joke) data, 160 | required TResult Function() initial, 161 | required TResult Function() loading, 162 | required TResult Function(String? message) error, 163 | }) { 164 | return data(joke); 165 | } 166 | 167 | @override 168 | @optionalTypeArgs 169 | TResult? whenOrNull({ 170 | TResult? Function(Joke joke)? data, 171 | TResult? Function()? initial, 172 | TResult? Function()? loading, 173 | TResult? Function(String? message)? error, 174 | }) { 175 | return data?.call(joke); 176 | } 177 | 178 | @override 179 | @optionalTypeArgs 180 | TResult maybeWhen({ 181 | TResult Function(Joke joke)? data, 182 | TResult Function()? initial, 183 | TResult Function()? loading, 184 | TResult Function(String? message)? error, 185 | required TResult orElse(), 186 | }) { 187 | if (data != null) { 188 | return data(joke); 189 | } 190 | return orElse(); 191 | } 192 | 193 | @override 194 | @optionalTypeArgs 195 | TResult map({ 196 | required TResult Function(_Data value) data, 197 | required TResult Function(_Initial value) initial, 198 | required TResult Function(_Loading value) loading, 199 | required TResult Function(_Error value) error, 200 | }) { 201 | return data(this); 202 | } 203 | 204 | @override 205 | @optionalTypeArgs 206 | TResult? mapOrNull({ 207 | TResult? Function(_Data value)? data, 208 | TResult? Function(_Initial value)? initial, 209 | TResult? Function(_Loading value)? loading, 210 | TResult? Function(_Error value)? error, 211 | }) { 212 | return data?.call(this); 213 | } 214 | 215 | @override 216 | @optionalTypeArgs 217 | TResult maybeMap({ 218 | TResult Function(_Data value)? data, 219 | TResult Function(_Initial value)? initial, 220 | TResult Function(_Loading value)? loading, 221 | TResult Function(_Error value)? error, 222 | required TResult orElse(), 223 | }) { 224 | if (data != null) { 225 | return data(this); 226 | } 227 | return orElse(); 228 | } 229 | } 230 | 231 | abstract class _Data implements JokesState { 232 | const factory _Data({required final Joke joke}) = _$DataImpl; 233 | 234 | Joke get joke; 235 | 236 | /// Create a copy of JokesState 237 | /// with the given fields replaced by the non-null parameter values. 238 | @JsonKey(includeFromJson: false, includeToJson: false) 239 | _$$DataImplCopyWith<_$DataImpl> get copyWith => 240 | throw _privateConstructorUsedError; 241 | } 242 | 243 | /// @nodoc 244 | abstract class _$$InitialImplCopyWith<$Res> { 245 | factory _$$InitialImplCopyWith( 246 | _$InitialImpl value, $Res Function(_$InitialImpl) then) = 247 | __$$InitialImplCopyWithImpl<$Res>; 248 | } 249 | 250 | /// @nodoc 251 | class __$$InitialImplCopyWithImpl<$Res> 252 | extends _$JokesStateCopyWithImpl<$Res, _$InitialImpl> 253 | implements _$$InitialImplCopyWith<$Res> { 254 | __$$InitialImplCopyWithImpl( 255 | _$InitialImpl _value, $Res Function(_$InitialImpl) _then) 256 | : super(_value, _then); 257 | 258 | /// Create a copy of JokesState 259 | /// with the given fields replaced by the non-null parameter values. 260 | } 261 | 262 | /// @nodoc 263 | 264 | class _$InitialImpl implements _Initial { 265 | const _$InitialImpl(); 266 | 267 | @override 268 | String toString() { 269 | return 'JokesState.initial()'; 270 | } 271 | 272 | @override 273 | bool operator ==(Object other) { 274 | return identical(this, other) || 275 | (other.runtimeType == runtimeType && other is _$InitialImpl); 276 | } 277 | 278 | @override 279 | int get hashCode => runtimeType.hashCode; 280 | 281 | @override 282 | @optionalTypeArgs 283 | TResult when({ 284 | required TResult Function(Joke joke) data, 285 | required TResult Function() initial, 286 | required TResult Function() loading, 287 | required TResult Function(String? message) error, 288 | }) { 289 | return initial(); 290 | } 291 | 292 | @override 293 | @optionalTypeArgs 294 | TResult? whenOrNull({ 295 | TResult? Function(Joke joke)? data, 296 | TResult? Function()? initial, 297 | TResult? Function()? loading, 298 | TResult? Function(String? message)? error, 299 | }) { 300 | return initial?.call(); 301 | } 302 | 303 | @override 304 | @optionalTypeArgs 305 | TResult maybeWhen({ 306 | TResult Function(Joke joke)? data, 307 | TResult Function()? initial, 308 | TResult Function()? loading, 309 | TResult Function(String? message)? error, 310 | required TResult orElse(), 311 | }) { 312 | if (initial != null) { 313 | return initial(); 314 | } 315 | return orElse(); 316 | } 317 | 318 | @override 319 | @optionalTypeArgs 320 | TResult map({ 321 | required TResult Function(_Data value) data, 322 | required TResult Function(_Initial value) initial, 323 | required TResult Function(_Loading value) loading, 324 | required TResult Function(_Error value) error, 325 | }) { 326 | return initial(this); 327 | } 328 | 329 | @override 330 | @optionalTypeArgs 331 | TResult? mapOrNull({ 332 | TResult? Function(_Data value)? data, 333 | TResult? Function(_Initial value)? initial, 334 | TResult? Function(_Loading value)? loading, 335 | TResult? Function(_Error value)? error, 336 | }) { 337 | return initial?.call(this); 338 | } 339 | 340 | @override 341 | @optionalTypeArgs 342 | TResult maybeMap({ 343 | TResult Function(_Data value)? data, 344 | TResult Function(_Initial value)? initial, 345 | TResult Function(_Loading value)? loading, 346 | TResult Function(_Error value)? error, 347 | required TResult orElse(), 348 | }) { 349 | if (initial != null) { 350 | return initial(this); 351 | } 352 | return orElse(); 353 | } 354 | } 355 | 356 | abstract class _Initial implements JokesState { 357 | const factory _Initial() = _$InitialImpl; 358 | } 359 | 360 | /// @nodoc 361 | abstract class _$$LoadingImplCopyWith<$Res> { 362 | factory _$$LoadingImplCopyWith( 363 | _$LoadingImpl value, $Res Function(_$LoadingImpl) then) = 364 | __$$LoadingImplCopyWithImpl<$Res>; 365 | } 366 | 367 | /// @nodoc 368 | class __$$LoadingImplCopyWithImpl<$Res> 369 | extends _$JokesStateCopyWithImpl<$Res, _$LoadingImpl> 370 | implements _$$LoadingImplCopyWith<$Res> { 371 | __$$LoadingImplCopyWithImpl( 372 | _$LoadingImpl _value, $Res Function(_$LoadingImpl) _then) 373 | : super(_value, _then); 374 | 375 | /// Create a copy of JokesState 376 | /// with the given fields replaced by the non-null parameter values. 377 | } 378 | 379 | /// @nodoc 380 | 381 | class _$LoadingImpl implements _Loading { 382 | const _$LoadingImpl(); 383 | 384 | @override 385 | String toString() { 386 | return 'JokesState.loading()'; 387 | } 388 | 389 | @override 390 | bool operator ==(Object other) { 391 | return identical(this, other) || 392 | (other.runtimeType == runtimeType && other is _$LoadingImpl); 393 | } 394 | 395 | @override 396 | int get hashCode => runtimeType.hashCode; 397 | 398 | @override 399 | @optionalTypeArgs 400 | TResult when({ 401 | required TResult Function(Joke joke) data, 402 | required TResult Function() initial, 403 | required TResult Function() loading, 404 | required TResult Function(String? message) error, 405 | }) { 406 | return loading(); 407 | } 408 | 409 | @override 410 | @optionalTypeArgs 411 | TResult? whenOrNull({ 412 | TResult? Function(Joke joke)? data, 413 | TResult? Function()? initial, 414 | TResult? Function()? loading, 415 | TResult? Function(String? message)? error, 416 | }) { 417 | return loading?.call(); 418 | } 419 | 420 | @override 421 | @optionalTypeArgs 422 | TResult maybeWhen({ 423 | TResult Function(Joke joke)? data, 424 | TResult Function()? initial, 425 | TResult Function()? loading, 426 | TResult Function(String? message)? error, 427 | required TResult orElse(), 428 | }) { 429 | if (loading != null) { 430 | return loading(); 431 | } 432 | return orElse(); 433 | } 434 | 435 | @override 436 | @optionalTypeArgs 437 | TResult map({ 438 | required TResult Function(_Data value) data, 439 | required TResult Function(_Initial value) initial, 440 | required TResult Function(_Loading value) loading, 441 | required TResult Function(_Error value) error, 442 | }) { 443 | return loading(this); 444 | } 445 | 446 | @override 447 | @optionalTypeArgs 448 | TResult? mapOrNull({ 449 | TResult? Function(_Data value)? data, 450 | TResult? Function(_Initial value)? initial, 451 | TResult? Function(_Loading value)? loading, 452 | TResult? Function(_Error value)? error, 453 | }) { 454 | return loading?.call(this); 455 | } 456 | 457 | @override 458 | @optionalTypeArgs 459 | TResult maybeMap({ 460 | TResult Function(_Data value)? data, 461 | TResult Function(_Initial value)? initial, 462 | TResult Function(_Loading value)? loading, 463 | TResult Function(_Error value)? error, 464 | required TResult orElse(), 465 | }) { 466 | if (loading != null) { 467 | return loading(this); 468 | } 469 | return orElse(); 470 | } 471 | } 472 | 473 | abstract class _Loading implements JokesState { 474 | const factory _Loading() = _$LoadingImpl; 475 | } 476 | 477 | /// @nodoc 478 | abstract class _$$ErrorImplCopyWith<$Res> { 479 | factory _$$ErrorImplCopyWith( 480 | _$ErrorImpl value, $Res Function(_$ErrorImpl) then) = 481 | __$$ErrorImplCopyWithImpl<$Res>; 482 | @useResult 483 | $Res call({String? message}); 484 | } 485 | 486 | /// @nodoc 487 | class __$$ErrorImplCopyWithImpl<$Res> 488 | extends _$JokesStateCopyWithImpl<$Res, _$ErrorImpl> 489 | implements _$$ErrorImplCopyWith<$Res> { 490 | __$$ErrorImplCopyWithImpl( 491 | _$ErrorImpl _value, $Res Function(_$ErrorImpl) _then) 492 | : super(_value, _then); 493 | 494 | /// Create a copy of JokesState 495 | /// with the given fields replaced by the non-null parameter values. 496 | @pragma('vm:prefer-inline') 497 | @override 498 | $Res call({ 499 | Object? message = freezed, 500 | }) { 501 | return _then(_$ErrorImpl( 502 | freezed == message 503 | ? _value.message 504 | : message // ignore: cast_nullable_to_non_nullable 505 | as String?, 506 | )); 507 | } 508 | } 509 | 510 | /// @nodoc 511 | 512 | class _$ErrorImpl implements _Error { 513 | const _$ErrorImpl([this.message]); 514 | 515 | @override 516 | final String? message; 517 | 518 | @override 519 | String toString() { 520 | return 'JokesState.error(message: $message)'; 521 | } 522 | 523 | @override 524 | bool operator ==(Object other) { 525 | return identical(this, other) || 526 | (other.runtimeType == runtimeType && 527 | other is _$ErrorImpl && 528 | (identical(other.message, message) || other.message == message)); 529 | } 530 | 531 | @override 532 | int get hashCode => Object.hash(runtimeType, message); 533 | 534 | /// Create a copy of JokesState 535 | /// with the given fields replaced by the non-null parameter values. 536 | @JsonKey(includeFromJson: false, includeToJson: false) 537 | @override 538 | @pragma('vm:prefer-inline') 539 | _$$ErrorImplCopyWith<_$ErrorImpl> get copyWith => 540 | __$$ErrorImplCopyWithImpl<_$ErrorImpl>(this, _$identity); 541 | 542 | @override 543 | @optionalTypeArgs 544 | TResult when({ 545 | required TResult Function(Joke joke) data, 546 | required TResult Function() initial, 547 | required TResult Function() loading, 548 | required TResult Function(String? message) error, 549 | }) { 550 | return error(message); 551 | } 552 | 553 | @override 554 | @optionalTypeArgs 555 | TResult? whenOrNull({ 556 | TResult? Function(Joke joke)? data, 557 | TResult? Function()? initial, 558 | TResult? Function()? loading, 559 | TResult? Function(String? message)? error, 560 | }) { 561 | return error?.call(message); 562 | } 563 | 564 | @override 565 | @optionalTypeArgs 566 | TResult maybeWhen({ 567 | TResult Function(Joke joke)? data, 568 | TResult Function()? initial, 569 | TResult Function()? loading, 570 | TResult Function(String? message)? error, 571 | required TResult orElse(), 572 | }) { 573 | if (error != null) { 574 | return error(message); 575 | } 576 | return orElse(); 577 | } 578 | 579 | @override 580 | @optionalTypeArgs 581 | TResult map({ 582 | required TResult Function(_Data value) data, 583 | required TResult Function(_Initial value) initial, 584 | required TResult Function(_Loading value) loading, 585 | required TResult Function(_Error value) error, 586 | }) { 587 | return error(this); 588 | } 589 | 590 | @override 591 | @optionalTypeArgs 592 | TResult? mapOrNull({ 593 | TResult? Function(_Data value)? data, 594 | TResult? Function(_Initial value)? initial, 595 | TResult? Function(_Loading value)? loading, 596 | TResult? Function(_Error value)? error, 597 | }) { 598 | return error?.call(this); 599 | } 600 | 601 | @override 602 | @optionalTypeArgs 603 | TResult maybeMap({ 604 | TResult Function(_Data value)? data, 605 | TResult Function(_Initial value)? initial, 606 | TResult Function(_Loading value)? loading, 607 | TResult Function(_Error value)? error, 608 | required TResult orElse(), 609 | }) { 610 | if (error != null) { 611 | return error(this); 612 | } 613 | return orElse(); 614 | } 615 | } 616 | 617 | abstract class _Error implements JokesState { 618 | const factory _Error([final String? message]) = _$ErrorImpl; 619 | 620 | String? get message; 621 | 622 | /// Create a copy of JokesState 623 | /// with the given fields replaced by the non-null parameter values. 624 | @JsonKey(includeFromJson: false, includeToJson: false) 625 | _$$ErrorImplCopyWith<_$ErrorImpl> get copyWith => 626 | throw _privateConstructorUsedError; 627 | } 628 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | FC69E534F10D879C1A61FEC8 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 765C19882CDF4C9F5E95630E /* Pods_Runner.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXCopyFilesBuildPhase section */ 20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 21 | isa = PBXCopyFilesBuildPhase; 22 | buildActionMask = 2147483647; 23 | dstPath = ""; 24 | dstSubfolderSpec = 10; 25 | files = ( 26 | ); 27 | name = "Embed Frameworks"; 28 | runOnlyForDeploymentPostprocessing = 0; 29 | }; 30 | /* End PBXCopyFilesBuildPhase section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 35 | 259524D3E073201C834B5426 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 36 | 294E0903BD440647B98FA2CB /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 37 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 38 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 39 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 765C19882CDF4C9F5E95630E /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 42 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 43 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 44 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 46 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 47 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 48 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 49 | 9E601DCD21D894504F66723D /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | FC69E534F10D879C1A61FEC8 /* Pods_Runner.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | /* End PBXFrameworksBuildPhase section */ 62 | 63 | /* Begin PBXGroup section */ 64 | 47B6C674B3DF2F7778764D63 /* Pods */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | 294E0903BD440647B98FA2CB /* Pods-Runner.debug.xcconfig */, 68 | 9E601DCD21D894504F66723D /* Pods-Runner.release.xcconfig */, 69 | 259524D3E073201C834B5426 /* Pods-Runner.profile.xcconfig */, 70 | ); 71 | name = Pods; 72 | path = Pods; 73 | sourceTree = ""; 74 | }; 75 | 9740EEB11CF90186004384FC /* Flutter */ = { 76 | isa = PBXGroup; 77 | children = ( 78 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 79 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 80 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 81 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 82 | ); 83 | name = Flutter; 84 | sourceTree = ""; 85 | }; 86 | 97C146E51CF9000F007C117D = { 87 | isa = PBXGroup; 88 | children = ( 89 | 9740EEB11CF90186004384FC /* Flutter */, 90 | 97C146F01CF9000F007C117D /* Runner */, 91 | 97C146EF1CF9000F007C117D /* Products */, 92 | 47B6C674B3DF2F7778764D63 /* Pods */, 93 | D3F92F034BFC324C431228DE /* Frameworks */, 94 | ); 95 | sourceTree = ""; 96 | }; 97 | 97C146EF1CF9000F007C117D /* Products */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 97C146EE1CF9000F007C117D /* Runner.app */, 101 | ); 102 | name = Products; 103 | sourceTree = ""; 104 | }; 105 | 97C146F01CF9000F007C117D /* Runner */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 109 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 110 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 111 | 97C147021CF9000F007C117D /* Info.plist */, 112 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 113 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 114 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 115 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 116 | ); 117 | path = Runner; 118 | sourceTree = ""; 119 | }; 120 | D3F92F034BFC324C431228DE /* Frameworks */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 765C19882CDF4C9F5E95630E /* Pods_Runner.framework */, 124 | ); 125 | name = Frameworks; 126 | sourceTree = ""; 127 | }; 128 | /* End PBXGroup section */ 129 | 130 | /* Begin PBXNativeTarget section */ 131 | 97C146ED1CF9000F007C117D /* Runner */ = { 132 | isa = PBXNativeTarget; 133 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 134 | buildPhases = ( 135 | A8F8253E44C345B8137280F9 /* [CP] Check Pods Manifest.lock */, 136 | 9740EEB61CF901F6004384FC /* Run Script */, 137 | 97C146EA1CF9000F007C117D /* Sources */, 138 | 97C146EB1CF9000F007C117D /* Frameworks */, 139 | 97C146EC1CF9000F007C117D /* Resources */, 140 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 141 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 142 | A6EA551F8757EC57F8B7D2B3 /* [CP] Embed Pods Frameworks */, 143 | ); 144 | buildRules = ( 145 | ); 146 | dependencies = ( 147 | ); 148 | name = Runner; 149 | productName = Runner; 150 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 151 | productType = "com.apple.product-type.application"; 152 | }; 153 | /* End PBXNativeTarget section */ 154 | 155 | /* Begin PBXProject section */ 156 | 97C146E61CF9000F007C117D /* Project object */ = { 157 | isa = PBXProject; 158 | attributes = { 159 | LastUpgradeCheck = 1510; 160 | ORGANIZATIONNAME = ""; 161 | TargetAttributes = { 162 | 97C146ED1CF9000F007C117D = { 163 | CreatedOnToolsVersion = 7.3.1; 164 | LastSwiftMigration = 1100; 165 | }; 166 | }; 167 | }; 168 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 169 | compatibilityVersion = "Xcode 9.3"; 170 | developmentRegion = en; 171 | hasScannedForEncodings = 0; 172 | knownRegions = ( 173 | en, 174 | Base, 175 | ); 176 | mainGroup = 97C146E51CF9000F007C117D; 177 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 178 | projectDirPath = ""; 179 | projectRoot = ""; 180 | targets = ( 181 | 97C146ED1CF9000F007C117D /* Runner */, 182 | ); 183 | }; 184 | /* End PBXProject section */ 185 | 186 | /* Begin PBXResourcesBuildPhase section */ 187 | 97C146EC1CF9000F007C117D /* Resources */ = { 188 | isa = PBXResourcesBuildPhase; 189 | buildActionMask = 2147483647; 190 | files = ( 191 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 192 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 193 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 194 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | }; 198 | /* End PBXResourcesBuildPhase section */ 199 | 200 | /* Begin PBXShellScriptBuildPhase section */ 201 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 202 | isa = PBXShellScriptBuildPhase; 203 | alwaysOutOfDate = 1; 204 | buildActionMask = 2147483647; 205 | files = ( 206 | ); 207 | inputPaths = ( 208 | "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", 209 | ); 210 | name = "Thin Binary"; 211 | outputPaths = ( 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | shellPath = /bin/sh; 215 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 216 | }; 217 | 9740EEB61CF901F6004384FC /* Run Script */ = { 218 | isa = PBXShellScriptBuildPhase; 219 | alwaysOutOfDate = 1; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | ); 223 | inputPaths = ( 224 | ); 225 | name = "Run Script"; 226 | outputPaths = ( 227 | ); 228 | runOnlyForDeploymentPostprocessing = 0; 229 | shellPath = /bin/sh; 230 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 231 | }; 232 | A6EA551F8757EC57F8B7D2B3 /* [CP] Embed Pods Frameworks */ = { 233 | isa = PBXShellScriptBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | ); 237 | inputFileListPaths = ( 238 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", 239 | ); 240 | name = "[CP] Embed Pods Frameworks"; 241 | outputFileListPaths = ( 242 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | shellPath = /bin/sh; 246 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 247 | showEnvVarsInLog = 0; 248 | }; 249 | A8F8253E44C345B8137280F9 /* [CP] Check Pods Manifest.lock */ = { 250 | isa = PBXShellScriptBuildPhase; 251 | buildActionMask = 2147483647; 252 | files = ( 253 | ); 254 | inputFileListPaths = ( 255 | ); 256 | inputPaths = ( 257 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 258 | "${PODS_ROOT}/Manifest.lock", 259 | ); 260 | name = "[CP] Check Pods Manifest.lock"; 261 | outputFileListPaths = ( 262 | ); 263 | outputPaths = ( 264 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 265 | ); 266 | runOnlyForDeploymentPostprocessing = 0; 267 | shellPath = /bin/sh; 268 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 269 | showEnvVarsInLog = 0; 270 | }; 271 | /* End PBXShellScriptBuildPhase section */ 272 | 273 | /* Begin PBXSourcesBuildPhase section */ 274 | 97C146EA1CF9000F007C117D /* Sources */ = { 275 | isa = PBXSourcesBuildPhase; 276 | buildActionMask = 2147483647; 277 | files = ( 278 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 279 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | }; 283 | /* End PBXSourcesBuildPhase section */ 284 | 285 | /* Begin PBXVariantGroup section */ 286 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 287 | isa = PBXVariantGroup; 288 | children = ( 289 | 97C146FB1CF9000F007C117D /* Base */, 290 | ); 291 | name = Main.storyboard; 292 | sourceTree = ""; 293 | }; 294 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 295 | isa = PBXVariantGroup; 296 | children = ( 297 | 97C147001CF9000F007C117D /* Base */, 298 | ); 299 | name = LaunchScreen.storyboard; 300 | sourceTree = ""; 301 | }; 302 | /* End PBXVariantGroup section */ 303 | 304 | /* Begin XCBuildConfiguration section */ 305 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 306 | isa = XCBuildConfiguration; 307 | buildSettings = { 308 | ALWAYS_SEARCH_USER_PATHS = NO; 309 | CLANG_ANALYZER_NONNULL = YES; 310 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 311 | CLANG_CXX_LIBRARY = "libc++"; 312 | CLANG_ENABLE_MODULES = YES; 313 | CLANG_ENABLE_OBJC_ARC = YES; 314 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 315 | CLANG_WARN_BOOL_CONVERSION = YES; 316 | CLANG_WARN_COMMA = YES; 317 | CLANG_WARN_CONSTANT_CONVERSION = YES; 318 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 319 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 320 | CLANG_WARN_EMPTY_BODY = YES; 321 | CLANG_WARN_ENUM_CONVERSION = YES; 322 | CLANG_WARN_INFINITE_RECURSION = YES; 323 | CLANG_WARN_INT_CONVERSION = YES; 324 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 325 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 326 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 327 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 328 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 329 | CLANG_WARN_STRICT_PROTOTYPES = YES; 330 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 331 | CLANG_WARN_UNREACHABLE_CODE = YES; 332 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 333 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 334 | COPY_PHASE_STRIP = NO; 335 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 336 | ENABLE_NS_ASSERTIONS = NO; 337 | ENABLE_STRICT_OBJC_MSGSEND = YES; 338 | GCC_C_LANGUAGE_STANDARD = gnu99; 339 | GCC_NO_COMMON_BLOCKS = YES; 340 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 341 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 342 | GCC_WARN_UNDECLARED_SELECTOR = YES; 343 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 344 | GCC_WARN_UNUSED_FUNCTION = YES; 345 | GCC_WARN_UNUSED_VARIABLE = YES; 346 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 347 | MTL_ENABLE_DEBUG_INFO = NO; 348 | SDKROOT = iphoneos; 349 | SUPPORTED_PLATFORMS = iphoneos; 350 | TARGETED_DEVICE_FAMILY = "1,2"; 351 | VALIDATE_PRODUCT = YES; 352 | }; 353 | name = Profile; 354 | }; 355 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 356 | isa = XCBuildConfiguration; 357 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 358 | buildSettings = { 359 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 360 | CLANG_ENABLE_MODULES = YES; 361 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 362 | ENABLE_BITCODE = NO; 363 | FRAMEWORK_SEARCH_PATHS = ( 364 | "$(inherited)", 365 | "$(PROJECT_DIR)/Flutter", 366 | ); 367 | INFOPLIST_FILE = Runner/Info.plist; 368 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 369 | LIBRARY_SEARCH_PATHS = ( 370 | "$(inherited)", 371 | "$(PROJECT_DIR)/Flutter", 372 | ); 373 | PRODUCT_BUNDLE_IDENTIFIER = dev.noscope.flutterJokes; 374 | PRODUCT_NAME = "$(TARGET_NAME)"; 375 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 376 | SWIFT_VERSION = 5.0; 377 | VERSIONING_SYSTEM = "apple-generic"; 378 | }; 379 | name = Profile; 380 | }; 381 | 97C147031CF9000F007C117D /* Debug */ = { 382 | isa = XCBuildConfiguration; 383 | buildSettings = { 384 | ALWAYS_SEARCH_USER_PATHS = NO; 385 | CLANG_ANALYZER_NONNULL = YES; 386 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 387 | CLANG_CXX_LIBRARY = "libc++"; 388 | CLANG_ENABLE_MODULES = YES; 389 | CLANG_ENABLE_OBJC_ARC = YES; 390 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 391 | CLANG_WARN_BOOL_CONVERSION = YES; 392 | CLANG_WARN_COMMA = YES; 393 | CLANG_WARN_CONSTANT_CONVERSION = YES; 394 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 395 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 396 | CLANG_WARN_EMPTY_BODY = YES; 397 | CLANG_WARN_ENUM_CONVERSION = YES; 398 | CLANG_WARN_INFINITE_RECURSION = YES; 399 | CLANG_WARN_INT_CONVERSION = YES; 400 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 401 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 402 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 403 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 404 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 405 | CLANG_WARN_STRICT_PROTOTYPES = YES; 406 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 407 | CLANG_WARN_UNREACHABLE_CODE = YES; 408 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 409 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 410 | COPY_PHASE_STRIP = NO; 411 | DEBUG_INFORMATION_FORMAT = dwarf; 412 | ENABLE_STRICT_OBJC_MSGSEND = YES; 413 | ENABLE_TESTABILITY = YES; 414 | GCC_C_LANGUAGE_STANDARD = gnu99; 415 | GCC_DYNAMIC_NO_PIC = NO; 416 | GCC_NO_COMMON_BLOCKS = YES; 417 | GCC_OPTIMIZATION_LEVEL = 0; 418 | GCC_PREPROCESSOR_DEFINITIONS = ( 419 | "DEBUG=1", 420 | "$(inherited)", 421 | ); 422 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 423 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 424 | GCC_WARN_UNDECLARED_SELECTOR = YES; 425 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 426 | GCC_WARN_UNUSED_FUNCTION = YES; 427 | GCC_WARN_UNUSED_VARIABLE = YES; 428 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 429 | MTL_ENABLE_DEBUG_INFO = YES; 430 | ONLY_ACTIVE_ARCH = YES; 431 | SDKROOT = iphoneos; 432 | TARGETED_DEVICE_FAMILY = "1,2"; 433 | }; 434 | name = Debug; 435 | }; 436 | 97C147041CF9000F007C117D /* Release */ = { 437 | isa = XCBuildConfiguration; 438 | buildSettings = { 439 | ALWAYS_SEARCH_USER_PATHS = NO; 440 | CLANG_ANALYZER_NONNULL = YES; 441 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 442 | CLANG_CXX_LIBRARY = "libc++"; 443 | CLANG_ENABLE_MODULES = YES; 444 | CLANG_ENABLE_OBJC_ARC = YES; 445 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 446 | CLANG_WARN_BOOL_CONVERSION = YES; 447 | CLANG_WARN_COMMA = YES; 448 | CLANG_WARN_CONSTANT_CONVERSION = YES; 449 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 450 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 451 | CLANG_WARN_EMPTY_BODY = YES; 452 | CLANG_WARN_ENUM_CONVERSION = YES; 453 | CLANG_WARN_INFINITE_RECURSION = YES; 454 | CLANG_WARN_INT_CONVERSION = YES; 455 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 456 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 457 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 458 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 459 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 460 | CLANG_WARN_STRICT_PROTOTYPES = YES; 461 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 462 | CLANG_WARN_UNREACHABLE_CODE = YES; 463 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 464 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 465 | COPY_PHASE_STRIP = NO; 466 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 467 | ENABLE_NS_ASSERTIONS = NO; 468 | ENABLE_STRICT_OBJC_MSGSEND = YES; 469 | GCC_C_LANGUAGE_STANDARD = gnu99; 470 | GCC_NO_COMMON_BLOCKS = YES; 471 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 472 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 473 | GCC_WARN_UNDECLARED_SELECTOR = YES; 474 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 475 | GCC_WARN_UNUSED_FUNCTION = YES; 476 | GCC_WARN_UNUSED_VARIABLE = YES; 477 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 478 | MTL_ENABLE_DEBUG_INFO = NO; 479 | SDKROOT = iphoneos; 480 | SUPPORTED_PLATFORMS = iphoneos; 481 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 482 | TARGETED_DEVICE_FAMILY = "1,2"; 483 | VALIDATE_PRODUCT = YES; 484 | }; 485 | name = Release; 486 | }; 487 | 97C147061CF9000F007C117D /* Debug */ = { 488 | isa = XCBuildConfiguration; 489 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 490 | buildSettings = { 491 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 492 | CLANG_ENABLE_MODULES = YES; 493 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 494 | ENABLE_BITCODE = NO; 495 | FRAMEWORK_SEARCH_PATHS = ( 496 | "$(inherited)", 497 | "$(PROJECT_DIR)/Flutter", 498 | ); 499 | INFOPLIST_FILE = Runner/Info.plist; 500 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 501 | LIBRARY_SEARCH_PATHS = ( 502 | "$(inherited)", 503 | "$(PROJECT_DIR)/Flutter", 504 | ); 505 | PRODUCT_BUNDLE_IDENTIFIER = dev.noscope.flutterJokes; 506 | PRODUCT_NAME = "$(TARGET_NAME)"; 507 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 508 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 509 | SWIFT_VERSION = 5.0; 510 | VERSIONING_SYSTEM = "apple-generic"; 511 | }; 512 | name = Debug; 513 | }; 514 | 97C147071CF9000F007C117D /* Release */ = { 515 | isa = XCBuildConfiguration; 516 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 517 | buildSettings = { 518 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 519 | CLANG_ENABLE_MODULES = YES; 520 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 521 | ENABLE_BITCODE = NO; 522 | FRAMEWORK_SEARCH_PATHS = ( 523 | "$(inherited)", 524 | "$(PROJECT_DIR)/Flutter", 525 | ); 526 | INFOPLIST_FILE = Runner/Info.plist; 527 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 528 | LIBRARY_SEARCH_PATHS = ( 529 | "$(inherited)", 530 | "$(PROJECT_DIR)/Flutter", 531 | ); 532 | PRODUCT_BUNDLE_IDENTIFIER = dev.noscope.flutterJokes; 533 | PRODUCT_NAME = "$(TARGET_NAME)"; 534 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 535 | SWIFT_VERSION = 5.0; 536 | VERSIONING_SYSTEM = "apple-generic"; 537 | }; 538 | name = Release; 539 | }; 540 | /* End XCBuildConfiguration section */ 541 | 542 | /* Begin XCConfigurationList section */ 543 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 544 | isa = XCConfigurationList; 545 | buildConfigurations = ( 546 | 97C147031CF9000F007C117D /* Debug */, 547 | 97C147041CF9000F007C117D /* Release */, 548 | 249021D3217E4FDB00AE95B9 /* Profile */, 549 | ); 550 | defaultConfigurationIsVisible = 0; 551 | defaultConfigurationName = Release; 552 | }; 553 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 554 | isa = XCConfigurationList; 555 | buildConfigurations = ( 556 | 97C147061CF9000F007C117D /* Debug */, 557 | 97C147071CF9000F007C117D /* Release */, 558 | 249021D4217E4FDB00AE95B9 /* Profile */, 559 | ); 560 | defaultConfigurationIsVisible = 0; 561 | defaultConfigurationName = Release; 562 | }; 563 | /* End XCConfigurationList section */ 564 | }; 565 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 566 | } 567 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | _fe_analyzer_shared: 5 | dependency: transitive 6 | description: 7 | name: _fe_analyzer_shared 8 | sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab" 9 | url: "https://pub.dev" 10 | source: hosted 11 | version: "76.0.0" 12 | _macros: 13 | dependency: transitive 14 | description: dart 15 | source: sdk 16 | version: "0.3.3" 17 | analyzer: 18 | dependency: transitive 19 | description: 20 | name: analyzer 21 | sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e" 22 | url: "https://pub.dev" 23 | source: hosted 24 | version: "6.11.0" 25 | analyzer_plugin: 26 | dependency: transitive 27 | description: 28 | name: analyzer_plugin 29 | sha256: "9661b30b13a685efaee9f02e5d01ed9f2b423bd889d28a304d02d704aee69161" 30 | url: "https://pub.dev" 31 | source: hosted 32 | version: "0.11.3" 33 | args: 34 | dependency: transitive 35 | description: 36 | name: args 37 | sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 38 | url: "https://pub.dev" 39 | source: hosted 40 | version: "2.6.0" 41 | async: 42 | dependency: transitive 43 | description: 44 | name: async 45 | sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" 46 | url: "https://pub.dev" 47 | source: hosted 48 | version: "2.11.0" 49 | boolean_selector: 50 | dependency: transitive 51 | description: 52 | name: boolean_selector 53 | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" 54 | url: "https://pub.dev" 55 | source: hosted 56 | version: "2.1.1" 57 | build: 58 | dependency: transitive 59 | description: 60 | name: build 61 | sha256: cef23f1eda9b57566c81e2133d196f8e3df48f244b317368d65c5943d91148f0 62 | url: "https://pub.dev" 63 | source: hosted 64 | version: "2.4.2" 65 | build_config: 66 | dependency: transitive 67 | description: 68 | name: build_config 69 | sha256: "4ae2de3e1e67ea270081eaee972e1bd8f027d459f249e0f1186730784c2e7e33" 70 | url: "https://pub.dev" 71 | source: hosted 72 | version: "1.1.2" 73 | build_daemon: 74 | dependency: transitive 75 | description: 76 | name: build_daemon 77 | sha256: "8e928697a82be082206edb0b9c99c5a4ad6bc31c9e9b8b2f291ae65cd4a25daa" 78 | url: "https://pub.dev" 79 | source: hosted 80 | version: "4.0.4" 81 | build_resolvers: 82 | dependency: transitive 83 | description: 84 | name: build_resolvers 85 | sha256: b9e4fda21d846e192628e7a4f6deda6888c36b5b69ba02ff291a01fd529140f0 86 | url: "https://pub.dev" 87 | source: hosted 88 | version: "2.4.4" 89 | build_runner: 90 | dependency: "direct dev" 91 | description: 92 | name: build_runner 93 | sha256: "058fe9dce1de7d69c4b84fada934df3e0153dd000758c4d65964d0166779aa99" 94 | url: "https://pub.dev" 95 | source: hosted 96 | version: "2.4.15" 97 | build_runner_core: 98 | dependency: transitive 99 | description: 100 | name: build_runner_core 101 | sha256: "22e3aa1c80e0ada3722fe5b63fd43d9c8990759d0a2cf489c8c5d7b2bdebc021" 102 | url: "https://pub.dev" 103 | source: hosted 104 | version: "8.0.0" 105 | built_collection: 106 | dependency: transitive 107 | description: 108 | name: built_collection 109 | sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" 110 | url: "https://pub.dev" 111 | source: hosted 112 | version: "5.1.1" 113 | built_value: 114 | dependency: transitive 115 | description: 116 | name: built_value 117 | sha256: "28a712df2576b63c6c005c465989a348604960c0958d28be5303ba9baa841ac2" 118 | url: "https://pub.dev" 119 | source: hosted 120 | version: "8.9.3" 121 | characters: 122 | dependency: transitive 123 | description: 124 | name: characters 125 | sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" 126 | url: "https://pub.dev" 127 | source: hosted 128 | version: "1.3.0" 129 | checked_yaml: 130 | dependency: transitive 131 | description: 132 | name: checked_yaml 133 | sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff 134 | url: "https://pub.dev" 135 | source: hosted 136 | version: "2.0.3" 137 | ci: 138 | dependency: transitive 139 | description: 140 | name: ci 141 | sha256: "145d095ce05cddac4d797a158bc4cf3b6016d1fe63d8c3d2fbd7212590adca13" 142 | url: "https://pub.dev" 143 | source: hosted 144 | version: "0.1.0" 145 | cli_util: 146 | dependency: transitive 147 | description: 148 | name: cli_util 149 | sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c 150 | url: "https://pub.dev" 151 | source: hosted 152 | version: "0.4.2" 153 | clock: 154 | dependency: transitive 155 | description: 156 | name: clock 157 | sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf 158 | url: "https://pub.dev" 159 | source: hosted 160 | version: "1.1.1" 161 | code_builder: 162 | dependency: transitive 163 | description: 164 | name: code_builder 165 | sha256: "0ec10bf4a89e4c613960bf1e8b42c64127021740fb21640c29c909826a5eea3e" 166 | url: "https://pub.dev" 167 | source: hosted 168 | version: "4.10.1" 169 | collection: 170 | dependency: transitive 171 | description: 172 | name: collection 173 | sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf 174 | url: "https://pub.dev" 175 | source: hosted 176 | version: "1.19.0" 177 | convert: 178 | dependency: transitive 179 | description: 180 | name: convert 181 | sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 182 | url: "https://pub.dev" 183 | source: hosted 184 | version: "3.1.2" 185 | crypto: 186 | dependency: transitive 187 | description: 188 | name: crypto 189 | sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" 190 | url: "https://pub.dev" 191 | source: hosted 192 | version: "3.0.6" 193 | cupertino_icons: 194 | dependency: "direct main" 195 | description: 196 | name: cupertino_icons 197 | sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 198 | url: "https://pub.dev" 199 | source: hosted 200 | version: "1.0.8" 201 | custom_lint: 202 | dependency: "direct dev" 203 | description: 204 | name: custom_lint 205 | sha256: "22bd87a362f433ba6aae127a7bac2838645270737f3721b180916d7c5946cb5d" 206 | url: "https://pub.dev" 207 | source: hosted 208 | version: "0.5.11" 209 | custom_lint_builder: 210 | dependency: transitive 211 | description: 212 | name: custom_lint_builder 213 | sha256: "0d48e002438950f9582e574ef806b2bea5719d8d14c0f9f754fbad729bcf3b19" 214 | url: "https://pub.dev" 215 | source: hosted 216 | version: "0.5.14" 217 | custom_lint_core: 218 | dependency: transitive 219 | description: 220 | name: custom_lint_core 221 | sha256: "2952837953022de610dacb464f045594854ced6506ac7f76af28d4a6490e189b" 222 | url: "https://pub.dev" 223 | source: hosted 224 | version: "0.5.14" 225 | dart_style: 226 | dependency: transitive 227 | description: 228 | name: dart_style 229 | sha256: "7306ab8a2359a48d22310ad823521d723acfed60ee1f7e37388e8986853b6820" 230 | url: "https://pub.dev" 231 | source: hosted 232 | version: "2.3.8" 233 | dio: 234 | dependency: "direct main" 235 | description: 236 | name: dio 237 | sha256: "253a18bbd4851fecba42f7343a1df3a9a4c1d31a2c1b37e221086b4fa8c8dbc9" 238 | url: "https://pub.dev" 239 | source: hosted 240 | version: "5.8.0+1" 241 | dio_web_adapter: 242 | dependency: transitive 243 | description: 244 | name: dio_web_adapter 245 | sha256: e485c7a39ff2b384fa1d7e09b4e25f755804de8384358049124830b04fc4f93a 246 | url: "https://pub.dev" 247 | source: hosted 248 | version: "2.1.0" 249 | equatable: 250 | dependency: transitive 251 | description: 252 | name: equatable 253 | sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" 254 | url: "https://pub.dev" 255 | source: hosted 256 | version: "2.0.7" 257 | fake_async: 258 | dependency: transitive 259 | description: 260 | name: fake_async 261 | sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" 262 | url: "https://pub.dev" 263 | source: hosted 264 | version: "1.3.1" 265 | ffi: 266 | dependency: transitive 267 | description: 268 | name: ffi 269 | sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" 270 | url: "https://pub.dev" 271 | source: hosted 272 | version: "2.1.3" 273 | file: 274 | dependency: transitive 275 | description: 276 | name: file 277 | sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 278 | url: "https://pub.dev" 279 | source: hosted 280 | version: "7.0.1" 281 | fixnum: 282 | dependency: transitive 283 | description: 284 | name: fixnum 285 | sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be 286 | url: "https://pub.dev" 287 | source: hosted 288 | version: "1.1.1" 289 | flutter: 290 | dependency: "direct main" 291 | description: flutter 292 | source: sdk 293 | version: "0.0.0" 294 | flutter_riverpod: 295 | dependency: "direct main" 296 | description: 297 | name: flutter_riverpod 298 | sha256: "2fd9f58a39b7269cb3495b09245000fcd267243518157a7c2f832189fb64f013" 299 | url: "https://pub.dev" 300 | source: hosted 301 | version: "3.0.0-dev.3" 302 | flutter_test: 303 | dependency: "direct dev" 304 | description: flutter 305 | source: sdk 306 | version: "0.0.0" 307 | flutter_web_plugins: 308 | dependency: transitive 309 | description: flutter 310 | source: sdk 311 | version: "0.0.0" 312 | freezed: 313 | dependency: "direct dev" 314 | description: 315 | name: freezed 316 | sha256: "62b248b2dfb06ded10c84b713215b25aea020a5b08c32e801a974361557ebc3f" 317 | url: "https://pub.dev" 318 | source: hosted 319 | version: "3.0.0-0.0.dev" 320 | freezed_annotation: 321 | dependency: "direct main" 322 | description: 323 | name: freezed_annotation 324 | sha256: c2e2d632dd9b8a2b7751117abcfc2b4888ecfe181bd9fca7170d9ef02e595fe2 325 | url: "https://pub.dev" 326 | source: hosted 327 | version: "2.4.4" 328 | frontend_server_client: 329 | dependency: transitive 330 | description: 331 | name: frontend_server_client 332 | sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 333 | url: "https://pub.dev" 334 | source: hosted 335 | version: "4.0.0" 336 | gettext_parser: 337 | dependency: transitive 338 | description: 339 | name: gettext_parser 340 | sha256: "9565c9dd1033ec125e1fbc7ccba6c0d2d753dd356122ba1a17e6aa7dc868f34a" 341 | url: "https://pub.dev" 342 | source: hosted 343 | version: "0.2.0" 344 | glob: 345 | dependency: transitive 346 | description: 347 | name: glob 348 | sha256: c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de 349 | url: "https://pub.dev" 350 | source: hosted 351 | version: "2.1.3" 352 | graphs: 353 | dependency: transitive 354 | description: 355 | name: graphs 356 | sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" 357 | url: "https://pub.dev" 358 | source: hosted 359 | version: "2.3.2" 360 | hotreloader: 361 | dependency: transitive 362 | description: 363 | name: hotreloader 364 | sha256: bc167a1163807b03bada490bfe2df25b0d744df359227880220a5cbd04e5734b 365 | url: "https://pub.dev" 366 | source: hosted 367 | version: "4.3.0" 368 | http: 369 | dependency: "direct main" 370 | description: 371 | name: http 372 | sha256: fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f 373 | url: "https://pub.dev" 374 | source: hosted 375 | version: "1.3.0" 376 | http_multi_server: 377 | dependency: transitive 378 | description: 379 | name: http_multi_server 380 | sha256: aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8 381 | url: "https://pub.dev" 382 | source: hosted 383 | version: "3.2.2" 384 | http_parser: 385 | dependency: transitive 386 | description: 387 | name: http_parser 388 | sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" 389 | url: "https://pub.dev" 390 | source: hosted 391 | version: "4.1.2" 392 | i18n_extension: 393 | dependency: "direct main" 394 | description: 395 | name: i18n_extension 396 | sha256: "3ed32c4681e50597408c3180f7c2ba7e343a62b35a4a024bc6d2a764d375b008" 397 | url: "https://pub.dev" 398 | source: hosted 399 | version: "15.0.4" 400 | i18n_extension_core: 401 | dependency: transitive 402 | description: 403 | name: i18n_extension_core 404 | sha256: "7923af27a4f643a21d5aea5203bed4859d42c9d38c08939e22d6d10f1fa4afb5" 405 | url: "https://pub.dev" 406 | source: hosted 407 | version: "5.0.1" 408 | intl: 409 | dependency: transitive 410 | description: 411 | name: intl 412 | sha256: "00f33b908655e606b86d2ade4710a231b802eec6f11e87e4ea3783fd72077a50" 413 | url: "https://pub.dev" 414 | source: hosted 415 | version: "0.20.1" 416 | io: 417 | dependency: transitive 418 | description: 419 | name: io 420 | sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b 421 | url: "https://pub.dev" 422 | source: hosted 423 | version: "1.0.5" 424 | jokes: 425 | dependency: "direct main" 426 | description: 427 | path: "packages/jokes" 428 | relative: true 429 | source: path 430 | version: "0.0.1+1" 431 | js: 432 | dependency: transitive 433 | description: 434 | name: js 435 | sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf 436 | url: "https://pub.dev" 437 | source: hosted 438 | version: "0.7.1" 439 | json_annotation: 440 | dependency: transitive 441 | description: 442 | name: json_annotation 443 | sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" 444 | url: "https://pub.dev" 445 | source: hosted 446 | version: "4.9.0" 447 | leak_tracker: 448 | dependency: transitive 449 | description: 450 | name: leak_tracker 451 | sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" 452 | url: "https://pub.dev" 453 | source: hosted 454 | version: "10.0.7" 455 | leak_tracker_flutter_testing: 456 | dependency: transitive 457 | description: 458 | name: leak_tracker_flutter_testing 459 | sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" 460 | url: "https://pub.dev" 461 | source: hosted 462 | version: "3.0.8" 463 | leak_tracker_testing: 464 | dependency: transitive 465 | description: 466 | name: leak_tracker_testing 467 | sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" 468 | url: "https://pub.dev" 469 | source: hosted 470 | version: "3.0.1" 471 | logging: 472 | dependency: transitive 473 | description: 474 | name: logging 475 | sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 476 | url: "https://pub.dev" 477 | source: hosted 478 | version: "1.3.0" 479 | macros: 480 | dependency: transitive 481 | description: 482 | name: macros 483 | sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656" 484 | url: "https://pub.dev" 485 | source: hosted 486 | version: "0.1.3-main.0" 487 | matcher: 488 | dependency: transitive 489 | description: 490 | name: matcher 491 | sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb 492 | url: "https://pub.dev" 493 | source: hosted 494 | version: "0.12.16+1" 495 | material_color_utilities: 496 | dependency: transitive 497 | description: 498 | name: material_color_utilities 499 | sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec 500 | url: "https://pub.dev" 501 | source: hosted 502 | version: "0.11.1" 503 | meta: 504 | dependency: transitive 505 | description: 506 | name: meta 507 | sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 508 | url: "https://pub.dev" 509 | source: hosted 510 | version: "1.15.0" 511 | mime: 512 | dependency: transitive 513 | description: 514 | name: mime 515 | sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" 516 | url: "https://pub.dev" 517 | source: hosted 518 | version: "2.0.0" 519 | mocktail: 520 | dependency: "direct main" 521 | description: 522 | name: mocktail 523 | sha256: "890df3f9688106f25755f26b1c60589a92b3ab91a22b8b224947ad041bf172d8" 524 | url: "https://pub.dev" 525 | source: hosted 526 | version: "1.0.4" 527 | package_config: 528 | dependency: transitive 529 | description: 530 | name: package_config 531 | sha256: "92d4488434b520a62570293fbd33bb556c7d49230791c1b4bbd973baf6d2dc67" 532 | url: "https://pub.dev" 533 | source: hosted 534 | version: "2.1.1" 535 | package_info: 536 | dependency: "direct main" 537 | description: 538 | name: package_info 539 | sha256: "6c07d9d82c69e16afeeeeb6866fe43985a20b3b50df243091bfc4a4ad2b03b75" 540 | url: "https://pub.dev" 541 | source: hosted 542 | version: "2.0.2" 543 | path: 544 | dependency: transitive 545 | description: 546 | name: path 547 | sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" 548 | url: "https://pub.dev" 549 | source: hosted 550 | version: "1.9.0" 551 | path_provider_linux: 552 | dependency: transitive 553 | description: 554 | name: path_provider_linux 555 | sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 556 | url: "https://pub.dev" 557 | source: hosted 558 | version: "2.2.1" 559 | path_provider_platform_interface: 560 | dependency: transitive 561 | description: 562 | name: path_provider_platform_interface 563 | sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" 564 | url: "https://pub.dev" 565 | source: hosted 566 | version: "2.1.2" 567 | path_provider_windows: 568 | dependency: transitive 569 | description: 570 | name: path_provider_windows 571 | sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 572 | url: "https://pub.dev" 573 | source: hosted 574 | version: "2.3.0" 575 | platform: 576 | dependency: transitive 577 | description: 578 | name: platform 579 | sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" 580 | url: "https://pub.dev" 581 | source: hosted 582 | version: "3.1.6" 583 | plugin_platform_interface: 584 | dependency: transitive 585 | description: 586 | name: plugin_platform_interface 587 | sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" 588 | url: "https://pub.dev" 589 | source: hosted 590 | version: "2.1.8" 591 | pool: 592 | dependency: transitive 593 | description: 594 | name: pool 595 | sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" 596 | url: "https://pub.dev" 597 | source: hosted 598 | version: "1.5.1" 599 | pub_semver: 600 | dependency: transitive 601 | description: 602 | name: pub_semver 603 | sha256: "7b3cfbf654f3edd0c6298ecd5be782ce997ddf0e00531b9464b55245185bbbbd" 604 | url: "https://pub.dev" 605 | source: hosted 606 | version: "2.1.5" 607 | pubspec_parse: 608 | dependency: transitive 609 | description: 610 | name: pubspec_parse 611 | sha256: "0560ba233314abbed0a48a2956f7f022cce7c3e1e73df540277da7544cad4082" 612 | url: "https://pub.dev" 613 | source: hosted 614 | version: "1.5.0" 615 | riverpod: 616 | dependency: transitive 617 | description: 618 | name: riverpod 619 | sha256: "0f41a697a17609a7ac18e5fe0d5bdbe4c1ff7e7da6523baf46a203df0c44eaf2" 620 | url: "https://pub.dev" 621 | source: hosted 622 | version: "3.0.0-dev.3" 623 | riverpod_analyzer_utils: 624 | dependency: transitive 625 | description: 626 | name: riverpod_analyzer_utils 627 | sha256: b6e782db97522de3ad797210bd3babbdb0a67da899aaa6ffbb6572108bdbf48d 628 | url: "https://pub.dev" 629 | source: hosted 630 | version: "1.0.0-dev.1" 631 | riverpod_annotation: 632 | dependency: "direct main" 633 | description: 634 | name: riverpod_annotation 635 | sha256: "79452c7ba2e8f48c7309c73be5aaa101eec5fe7948dfd26659b883fb276858b4" 636 | url: "https://pub.dev" 637 | source: hosted 638 | version: "3.0.0-dev.3" 639 | riverpod_lint: 640 | dependency: "direct dev" 641 | description: 642 | name: riverpod_lint 643 | sha256: "8ddb6be92f0de4704d6109405aebc7436b15b847abf0d9f647039afe48dc0050" 644 | url: "https://pub.dev" 645 | source: hosted 646 | version: "3.0.0-dev.4" 647 | rxdart: 648 | dependency: transitive 649 | description: 650 | name: rxdart 651 | sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" 652 | url: "https://pub.dev" 653 | source: hosted 654 | version: "0.27.7" 655 | shared_preferences: 656 | dependency: transitive 657 | description: 658 | name: shared_preferences 659 | sha256: "846849e3e9b68f3ef4b60c60cf4b3e02e9321bc7f4d8c4692cf87ffa82fc8a3a" 660 | url: "https://pub.dev" 661 | source: hosted 662 | version: "2.5.2" 663 | shared_preferences_android: 664 | dependency: transitive 665 | description: 666 | name: shared_preferences_android 667 | sha256: ea86be7b7114f9e94fddfbb52649e59a03d6627ccd2387ebddcd6624719e9f16 668 | url: "https://pub.dev" 669 | source: hosted 670 | version: "2.4.5" 671 | shared_preferences_foundation: 672 | dependency: transitive 673 | description: 674 | name: shared_preferences_foundation 675 | sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03" 676 | url: "https://pub.dev" 677 | source: hosted 678 | version: "2.5.4" 679 | shared_preferences_linux: 680 | dependency: transitive 681 | description: 682 | name: shared_preferences_linux 683 | sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f" 684 | url: "https://pub.dev" 685 | source: hosted 686 | version: "2.4.1" 687 | shared_preferences_platform_interface: 688 | dependency: transitive 689 | description: 690 | name: shared_preferences_platform_interface 691 | sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80" 692 | url: "https://pub.dev" 693 | source: hosted 694 | version: "2.4.1" 695 | shared_preferences_web: 696 | dependency: transitive 697 | description: 698 | name: shared_preferences_web 699 | sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019 700 | url: "https://pub.dev" 701 | source: hosted 702 | version: "2.4.3" 703 | shared_preferences_windows: 704 | dependency: transitive 705 | description: 706 | name: shared_preferences_windows 707 | sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1" 708 | url: "https://pub.dev" 709 | source: hosted 710 | version: "2.4.1" 711 | shelf: 712 | dependency: transitive 713 | description: 714 | name: shelf 715 | sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 716 | url: "https://pub.dev" 717 | source: hosted 718 | version: "1.4.2" 719 | shelf_web_socket: 720 | dependency: transitive 721 | description: 722 | name: shelf_web_socket 723 | sha256: "3632775c8e90d6c9712f883e633716432a27758216dfb61bd86a8321c0580925" 724 | url: "https://pub.dev" 725 | source: hosted 726 | version: "3.0.0" 727 | sky_engine: 728 | dependency: transitive 729 | description: flutter 730 | source: sdk 731 | version: "0.0.0" 732 | source_span: 733 | dependency: transitive 734 | description: 735 | name: source_span 736 | sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" 737 | url: "https://pub.dev" 738 | source: hosted 739 | version: "1.10.0" 740 | sprintf: 741 | dependency: transitive 742 | description: 743 | name: sprintf 744 | sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" 745 | url: "https://pub.dev" 746 | source: hosted 747 | version: "7.0.0" 748 | stack_trace: 749 | dependency: transitive 750 | description: 751 | name: stack_trace 752 | sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" 753 | url: "https://pub.dev" 754 | source: hosted 755 | version: "1.12.0" 756 | state_notifier: 757 | dependency: transitive 758 | description: 759 | name: state_notifier 760 | sha256: b8677376aa54f2d7c58280d5a007f9e8774f1968d1fb1c096adcb4792fba29bb 761 | url: "https://pub.dev" 762 | source: hosted 763 | version: "1.0.0" 764 | stream_channel: 765 | dependency: transitive 766 | description: 767 | name: stream_channel 768 | sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 769 | url: "https://pub.dev" 770 | source: hosted 771 | version: "2.1.2" 772 | stream_transform: 773 | dependency: transitive 774 | description: 775 | name: stream_transform 776 | sha256: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 777 | url: "https://pub.dev" 778 | source: hosted 779 | version: "2.1.1" 780 | string_scanner: 781 | dependency: transitive 782 | description: 783 | name: string_scanner 784 | sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" 785 | url: "https://pub.dev" 786 | source: hosted 787 | version: "1.3.0" 788 | term_glyph: 789 | dependency: transitive 790 | description: 791 | name: term_glyph 792 | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 793 | url: "https://pub.dev" 794 | source: hosted 795 | version: "1.2.1" 796 | test_api: 797 | dependency: transitive 798 | description: 799 | name: test_api 800 | sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" 801 | url: "https://pub.dev" 802 | source: hosted 803 | version: "0.7.3" 804 | timing: 805 | dependency: transitive 806 | description: 807 | name: timing 808 | sha256: "62ee18aca144e4a9f29d212f5a4c6a053be252b895ab14b5821996cff4ed90fe" 809 | url: "https://pub.dev" 810 | source: hosted 811 | version: "1.0.2" 812 | typed_data: 813 | dependency: transitive 814 | description: 815 | name: typed_data 816 | sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 817 | url: "https://pub.dev" 818 | source: hosted 819 | version: "1.4.0" 820 | uuid: 821 | dependency: transitive 822 | description: 823 | name: uuid 824 | sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff 825 | url: "https://pub.dev" 826 | source: hosted 827 | version: "4.5.1" 828 | vector_math: 829 | dependency: transitive 830 | description: 831 | name: vector_math 832 | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" 833 | url: "https://pub.dev" 834 | source: hosted 835 | version: "2.1.4" 836 | vm_service: 837 | dependency: transitive 838 | description: 839 | name: vm_service 840 | sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b 841 | url: "https://pub.dev" 842 | source: hosted 843 | version: "14.3.0" 844 | watcher: 845 | dependency: transitive 846 | description: 847 | name: watcher 848 | sha256: "69da27e49efa56a15f8afe8f4438c4ec02eff0a117df1b22ea4aad194fe1c104" 849 | url: "https://pub.dev" 850 | source: hosted 851 | version: "1.1.1" 852 | web: 853 | dependency: transitive 854 | description: 855 | name: web 856 | sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb 857 | url: "https://pub.dev" 858 | source: hosted 859 | version: "1.1.0" 860 | web_socket: 861 | dependency: transitive 862 | description: 863 | name: web_socket 864 | sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" 865 | url: "https://pub.dev" 866 | source: hosted 867 | version: "0.1.6" 868 | web_socket_channel: 869 | dependency: transitive 870 | description: 871 | name: web_socket_channel 872 | sha256: "0b8e2457400d8a859b7b2030786835a28a8e80836ef64402abef392ff4f1d0e5" 873 | url: "https://pub.dev" 874 | source: hosted 875 | version: "3.0.2" 876 | xdg_directories: 877 | dependency: transitive 878 | description: 879 | name: xdg_directories 880 | sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" 881 | url: "https://pub.dev" 882 | source: hosted 883 | version: "1.1.0" 884 | yaml: 885 | dependency: transitive 886 | description: 887 | name: yaml 888 | sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce 889 | url: "https://pub.dev" 890 | source: hosted 891 | version: "3.1.3" 892 | sdks: 893 | dart: ">=3.6.0 <4.0.0" 894 | flutter: ">=3.27.1" 895 | --------------------------------------------------------------------------------