text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. part of 'reporting.dart'; class DisabledUsage implements Usage { @override bool get suppressAnalytics => true; @override set suppressAnalytics(bo...
flutter/packages/flutter_tools/lib/src/reporting/disabled_usage.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/reporting/disabled_usage.dart", "repo_id": "flutter", "token_count": 328 }
786
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:package_config/package_config.dart'; import 'package:package_config/package_config_types.dart'; import 'b...
flutter/packages/flutter_tools/lib/src/template.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/template.dart", "repo_id": "flutter", "token_count": 5811 }
787
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:package_config/package_config.dart'; import 'package:process/process.dart'; import '../artifacts.dart'; import '../base/common.dart'; impo...
flutter/packages/flutter_tools/lib/src/test/web_test_compiler.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/test/web_test_compiler.dart", "repo_id": "flutter", "token_count": 2336 }
788
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import '../../base/file_system.dart'; import '../../base/logger.dart'; import '../../base/project_migrator.dart'; import '../../project.dart'; /// Remove ...
flutter/packages/flutter_tools/lib/src/web/migrations/scrub_generated_plugin_registrant.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/web/migrations/scrub_generated_plugin_registrant.dart", "repo_id": "flutter", "token_count": 559 }
789
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:process/process.dart'; import '../base/io.dart'; import '../base/os.dart'; import '../doctor_validator.dart'; /// Flutter only supports d...
flutter/packages/flutter_tools/lib/src/windows/windows_version_validator.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/windows/windows_version_validator.dart", "repo_id": "flutter", "token_count": 1452 }
790
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="main.dart" type="FlutterRunConfigurationType" factoryName="Flutter"> <option name="filePath" value="$PROJECT_DIR$/lib/main.dart" /> <method /> </configuration> </component>
flutter/packages/flutter_tools/templates/app_shared/.idea/runConfigurations/main_dart.xml.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/app_shared/.idea/runConfigurations/main_dart.xml.tmpl", "repo_id": "flutter", "token_count": 84 }
791
#import <Flutter/Flutter.h> #import <UIKit/UIKit.h> #import <XCTest/XCTest.h> {{#withPlatformChannelPluginHook}} @import {{pluginProjectName}}; // This demonstrates a simple unit test of the Objective-C portion of this plugin's implementation. // // See https://developer.apple.com/documentation/xctest for more inform...
flutter/packages/flutter_tools/templates/app_shared/ios-objc.tmpl/RunnerTests/RunnerTests.m.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/app_shared/ios-objc.tmpl/RunnerTests/RunnerTests.m.tmpl", "repo_id": "flutter", "token_count": 605 }
792
#include "ephemeral/Flutter-Generated.xcconfig"
flutter/packages/flutter_tools/templates/app_shared/macos.tmpl/Flutter/Flutter-Release.xcconfig/0
{ "file_path": "flutter/packages/flutter_tools/templates/app_shared/macos.tmpl/Flutter/Flutter-Release.xcconfig", "repo_id": "flutter", "token_count": 19 }
793
{ "name": "{{projectName}}", "short_name": "{{projectName}}", "start_url": ".", "display": "standalone", "background_color": "#0175C2", "theme_color": "#0175C2", "description": "{{description}}", "orientation": "portrait-primary", "prefer_related_applications": false, "icons": [ ...
flutter/packages/flutter_tools/templates/app_shared/web/manifest.json.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/app_shared/web/manifest.json.tmpl", "repo_id": "flutter", "token_count": 515 }
794
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar"> <!-- Show a splash screen on the activity. Automatically removed when the Flutter engine draws its first frame --> <item name="android:windowBackground">@drawable...
flutter/packages/flutter_tools/templates/module/android/host_app_common/app.tmpl/src/main/res/values/styles.xml/0
{ "file_path": "flutter/packages/flutter_tools/templates/module/android/host_app_common/app.tmpl/src/main/res/values/styles.xml", "repo_id": "flutter", "token_count": 127 }
795
<?xml version="1.0" encoding="UTF-8"?> <module type="JAVA_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$MODULE_DIR$"> <sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" /> <sourceFolder url="file:/...
flutter/packages/flutter_tools/templates/module/common/projectName.iml.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/module/common/projectName.iml.tmpl", "repo_id": "flutter", "token_count": 316 }
796
# Copyright 2014 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. require 'json' # Install pods needed to embed Flutter application, Flutter engine, and plugins # from the host application Podfile. # # @example # target '...
flutter/packages/flutter_tools/templates/module/ios/library/Flutter.tmpl/podhelper.rb.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/module/ios/library/Flutter.tmpl/podhelper.rb.tmpl", "repo_id": "flutter", "token_count": 2132 }
797
package {{androidIdentifier}}; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import io.flutter.plugin.common.MethodCall; import io.flutter.plugin.common.MethodChannel; import org.junit.Test; /** * This demonstrates a simple unit test of the Java portion of this plugin's implement...
flutter/packages/flutter_tools/templates/plugin/android-java.tmpl/src/test/java/androidIdentifier/pluginClassTest.java.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/android-java.tmpl/src/test/java/androidIdentifier/pluginClassTest.java.tmpl", "repo_id": "flutter", "token_count": 303 }
798
import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import '{{projectName}}_platform_interface.dart'; /// An implementation of [{{pluginDartClass}}Platform] that uses method channels. class MethodChannel{{pluginDartClass}} extends {{pluginDartClass}}Platform { /// The method channel us...
flutter/packages/flutter_tools/templates/plugin/lib/projectName_method_channel.dart.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/lib/projectName_method_channel.dart.tmpl", "repo_id": "flutter", "token_count": 167 }
799
#include <flutter/method_call.h> #include <flutter/method_result_functions.h> #include <flutter/standard_method_codec.h> #include <gtest/gtest.h> #include <windows.h> #include <memory> #include <string> #include <variant> #include "{{pluginClassSnakeCase}}.h" namespace {{projectName}} { namespace test { namespace {...
flutter/packages/flutter_tools/templates/plugin/windows.tmpl/test/pluginClassSnakeCase_test.cpp.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/windows.tmpl/test/pluginClassSnakeCase_test.cpp.tmpl", "repo_id": "flutter", "token_count": 404 }
800
# This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # # This file should be version controlled and should not be manually edited. version: revision: {{flutterRevision}} channel: {{flutterChannel}} {{#withFfiPluginHook}} project_type: plugi...
flutter/packages/flutter_tools/templates/plugin_shared/.metadata.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin_shared/.metadata.tmpl", "repo_id": "flutter", "token_count": 148 }
801
import 'package:flutter/material.dart'; import 'src/app.dart'; import 'src/settings/settings_controller.dart'; import 'src/settings/settings_service.dart'; void main() async { // Set up the SettingsController, which will glue user settings to multiple // Flutter Widgets. final settingsController = SettingsContr...
flutter/packages/flutter_tools/templates/skeleton/lib/main.dart.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/skeleton/lib/main.dart.tmpl", "repo_id": "flutter", "token_count": 191 }
802
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/android/android_device.dart'; import 'package:flutter_tools/src/...
flutter/packages/flutter_tools/test/commands.shard/hermetic/attach_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/attach_test.dart", "repo_id": "flutter", "token_count": 23234 }
803
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:fake_async/fake_async.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/android/android_stu...
flutter/packages/flutter_tools/test/commands.shard/hermetic/doctor_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/doctor_test.dart", "repo_id": "flutter", "token_count": 20528 }
804
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/common.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'p...
flutter/packages/flutter_tools/test/commands.shard/hermetic/shell_completion_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/shell_completion_test.dart", "repo_id": "flutter", "token_count": 1544 }
805
-----BEGIN RSA PRIVATE KEY----- MIICXQIBAAKBgQC/Vj4UCdQIN0IMCHDWwDo3QyH9I8sBm/OwIiiJbQ0RpyfWCn4i lzZwu98okwUCu5PwlFQZd67aDooxhFS2FSw4iRZCUGJlgV7BG1JX9q0xqVy33V6r xFFYQYHw6r7FHPaw2FuRCOoiuDqE+ua6lbV2YP/eXiRnq5hT5vWfEX5rYwIDAQAB AoGAaL5oq4WZ2omNkZLJWvbOp9QLdk2y44WhSOnaMSlOvzw3tZf25y7KcbqXdtnN I2rWmRxKUcrQILVW97aOvUMn+jOC...
flutter/packages/flutter_tools/test/data/asset_test/tls_cert/dummy-key.pem/0
{ "file_path": "flutter/packages/flutter_tools/test/data/asset_test/tls_cert/dummy-key.pem", "repo_id": "flutter", "token_count": 677 }
806
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:flutter_tools/src/android/android_sdk.dart'; import 'package:flutter_tools/src/android/android_workflow....
flutter/packages/flutter_tools/test/general.shard/android/android_workflow_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/android/android_workflow_test.dart", "repo_id": "flutter", "token_count": 8122 }
807
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/asset.dart'; import 'package...
flutter/packages/flutter_tools/test/general.shard/asset_bundle_package_fonts_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/asset_bundle_package_fonts_test.dart", "repo_id": "flutter", "token_count": 4005 }
808
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io' as io; import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/io.dart'; import 'package:flutter_t...
flutter/packages/flutter_tools/test/general.shard/base/io_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/base/io_test.dart", "repo_id": "flutter", "token_count": 1503 }
809
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/build_system/build_system.dart'; import 'package:flutter_tools/...
flutter/packages/flutter_tools/test/general.shard/build_system/exceptions_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/build_system/exceptions_test.dart", "repo_id": "flutter", "token_count": 866 }
810
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:file_testing/file_testing.dart'; import 'package:flutter_tools/src/artifacts.dart'; import 'package:flut...
flutter/packages/flutter_tools/test/general.shard/build_system/targets/macos_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/build_system/targets/macos_test.dart", "repo_id": "flutter", "token_count": 8670 }
811
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/artifacts.dart'; import 'package:flutter_tools/src/base/io.dart'...
flutter/packages/flutter_tools/test/general.shard/compile_expression_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/compile_expression_test.dart", "repo_id": "flutter", "token_count": 2949 }
812
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/dart/language_version.dart';...
flutter/packages/flutter_tools/test/general.shard/dart/language_version_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/dart/language_version_test.dart", "repo_id": "flutter", "token_count": 2968 }
813
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/base/io.dart'; import 'packa...
flutter/packages/flutter_tools/test/general.shard/flutter_platform_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/flutter_platform_test.dart", "repo_id": "flutter", "token_count": 1816 }
814
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:archive/archive.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter...
flutter/packages/flutter_tools/test/general.shard/intellij/intellij_validator_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/intellij/intellij_validator_test.dart", "repo_id": "flutter", "token_count": 9027 }
815
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_tools/src/base/platform.dart'; import 'package:flutter_tools/src/features.dart'; import 'package:flutter_tools/src/linux/linux_work...
flutter/packages/flutter_tools/test/general.shard/linux/linux_workflow_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/linux/linux_workflow_test.dart", "repo_id": "flutter", "token_count": 628 }
816
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/application_package.dart'; import 'package:flutter_tools/src/art...
flutter/packages/flutter_tools/test/general.shard/preview_device_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/preview_device_test.dart", "repo_id": "flutter", "token_count": 2564 }
817
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_tools/src/devfs.dart'; import 'package:flutter_tools/src/reporting/reporting.dart'; import 'package:flutter_tools/src/resident_runn...
flutter/packages/flutter_tools/test/general.shard/run_hot_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/run_hot_test.dart", "repo_id": "flutter", "token_count": 655 }
818
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:fake_async/fake_async.dart'; import 'package:file/memory.dart'; import 'package:file_testing/file_testing.dart'; impo...
flutter/packages/flutter_tools/test/general.shard/tracing_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/tracing_test.dart", "repo_id": "flutter", "token_count": 5668 }
819
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:flutter_tools/src/artifacts.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'pac...
flutter/packages/flutter_tools/test/general.shard/web/migrations/scrub_generated_plugin_registrant_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/web/migrations/scrub_generated_plugin_registrant_test.dart", "repo_id": "flutter", "token_count": 3225 }
820
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/io.dart'; import '../../bin/xcode_backend.dart'...
flutter/packages/flutter_tools/test/general.shard/xcode_backend_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/xcode_backend_test.dart", "repo_id": "flutter", "token_count": 4467 }
821
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file_testing/file_testing.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/base/io.dart';...
flutter/packages/flutter_tools/test/integration.shard/android_plugin_compilesdkversion_mismatch_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/android_plugin_compilesdkversion_mismatch_test.dart", "repo_id": "flutter", "token_count": 1051 }
822
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:dds/dap.dart'; import 'package:file/file.dart'; import 'package:flutter_tools/src/cache.dart'; import 'package:flutte...
flutter/packages/flutter_tools/test/integration.shard/debug_adapter/flutter_adapter_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/debug_adapter/flutter_adapter_test.dart", "repo_id": "flutter", "token_count": 10792 }
823
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:file_testing/file_testing.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools...
flutter/packages/flutter_tools/test/integration.shard/flutter_build_wasm_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/flutter_build_wasm_test.dart", "repo_id": "flutter", "token_count": 692 }
824
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/base/logger.dart'; import 'package:flut...
flutter/packages/flutter_tools/test/integration.shard/plist_parser_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/plist_parser_test.dart", "repo_id": "flutter", "token_count": 4514 }
825
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @Timeout(Duration(seconds: 600)) library; import 'dart:io'; import 'package:file/file.dart'; import '../../src/common.dart'; import '../test_utils.dart';...
flutter/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart", "repo_id": "flutter", "token_count": 2554 }
826
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Not a test file, invoked by `variable_expansion_windows_test.dart`. void main(List<String> args) { // This print is used for communicating with the te...
flutter/packages/flutter_tools/test/integration.shard/variable_expansion_windows.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/variable_expansion_windows.dart", "repo_id": "flutter", "token_count": 106 }
827
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_tools/src/flutter_manifest.dart'; import 'package:flutter_tools/src/globals.dart' as globals; import 'package:yaml/yaml.dart'; imp...
flutter/packages/flutter_tools/test/src/pubspec_schema.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/src/pubspec_schema.dart", "repo_id": "flutter", "token_count": 488 }
828
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @TestOn('browser') // Uses web-only Flutter SDK library; import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_web_plugins/src/navigati...
flutter/packages/flutter_web_plugins/test/navigation/utils_test.dart/0
{ "file_path": "flutter/packages/flutter_web_plugins/test/navigation/utils_test.dart", "repo_id": "flutter", "token_count": 555 }
829
# integration_test This package enables self-driving testing of Flutter code on devices and emulators. It adapts flutter_test results into a format that is compatible with `flutter drive` and native Android instrumentation testing. ## Usage Add a dependency on the `integration_test` and `flutter_test` package in the...
flutter/packages/integration_test/README.md/0
{ "file_path": "flutter/packages/integration_test/README.md", "repo_id": "flutter", "token_count": 3277 }
830
# Intentionally empty. Validation is that apps can set their own proguard files.
flutter/packages/integration_test/example/android/app/proguard-rules.pro/0
{ "file_path": "flutter/packages/integration_test/example/android/app/proguard-rules.pro", "repo_id": "flutter", "token_count": 21 }
831
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
flutter/packages/integration_test/example/android/gradle/wrapper/gradle-wrapper.properties/0
{ "file_path": "flutter/packages/integration_test/example/android/gradle/wrapper/gradle-wrapper.properties", "repo_id": "flutter", "token_count": 71 }
832
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @import XCTest; @import integration_test; #pragma mark - Dynamic tests INTEGRATION_TEST_IOS_RUNNER(RunnerTests) @interface RunnerTests (DynamicTests) @e...
flutter/packages/integration_test/example/ios/RunnerTests/RunnerTests.m/0
{ "file_path": "flutter/packages/integration_test/example/ios/RunnerTests/RunnerTests.m", "repo_id": "flutter", "token_count": 1147 }
833
package com.example.digital_clock import android.os.Bundle import io.flutter.app.FlutterActivity import io.flutter.plugins.GeneratedPluginRegistrant class MainActivity: FlutterActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) GeneratedPluginRegist...
flutter_clock/digital_clock/android/app/src/main/kotlin/com/example/digital_clock/MainActivity.kt/0
{ "file_path": "flutter_clock/digital_clock/android/app/src/main/kotlin/com/example/digital_clock/MainActivity.kt", "repo_id": "flutter_clock", "token_count": 118 }
834
plugins { id "com.android.application" id "kotlin-android" id "dev.flutter.flutter-gradle-plugin" id "com.google.firebase.crashlytics" } def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.with...
gallery/android/app/build.gradle/0
{ "file_path": "gallery/android/app/build.gradle", "repo_id": "gallery", "token_count": 914 }
835
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; // BEGIN c...
gallery/lib/demos/cupertino/cupertino_search_text_field_demo.dart/0
{ "file_path": "gallery/lib/demos/cupertino/cupertino_search_text_field_demo.dart", "repo_id": "gallery", "token_count": 1289 }
836
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'package:gallery/data/gallery_options.dart';...
gallery/lib/demos/material/dialog_demo.dart/0
{ "file_path": "gallery/lib/demos/material/dialog_demo.dart", "repo_id": "gallery", "token_count": 4347 }
837
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; // BEGIN tooltipDemo class TooltipDemo extends Sta...
gallery/lib/demos/material/tooltip_demo.dart/0
{ "file_path": "gallery/lib/demos/material/tooltip_demo.dart", "repo_id": "gallery", "token_count": 650 }
838
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math'; import 'package:flutter/material.dart'; import 'package:gallery/feature_discovery/animation.dart'; const contentHeight = 80.0; const con...
gallery/lib/feature_discovery/overlay.dart/0
{ "file_path": "gallery/lib/feature_discovery/overlay.dart", "repo_id": "gallery", "token_count": 4095 }
839
{ "loading": "Načítání", "deselect": "Zrušit výběr", "select": "Vybrat", "selectable": "Vybratelné (dlouhé stisknutí)", "selected": "Vybráno", "demo": "Ukázka", "bottomAppBar": "Dolní panel aplikace", "notSelected": "Nevybráno", "demoCupertinoSearchTextFieldTitle": "Textové pole pro vyhledávání", "d...
gallery/lib/l10n/intl_cs.arb/0
{ "file_path": "gallery/lib/l10n/intl_cs.arb", "repo_id": "gallery", "token_count": 23308 }
840
{ "loading": "લોડ થઈ રહ્યું છે", "deselect": "નાપસંદ કરો", "select": "પસંદ કરો", "selectable": "પસંદ કરવા યોગ્ય (થોડીવાર દબાવી રાખો)", "selected": "પસંદ કરી", "demo": "ડેમો", "bottomAppBar": "ઍપનો સૌથી નીચેનો બાર", "notSelected": "પસંદ કરી નથી", "demoCupertinoSearchTextFieldTitle": "શોધ ટેક્સ્ટનું ફીલ...
gallery/lib/l10n/intl_gu.arb/0
{ "file_path": "gallery/lib/l10n/intl_gu.arb", "repo_id": "gallery", "token_count": 65377 }
841
{ "loading": "ກຳລັງໂຫຼດ", "deselect": "ເຊົາເລືອກ", "select": "ເລືອກ", "selectable": "ສາມາດເລືອກໄດ້ (ກົດຄ້າງໄວ້)", "selected": "ເລືອກແລ້ວ", "demo": "ເດໂມ", "bottomAppBar": "ແຖບທາງລຸ່ມຂອງແອັບ", "notSelected": "ບໍ່ໄດ້ເລືອກ", "demoCupertinoSearchTextFieldTitle": "ຫ້ອງປ້ອນຂໍ້ຄວາມການຄົ້ນຫາ", "demoCupertin...
gallery/lib/l10n/intl_lo.arb/0
{ "file_path": "gallery/lib/l10n/intl_lo.arb", "repo_id": "gallery", "token_count": 65584 }
842
{ "loading": "Yükleniyor", "deselect": "Seçimi kaldır", "select": "Seç", "selectable": "Seçilebilir (uzun basma)", "selected": "Seçili", "demo": "Demo", "bottomAppBar": "Alt uygulama çubuğu", "notSelected": "Seçili değil", "demoCupertinoSearchTextFieldTitle": "Arama metni alanı", "demoCupertinoPicke...
gallery/lib/l10n/intl_tr.arb/0
{ "file_path": "gallery/lib/l10n/intl_tr.arb", "repo_id": "gallery", "token_count": 22193 }
843
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'pack...
gallery/lib/pages/about.dart/0
{ "file_path": "gallery/lib/pages/about.dart", "repo_id": "gallery", "token_count": 2165 }
844
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'package:gallery/studies/crane/backlayer.dar...
gallery/lib/studies/crane/eat_form.dart/0
{ "file_path": "gallery/lib/studies/crane/eat_form.dart", "repo_id": "gallery", "token_count": 862 }
845
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; class VerticalFractionBar extends StatelessWidget { const VerticalFractionBar({ super.key, this.color, ...
gallery/lib/studies/rally/charts/vertical_fraction_bar.dart/0
{ "file_path": "gallery/lib/studies/rally/charts/vertical_fraction_bar.dart", "repo_id": "gallery", "token_count": 434 }
846
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'package:gallery/layout/...
gallery/lib/studies/shrine/expanding_bottom_sheet.dart/0
{ "file_path": "gallery/lib/studies/shrine/expanding_bottom_sheet.dart", "repo_id": "gallery", "token_count": 9871 }
847
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="production" type="FlutterRunConfigurationType" factoryName="Flutter"> <option name="buildFlavor" value="production" /> <option name="filePath" value="$PROJECT_DIR$/lib/main_production.dart" /> <method v="2" /> </confi...
io_flip/.idea/runConfigurations/production.xml/0
{ "file_path": "io_flip/.idea/runConfigurations/production.xml", "repo_id": "io_flip", "token_count": 105 }
848
import 'package:dart_frog/dart_frog.dart'; import 'package:shelf_cors_headers/shelf_cors_headers.dart' as shelf; import '../main.dart'; Middleware corsHeaders() { return fromShelfMiddleware( shelf.corsHeaders( headers: { shelf.ACCESS_CONTROL_ALLOW_ORIGIN: gameUrl.url, }, ), ); }
io_flip/api/headers/cors_headers.dart/0
{ "file_path": "io_flip/api/headers/cors_headers.dart", "repo_id": "io_flip", "token_count": 140 }
849
import 'dart:math'; import 'package:config_repository/config_repository.dart'; import 'package:db_client/db_client.dart'; import 'package:game_domain/game_domain.dart'; import 'package:game_script_machine/game_script_machine.dart'; import 'package:image_model_repository/image_model_repository.dart'; import 'package:la...
io_flip/api/packages/cards_repository/lib/src/cards_repository.dart/0
{ "file_path": "io_flip/api/packages/cards_repository/lib/src/cards_repository.dart", "repo_id": "io_flip", "token_count": 2197 }
850
import 'package:equatable/equatable.dart'; import 'package:firedart/firedart.dart'; import 'package:grpc/grpc.dart'; /// {@template db_entity_record} /// A model representing a record in an entity. /// {@endtemplate} class DbEntityRecord extends Equatable { /// {@macro db_entity_record} const DbEntityRecord({ ...
io_flip/api/packages/db_client/lib/src/db_client.dart/0
{ "file_path": "io_flip/api/packages/db_client/lib/src/db_client.dart", "repo_id": "io_flip", "token_count": 2832 }
851
import 'dart:io'; import 'dart:typed_data'; import 'package:grpc/grpc.dart' hide Response; import 'package:http/http.dart'; /// {@template firebase_cloud_storage_upload_failure} /// Thrown when the upload to Firebase Cloud Storage fails. /// Contains the error message and the stack trace. /// {@endtemplate} class Fir...
io_flip/api/packages/firebase_cloud_storage/lib/src/firebase_cloud_storage.dart/0
{ "file_path": "io_flip/api/packages/firebase_cloud_storage/lib/src/firebase_cloud_storage.dart", "repo_id": "io_flip", "token_count": 889 }
852
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'match.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Match _$MatchFromJson(Map<String, dynamic> json) => Match( id:...
io_flip/api/packages/game_domain/lib/src/models/match.g.dart/0
{ "file_path": "io_flip/api/packages/game_domain/lib/src/models/match.g.dart", "repo_id": "io_flip", "token_count": 316 }
853
// ignore_for_file: prefer_const_constructors import 'package:game_domain/game_domain.dart'; import 'package:test/test.dart'; void main() { group('Card', () { test('can be instantiated', () { expect( Card( id: '', name: '', description: '', image: '', ...
io_flip/api/packages/game_domain/test/src/models/card_test.dart/0
{ "file_path": "io_flip/api/packages/game_domain/test/src/models/card_test.dart", "repo_id": "io_flip", "token_count": 3565 }
854
import 'dart:math'; import 'package:game_domain/game_domain.dart'; import 'package:hetu_script/hetu_script.dart'; /// {@template game_script_machine} /// Holds and proccess the scripts responsible for calculating the result of a /// game match. /// {@endtemplate} class GameScriptMachine { /// {@macro game_script_ma...
io_flip/api/packages/game_script_machine/lib/src/game_script_machine.dart/0
{ "file_path": "io_flip/api/packages/game_script_machine/lib/src/game_script_machine.dart", "repo_id": "io_flip", "token_count": 675 }
855
import 'package:equatable/equatable.dart'; /// {@template authenticated_user} /// Represents an authenticated user of the api. /// {@endtemplate} class AuthenticatedUser extends Equatable { /// {@macro authenticated_user} const AuthenticatedUser(this.id); /// The firebase user id of the user. final String id;...
io_flip/api/packages/jwt_middleware/lib/src/authenticated_user.dart/0
{ "file_path": "io_flip/api/packages/jwt_middleware/lib/src/authenticated_user.dart", "repo_id": "io_flip", "token_count": 111 }
856
include: package:very_good_analysis/analysis_options.3.1.0.yaml
io_flip/api/packages/leaderboard_repository/analysis_options.yaml/0
{ "file_path": "io_flip/api/packages/leaderboard_repository/analysis_options.yaml", "repo_id": "io_flip", "token_count": 23 }
857
import 'dart:async'; import 'dart:io'; import 'package:dart_frog/dart_frog.dart'; import 'package:game_script_machine/game_script_machine.dart'; import 'package:scripts_repository/scripts_repository.dart'; import '../../../main.dart'; FutureOr<Response> onRequest(RequestContext context, String scriptId) async { fi...
io_flip/api/routes/game/scripts/[scriptId].dart/0
{ "file_path": "io_flip/api/routes/game/scripts/[scriptId].dart", "repo_id": "io_flip", "token_count": 382 }
858
import 'dart:io'; import 'package:dart_frog/dart_frog.dart'; import 'package:game_domain/game_domain.dart'; import 'package:logging/logging.dart'; import 'package:match_repository/match_repository.dart'; import 'package:mocktail/mocktail.dart'; import 'package:test/test.dart'; import '../../../../../routes/game/match...
io_flip/api/test/routes/game/matches/[matchId]/result_test.dart/0
{ "file_path": "io_flip/api/test/routes/game/matches/[matchId]/result_test.dart", "repo_id": "io_flip", "token_count": 1338 }
859
// ignore_for_file: avoid_print import 'dart:io'; import 'package:data_loader/src/prompt_mapper.dart'; import 'package:db_client/db_client.dart'; import 'package:game_domain/game_domain.dart'; /// {@template check_missing_image_tables} /// Dart tool that checks if there are any missing tables. /// {@endtemplate} cla...
io_flip/api/tools/data_loader/lib/src/check_missing_image_tables.dart/0
{ "file_path": "io_flip/api/tools/data_loader/lib/src/check_missing_image_tables.dart", "repo_id": "io_flip", "token_count": 627 }
860
{ "hosting": [ { "target": "app_prod", "public": "build/web", "cleanUrls": true, "trailingSlash": false, "ignore": [ ".firebase", "firebase.json", "functions/node_modules", "functions/src", "__/**" ], "headers": [ { ...
io_flip/firebase.json/0
{ "file_path": "io_flip/firebase.json", "repo_id": "io_flip", "token_count": 2969 }
861
part of 'flop_bloc.dart'; abstract class FlopEvent extends Equatable { const FlopEvent(); } class NextStepRequested extends FlopEvent { const NextStepRequested(); @override List<Object> get props => []; }
io_flip/flop/lib/flop/bloc/flop_event.dart/0
{ "file_path": "io_flip/flop/lib/flop/bloc/flop_event.dart", "repo_id": "io_flip", "token_count": 71 }
862
module.exports = { root: true, env: { es6: true, node: true, }, extends: [ 'eslint:recommended', 'plugin:import/errors', 'plugin:import/warnings', 'plugin:import/typescript', 'google', 'plugin:@typescript-eslint/recommended', ], parser: '@typescript-eslint/parser', parserOp...
io_flip/functions/.eslintrc.js/0
{ "file_path": "io_flip/functions/.eslintrc.js", "repo_id": "io_flip", "token_count": 319 }
863
// Copyright 2022, the Flutter project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:collection'; import 'package:audioplayers/audioplayers.dart'; import 'package:flutter/widge...
io_flip/lib/audio/audio_controller.dart/0
{ "file_path": "io_flip/lib/audio/audio_controller.dart", "repo_id": "io_flip", "token_count": 3125 }
864
import 'package:api_client/api_client.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:game_domain/game_domain.dart'; import 'package:go_router/go_router.dart'; import 'package:io_flip/audio/audio_controller.dart'; import 'package:io_flip/draft/draft.dart';...
io_flip/lib/draft/views/draft_page.dart/0
{ "file_path": "io_flip/lib/draft/views/draft_page.dart", "repo_id": "io_flip", "token_count": 397 }
865
import 'package:flame/cache.dart'; import 'package:flame/extensions.dart'; import 'package:flame/widgets.dart'; import 'package:flutter/material.dart'; import 'package:io_flip/game/game.dart'; import 'package:io_flip/gen/assets.gen.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; import 'package:provider/provider.da...
io_flip/lib/game/widgets/match_result_splash.dart/0
{ "file_path": "io_flip/lib/game/widgets/match_result_splash.dart", "repo_id": "io_flip", "token_count": 1612 }
866
export 'view/info_view.dart'; export 'widgets/widgets.dart';
io_flip/lib/info/info.dart/0
{ "file_path": "io_flip/lib/info/info.dart", "repo_id": "io_flip", "token_count": 24 }
867
import 'package:flutter/material.dart'; import 'package:io_flip/l10n/l10n.dart'; import 'package:io_flip/leaderboard/initials_form/initials_form.dart'; import 'package:io_flip/share/share.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; class LeaderboardEntryView extends StatelessWidget { const LeaderboardEntryVi...
io_flip/lib/leaderboard/views/leaderboard_entry_view.dart/0
{ "file_path": "io_flip/lib/leaderboard/views/leaderboard_entry_view.dart", "repo_id": "io_flip", "token_count": 673 }
868
export 'match_making_page.dart'; export 'match_making_view.dart';
io_flip/lib/match_making/views/views.dart/0
{ "file_path": "io_flip/lib/match_making/views/views.dart", "repo_id": "io_flip", "token_count": 24 }
869
part of 'scripts_cubit.dart'; enum ScriptsStateStatus { loading, loaded, failed, } class ScriptsState extends Equatable { const ScriptsState({ required this.status, required this.current, }); final ScriptsStateStatus status; final String current; ScriptsState copyWith({ ScriptsStateStatu...
io_flip/lib/scripts/cubit/scripts_state.dart/0
{ "file_path": "io_flip/lib/scripts/cubit/scripts_state.dart", "repo_id": "io_flip", "token_count": 186 }
870
import 'package:api_client/api_client.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart' hide Card; import 'package:game_domain/game_domain.dart'; import 'package:io_flip/l10n/l10n.dart'; import 'package:io_flip/share/share.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; import ...
io_flip/lib/share/views/share_card_dialog.dart/0
{ "file_path": "io_flip/lib/share/views/share_card_dialog.dart", "repo_id": "io_flip", "token_count": 819 }
871
import 'package:flutter/widgets.dart'; Size calculateTextSize(String text, TextStyle style) { final textPainter = TextPainter( text: TextSpan(text: text, style: style), maxLines: 1, textDirection: TextDirection.ltr, )..layout(); return textPainter.size; }
io_flip/lib/utils/text_size.dart/0
{ "file_path": "io_flip/lib/utils/text_size.dart", "repo_id": "io_flip", "token_count": 100 }
872
name: api_client description: Client to access the api version: 0.1.0+1 publish_to: none environment: sdk: ">=3.0.0 <4.0.0" dev_dependencies: mocktail: ^0.3.0 test: ^1.19.2 very_good_analysis: ^4.0.0 dependencies: encrypt: ^5.0.1 equatable: ^2.0.5 game_domain: path: ../../api/packages/game_domain ...
io_flip/packages/api_client/pubspec.yaml/0
{ "file_path": "io_flip/packages/api_client/pubspec.yaml", "repo_id": "io_flip", "token_count": 173 }
873
import 'dart:async'; import 'package:authentication_repository/authentication_repository.dart'; import 'package:firebase_auth/firebase_auth.dart' as fb; import 'package:firebase_core/firebase_core.dart'; import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'; import 'package:flutter_te...
io_flip/packages/authentication_repository/test/src/authentication_repository_test.dart/0
{ "file_path": "io_flip/packages/authentication_repository/test/src/authentication_repository_test.dart", "repo_id": "io_flip", "token_count": 2143 }
874
name: connection_repository description: Repository to manage the connection state version: 0.1.0+1 publish_to: none environment: sdk: ">=3.0.0 <4.0.0" dependencies: api_client: path: ../api_client equatable: ^2.0.5 game_domain: path: ../../api/packages/game_domain web_socket_client: ^0.1.0-dev.3 d...
io_flip/packages/connection_repository/pubspec.yaml/0
{ "file_path": "io_flip/packages/connection_repository/pubspec.yaml", "repo_id": "io_flip", "token_count": 174 }
875
import 'package:dashbook/dashbook.dart'; import 'package:gallery/colors/app_colors_story.dart'; import 'package:gallery/spacing/app_spacing_story.dart'; import 'package:gallery/typography/typography_story.dart'; import 'package:gallery/widgets/bottom_bar_story.dart'; import 'package:gallery/widgets/widgets.dart'; impor...
io_flip/packages/io_flip_ui/gallery/lib/stories.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/gallery/lib/stories.dart", "repo_id": "io_flip", "token_count": 1976 }
876
import 'package:flutter/material.dart'; import 'package:gallery/story_scaffold.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; class RoundedButtonStory extends StatelessWidget { const RoundedButtonStory({super.key}); @override Widget build(BuildContext context) { return StoryScaffold( title: 'Roun...
io_flip/packages/io_flip_ui/gallery/lib/widgets/rounded_button_story.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/gallery/lib/widgets/rounded_button_story.dart", "repo_id": "io_flip", "token_count": 1377 }
877
import 'dart:math' as math; import 'package:flutter/animation.dart'; import 'package:flutter/rendering.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; /// A simple flip animation. final smallFlipAnimation = CardAnimation( curve: Curves.easeOutExpo, duration: const Duration(milliseconds: 800), flipsCard: tru...
io_flip/packages/io_flip_ui/lib/src/animations/card_animations.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/animations/card_animations.dart", "repo_id": "io_flip", "token_count": 1952 }
878
import 'dart:ui'; import 'package:flutter/material.dart'; /// Colors used in the I/O FLIP UI. abstract class IoFlipColors { /// Gold static const Color seedGold = Color(0xffffbb00); /// Silver static const Color seedSilver = Color(0xffdadce0); /// Bronze static const Color seedBronze = Color(0xffff5145)...
io_flip/packages/io_flip_ui/lib/src/theme/io_flip_colors.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/theme/io_flip_colors.dart", "repo_id": "io_flip", "token_count": 3239 }
879
import 'package:flutter/material.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; /// {@template dual_animation_controller} /// Controls the completion state of the front and back animations in a /// [DualAnimation] widget. /// /// Listens to the completion of front and back animations and triggers the /// [onCompl...
io_flip/packages/io_flip_ui/lib/src/widgets/damages/dual_animation.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/widgets/damages/dual_animation.dart", "repo_id": "io_flip", "token_count": 1280 }
880
import 'package:flutter/widgets.dart'; import 'package:io_flip_ui/gen/assets.gen.dart'; /// {@template suit_icon} /// IO Flip suit icon. /// {@endtemplate} class SuitIcon extends StatelessWidget { /// [SuitIcon] for the air element. SuitIcon.air({ super.key, this.scale = 1, }) : asset = Assets.images.sui...
io_flip/packages/io_flip_ui/lib/src/widgets/suit_icons.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/widgets/suit_icons.dart", "repo_id": "io_flip", "token_count": 471 }
881
import 'package:flame/cache.dart'; import 'package:flame/widgets.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; import 'package:mocktail/mocktail.dart'; import 'package:provider/provider.dart'; class _MockImages extends Mock ...
io_flip/packages/io_flip_ui/test/src/widgets/damages/charge_front_test.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/test/src/widgets/damages/charge_front_test.dart", "repo_id": "io_flip", "token_count": 440 }
882
import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; extension _IoFlipWidgetTester on WidgetTester { void setDisplaySize(Size size) { view ..physicalSize = size ..devicePixelRatio = 1.0; addTearDown(() { view ...
io_flip/packages/io_flip_ui/test/src/widgets/responsive_layout_test.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/test/src/widgets/responsive_layout_test.dart", "repo_id": "io_flip", "token_count": 1204 }
883
// ignore_for_file: subtype_of_sealed_class, prefer_const_constructors import 'dart:async'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:game_domain/game_domain.dart'; import 'package:match_maker_repository/match_maker_repository.dart'; import...
io_flip/packages/match_maker_repository/test/src/match_maker_repository_test.dart/0
{ "file_path": "io_flip/packages/match_maker_repository/test/src/match_maker_repository_test.dart", "repo_id": "io_flip", "token_count": 8464 }
884
// ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; import 'package:game_domain/game_domain.dart'; import 'package:io_flip/connection/connection.dart'; void main() { group('ConnectionEvent', () { group('ConnectionRequested', () { test('uses value equality', () { ...
io_flip/test/connection/bloc/connection_event_test.dart/0
{ "file_path": "io_flip/test/connection/bloc/connection_event_test.dart", "repo_id": "io_flip", "token_count": 460 }
885