get queryParams => {};
5 | }
6 |
7 | abstract class GetPokemonRequest extends PokemonRequest {
8 | String get resource;
9 | }
10 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/macos/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/packages/clean_framework/lib/src/open_feature/src/exceptions/src/parse_exception.dart:
--------------------------------------------------------------------------------
1 | // coverage:ignore-file
2 |
3 | import 'package:clean_framework/src/open_feature/src/exceptions/open_feature_exception.dart';
4 |
5 | class ParseException extends OpenFeatureException {
6 | ParseException(super.message) : super(code: ErrorCode.flagNotFound);
7 | }
8 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/macos/Runner/Release.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/macos/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/lib/src/core/clean_framework_provider.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_riverpod/flutter_riverpod.dart';
2 |
3 | abstract class CleanFrameworkProvider> {
4 | CleanFrameworkProvider({required P provider}) : _provider = provider;
5 |
6 | final P _provider;
7 |
8 | P call() => _provider;
9 | }
10 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/lib/src/core/use_case/helpers/domain_dto.dart:
--------------------------------------------------------------------------------
1 | import 'package:clean_framework/clean_framework.dart';
2 | import 'package:meta/meta.dart';
3 |
4 | /// Base class for Data Transfer Objects (DTOs) that move data into or out of the domain layer/use case.
5 | @immutable
6 | abstract class DomainDTO extends Equatable {
7 | const DomainDTO();
8 | }
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_firestore/lib/clean_framework_firestore.dart:
--------------------------------------------------------------------------------
1 | export 'src/firebase_client.dart';
2 | export 'src/firebase_client_fake.dart';
3 | export 'src/firebase_external_interface.dart';
4 | export 'src/firebase_gateway.dart';
5 | export 'src/firebase_requests.dart';
6 | export 'src/firebase_responses.dart';
7 | export 'src/firebase_watcher_gateway.dart';
8 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/lib/src/open_feature/src/exceptions/src/flag_not_found_exception.dart:
--------------------------------------------------------------------------------
1 | // coverage:ignore-file
2 |
3 | import 'package:clean_framework/src/open_feature/src/exceptions/open_feature_exception.dart';
4 |
5 | class FlagNotFoundException extends OpenFeatureException {
6 | FlagNotFoundException(super.message) : super(code: ErrorCode.flagNotFound);
7 | }
8 |
--------------------------------------------------------------------------------
/packages/clean_framework/lib/src/open_feature/src/exceptions/src/type_mismatch_exception.dart:
--------------------------------------------------------------------------------
1 | // coverage:ignore-file
2 |
3 | import 'package:clean_framework/src/open_feature/src/exceptions/open_feature_exception.dart';
4 |
5 | class TypeMismatchException extends OpenFeatureException {
6 | TypeMismatchException(super.message) : super(code: ErrorCode.typeMismatch);
7 | }
8 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/lib/src/open_feature/src/flag_evaluation/flag_evaluation_options.dart:
--------------------------------------------------------------------------------
1 | import 'package:clean_framework/src/open_feature/src/hook/hook.dart';
2 |
3 | class FlagEvaluationOptions {
4 | const FlagEvaluationOptions({
5 | this.hooks = const [],
6 | this.hookHints,
7 | });
8 |
9 | final List hooks;
10 | final HookHints? hookHints;
11 | }
12 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/.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: 2ad6cd72c040113b47ee9055e722606a490ef0da
8 | channel: stable
9 |
10 | project_type: package
11 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/macos/Runner/Release.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.network.client
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/packages/clean_framework_router/README.md:
--------------------------------------------------------------------------------
1 | # Clean Framework Router
2 |
3 | [](https://codecov.io/gh/AcmeSoftwareLLC/clean_framework)
4 |
5 | Flutter implementation of Clean Architecture, inspired on the guidelines created by Uncle Bob.
6 |
7 | Go to [the documentation](https://docs.page/AcmeSoftwareLLC/clean_framework).
--------------------------------------------------------------------------------
/packages/clean_framework_firestore/README.md:
--------------------------------------------------------------------------------
1 | # Clean Framework Firestore
2 |
3 | [](https://codecov.io/gh/AcmeSoftwareLLC/clean_framework)
4 |
5 | Flutter implementation of Clean Architecture, inspired on the guidelines created by Uncle Bob.
6 |
7 | Go to [the documentation](https://docs.page/AcmeSoftwareLLC/clean_framework).
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/README.md:
--------------------------------------------------------------------------------
1 | # Clean Framework GraphQL
2 |
3 | [](https://codecov.io/gh/AcmeSoftwareLLC/clean_framework)
4 |
5 | Flutter implementation of Clean Architecture, inspired on the guidelines created by Uncle Bob.
6 |
7 | Go to [the documentation](https://docs.page/AcmeSoftwareLLC/clean_framework).
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/lib/providers/gateway_providers.dart:
--------------------------------------------------------------------------------
1 | import 'package:clean_framework/clean_framework.dart';
2 | import 'package:clean_framework_http_example/features/home/adapter/pokemon_gateway.dart';
3 | import 'package:clean_framework_http_example/providers.dart';
4 |
5 | final pokemonGatewayProvider = GatewayProvider(
6 | PokemonGateway.new,
7 | useCases: [homeUseCaseProvider],
8 | );
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/windows/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral/
2 |
3 | # Visual Studio user-specific files.
4 | *.suo
5 | *.user
6 | *.userosscache
7 | *.sln.docstates
8 |
9 | # Visual Studio build-related files.
10 | x64/
11 | x86/
12 |
13 | # Visual Studio cache files
14 | # files ending in .cache can be ignored
15 | *.[Cc]ache
16 | # but keep track of directories ending in .cache
17 | !*.[Cc]ache/
18 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/macos/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import FlutterMacOS
2 | import Cocoa
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/lib/features/home/domain/home_domain_inputs.dart:
--------------------------------------------------------------------------------
1 | import 'package:clean_framework/clean_framework.dart';
2 |
3 | import 'package:clean_framework_http_example/features/home/adapter/pokemon_model.dart';
4 |
5 | class PokemonSuccessInput extends SuccessDomainInput {
6 | const PokemonSuccessInput({required this.pokemons});
7 |
8 | final List pokemons;
9 | }
10 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/windows/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral/
2 |
3 | # Visual Studio user-specific files.
4 | *.suo
5 | *.user
6 | *.userosscache
7 | *.sln.docstates
8 |
9 | # Visual Studio build-related files.
10 | x64/
11 | x86/
12 |
13 | # Visual Studio cache files
14 | # files ending in .cache can be ignored
15 | *.[Cc]ache
16 | # but keep track of directories ending in .cache
17 | !*.[Cc]ache/
18 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/windows/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral/
2 |
3 | # Visual Studio user-specific files.
4 | *.suo
5 | *.user
6 | *.userosscache
7 | *.sln.docstates
8 |
9 | # Visual Studio build-related files.
10 | x64/
11 | x86/
12 |
13 | # Visual Studio cache files
14 | # files ending in .cache can be ignored
15 | *.[Cc]ache
16 | # but keep track of directories ending in .cache
17 | !*.[Cc]ache/
18 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/macos/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import FlutterMacOS
2 | import Cocoa
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/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/clean_framework/lib/src/open_feature/src/hook/hook_hints.dart:
--------------------------------------------------------------------------------
1 | // coverage:ignore-file
2 |
3 | import 'dart:collection';
4 |
5 | class HookHints extends UnmodifiableMapBase {
6 | HookHints(this._map);
7 |
8 | final Map _map;
9 |
10 | @override
11 | Iterable get keys => _map.keys;
12 |
13 | @override
14 | T? operator [](Object? key) => _map[key];
15 | }
16 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/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/clean_framework_graphql/graphql_example/lib/features/home/domain/home_domain_inputs.dart:
--------------------------------------------------------------------------------
1 | import 'package:graphql_example/features/home/models/pokemon_model.dart';
2 | import 'package:clean_framework/clean_framework.dart';
3 |
4 | class HomeTestSuccessDomainInput extends SuccessDomainInput {
5 | HomeTestSuccessDomainInput({
6 | required this.pokemonModel,
7 | });
8 |
9 | final PokemonModel pokemonModel;
10 | }
11 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/windows/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral/
2 |
3 | # Visual Studio user-specific files.
4 | *.suo
5 | *.user
6 | *.userosscache
7 | *.sln.docstates
8 |
9 | # Visual Studio build-related files.
10 | x64/
11 | x86/
12 |
13 | # Visual Studio cache files
14 | # files ending in .cache can be ignored
15 | *.[Cc]ache
16 | # but keep track of directories ending in .cache
17 | !*.[Cc]ache/
18 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/lib/clean_framework_graphql.dart:
--------------------------------------------------------------------------------
1 | export 'src/graphql_error_policy.dart';
2 | export 'src/graphql_external_interface.dart';
3 | export 'src/graphql_fetch_policy.dart';
4 | export 'src/graphql_gateway.dart';
5 | export 'src/graphql_logger.dart';
6 | export 'src/graphql_method.dart';
7 | export 'src/graphql_requests.dart';
8 | export 'src/graphql_responses.dart';
9 | export 'src/graphql_service.dart';
10 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/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/clean_framework_router/lib/clean_framework_router.dart:
--------------------------------------------------------------------------------
1 | export 'package:go_router/go_router.dart'
2 | show
3 | ShellRoute,
4 | StatefulNavigationShell,
5 | StatefulShellBranch,
6 | StatefulShellRoute;
7 |
8 | export 'src/app_route.dart';
9 | export 'src/app_router.dart';
10 | export 'src/app_router_base.dart' show RouterConfiguration, RouterParams;
11 | export 'src/app_router_scope.dart';
12 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/linux/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void fl_register_plugins(FlPluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/windows/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void RegisterPlugins(flutter::PluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/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/clean_framework/lib/src/open_feature/src/core/resolution_details.dart:
--------------------------------------------------------------------------------
1 | import 'package:clean_framework/src/open_feature/src/core/enums.dart';
2 |
3 | class ResolutionDetails {
4 | ResolutionDetails({
5 | required this.value,
6 | this.errorCode,
7 | this.reason,
8 | this.variant,
9 | });
10 |
11 | final T value;
12 | final ErrorCode? errorCode;
13 | final Reason? reason;
14 | final String? variant;
15 | }
16 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/linux/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void fl_register_plugins(FlPluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/windows/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void RegisterPlugins(flutter::PluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/linux/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void fl_register_plugins(FlPluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/windows/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void RegisterPlugins(flutter::PluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/packages/clean_framework/lib/src/open_feature/src/evaluation_context/context_transformation_mixin.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:clean_framework/src/open_feature/src/evaluation_context/evaluation_context.dart';
4 | import 'package:clean_framework/src/open_feature/src/provider/feature_provider.dart';
5 |
6 | mixin ContextTransformationMixin on FeatureProvider {
7 | FutureOr transformContext(EvaluationContext context);
8 | }
9 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/linux/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void fl_register_plugins(FlPluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/windows/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void RegisterPlugins(flutter::PluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/packages/clean_framework/lib/src/core/use_case/entity.dart:
--------------------------------------------------------------------------------
1 | import 'package:equatable/equatable.dart';
2 | import 'package:meta/meta.dart';
3 |
4 | /// Represents the current state of the domain layer (use case).
5 | @immutable
6 | abstract class Entity extends Equatable {
7 | const Entity();
8 |
9 | @override
10 | bool get stringify => true;
11 |
12 | @useResult
13 | Entity copyWith() => throw UnimplementedError('copyWith() not implemented');
14 | }
15 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/windows/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 | #include
10 |
11 | void RegisterPlugins(flutter::PluginRegistry* registry) {
12 | UrlLauncherWindowsRegisterWithRegistrar(
13 | registry->GetRegistrarForPlugin("UrlLauncherWindows"));
14 | }
15 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/macos/Runner/DebugProfile.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.cs.allow-jit
8 |
9 | com.apple.security.network.server
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/macos/Runner/DebugProfile.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.cs.allow-jit
8 |
9 | com.apple.security.network.server
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/packages/clean_framework_graphql/graphql_example/macos/Runner/DebugProfile.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.cs.allow-jit
8 |
9 | com.apple.security.network.server
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/packages/clean_framework_http/example/lib/providers/external_interface_providers.dart:
--------------------------------------------------------------------------------
1 | import 'package:clean_framework/clean_framework.dart';
2 | import 'package:clean_framework_http_example/core/external_interface/pokemon_external_interface.dart';
3 | import 'package:clean_framework_http_example/providers/gateway_providers.dart';
4 |
5 | final pokemonExternalInterfaceProvider = ExternalInterfaceProvider(
6 | PokemonExternalInterface.new,
7 | gateways: [pokemonGatewayProvider],
8 | );
9 |
--------------------------------------------------------------------------------
/packages/clean_framework/example/lib/core/validators/src/password_input_field_validator.dart:
--------------------------------------------------------------------------------
1 | import 'package:uniform/uniform.dart';
2 |
3 | class PasswordInputFieldValidator implements InputFieldValidator {
4 | const PasswordInputFieldValidator();
5 |
6 | @override
7 | InputFieldError resolve(String value) {
8 | if (value.length < 8) {
9 | return InputFieldError('Password must be at least 8 characters.');
10 | }
11 |
12 | return InputFieldError.none();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/packages/clean_framework/theme_example/lib/features/home/presentation/theme/home_theme_view_model.dart:
--------------------------------------------------------------------------------
1 | import 'package:clean_framework/clean_framework.dart';
2 | import 'package:theme_example/features/home/domain/home_entity.dart';
3 |
4 | class HomeThemeViewModel extends ViewModel {
5 | const HomeThemeViewModel({
6 | required this.appTheme,
7 | });
8 |
9 | final AppTheme appTheme;
10 |
11 | @override
12 | List