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. import '../artifacts.dart'; import '../base/common.dart'; import '../base/file_system.dart'; import '../build_info.dart'; import '../cache.dart'; import '....
flutter/packages/flutter_tools/lib/src/ios/xcode_build_settings.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/ios/xcode_build_settings.dart", "repo_id": "flutter", "token_count": 2863 }
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:dwds/dwds.dart'; import 'package:package_config/package_config.dart'; import 'package:unified_analytics/unified_analy...
flutter/packages/flutter_tools/lib/src/isolated/resident_web_runner.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/isolated/resident_web_runner.dart", "repo_id": "flutter", "token_count": 9809 }
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 'package:file/file.dart'; import 'package:process/process.dart'; import 'package:unified_analytics/unified_analytics.dart'; import '../base/common....
flutter/packages/flutter_tools/lib/src/macos/cocoapods.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/macos/cocoapods.dart", "repo_id": "flutter", "token_count": 8838 }
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 '../base/file_system.dart'; import '../base/project_migrator.dart'; import '../xcode_project.dart'; /// Migrate the Xcode project for Xcode compati...
flutter/packages/flutter_tools/lib/src/migrations/xcode_project_object_version_migration.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/migrations/xcode_project_object_version_migration.dart", "repo_id": "flutter", "token_count": 765 }
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. import 'base/io.dart'; import 'base/platform.dart'; import 'doctor_validator.dart'; /// A validator that displays configured HTTP_PROXY environment variab...
flutter/packages/flutter_tools/lib/src/proxy_validator.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/proxy_validator.dart", "repo_id": "flutter", "token_count": 967 }
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. import 'package:args/args.dart'; import 'package:args/command_runner.dart'; import 'package:completion/completion.dart'; import 'package:file/file.dart'; i...
flutter/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart", "repo_id": "flutter", "token_count": 6550 }
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 'dart:async'; import 'package:stream_channel/stream_channel.dart'; /// A remote device where tests can be executed on. /// /// Reusability of an i...
flutter/packages/flutter_tools/lib/src/test/test_device.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/test/test_device.dart", "repo_id": "flutter", "token_count": 353 }
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. import '../../base/utils.dart'; import '../../globals.dart' as globals; /// The caching strategy for the generated service worker. enum ServiceWorkerStrat...
flutter/packages/flutter_tools/lib/src/web/file_generators/flutter_service_worker_js.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/web/file_generators/flutter_service_worker_js.dart", "repo_id": "flutter", "token_count": 912 }
829
// 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/project_migrator.dart'; import '../../cmake_project.dart'; import 'utils.dart'; const String _cma...
flutter/packages/flutter_tools/lib/src/windows/migrations/version_migration.dart/0
{ "file_path": "flutter/packages/flutter_tools/lib/src/windows/migrations/version_migration.dart", "repo_id": "flutter", "token_count": 1556 }
830
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="{{androidIdentifier}}.host"> <!-- The INTERNET permission is required for development. Specifically, flutter needs it to communicate with the running application to allow...
flutter/packages/flutter_tools/templates/module/android/host_app_common/app.tmpl/src/main/AndroidManifest.xml.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/module/android/host_app_common/app.tmpl/src/main/AndroidManifest.xml.tmpl", "repo_id": "flutter", "token_count": 987 }
831
name: {{projectName}} description: {{description}} version: 0.0.1 homepage: environment: sdk: {{dartSdkVersionBounds}} flutter: ">=1.17.0" dependencies: flutter: sdk: flutter dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^3.0.0 # For information on the generic Dart part of this file,...
flutter/packages/flutter_tools/templates/package/pubspec.yaml.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/package/pubspec.yaml.tmpl", "repo_id": "flutter", "token_count": 569 }
832
# {{projectName}} {{description}} ## Getting Started This project is a starting point for a Flutter [plug-in package](https://flutter.dev/developing-packages/), a specialized package that includes platform-specific implementation code for Android and/or iOS. For help getting started with Flutter development, view t...
flutter/packages/flutter_tools/templates/plugin/README.md.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/README.md.tmpl", "repo_id": "flutter", "token_count": 228 }
833
# # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. # Run `pod lib lint {{projectName}}.podspec` to validate before publishing. # Pod::Spec.new do |s| s.name = '{{projectName}}' s.version = '0.0.1' s.summary = '{{description}}' s.description ...
flutter/packages/flutter_tools/templates/plugin/ios-swift.tmpl/projectName.podspec.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/ios-swift.tmpl/projectName.podspec.tmpl", "repo_id": "flutter", "token_count": 394 }
834
#ifndef FLUTTER_PLUGIN_{{pluginClassCapitalSnakeCase}}_C_API_H_ #define FLUTTER_PLUGIN_{{pluginClassCapitalSnakeCase}}_C_API_H_ #include <flutter_plugin_registrar.h> #ifdef FLUTTER_PLUGIN_IMPL #define FLUTTER_PLUGIN_EXPORT __declspec(dllexport) #else #define FLUTTER_PLUGIN_EXPORT __declspec(dllimport) #endif #if def...
flutter/packages/flutter_tools/templates/plugin/windows.tmpl/include/projectName.tmpl/pluginClassSnakeCase_c_api.h.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/windows.tmpl/include/projectName.tmpl/pluginClassSnakeCase_c_api.h.tmpl", "repo_id": "flutter", "token_count": 242 }
835
// This is an example Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that ...
flutter/packages/flutter_tools/templates/skeleton/test/widget_test.dart.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/skeleton/test/widget_test.dart.tmpl", "repo_id": "flutter", "token_count": 339 }
836
// 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:args/command_runner.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/artifacts.dart'; import 'package:flutter_to...
flutter/packages/flutter_tools/test/commands.shard/hermetic/analyze_suggestion_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/analyze_suggestion_test.dart", "repo_id": "flutter", "token_count": 2145 }
837
// 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:args/command_runner.dart'; import 'package:flutter_tools/src/android/java.dart'; import 'package:flutter_tools/src/base/file_system.dart'; ...
flutter/packages/flutter_tools/test/commands.shard/hermetic/create_usage_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/create_usage_test.dart", "repo_id": "flutter", "token_count": 3793 }
838
// 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' as io; import 'dart:typed_data'; import 'package:flutter_tools/src/base/io.dart'; import 'package:flutter_tools/src/base/platform.dart'; ...
flutter/packages/flutter_tools/test/commands.shard/hermetic/proxy_validator_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/proxy_validator_test.dart", "repo_id": "flutter", "token_count": 3129 }
839
// 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. // TODO(gspencergoog): Remove this tag once this test's state leaks/test // dependencies have been fixed. // https://github.com/flutter/flutter/issues/8516...
flutter/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart", "repo_id": "flutter", "token_count": 10468 }
840
// 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/android/android_studio.dart'; import 'package:flutter...
flutter/packages/flutter_tools/test/general.shard/android/android_project_migration_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/android/android_project_migration_test.dart", "repo_id": "flutter", "token_count": 6712 }
841
// 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:args/args.dart'; import 'package:args/command_runner.dart'; import 'package:flutter_tools/executable.dart' as executable; import 'package:f...
flutter/packages/flutter_tools/test/general.shard/args_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/args_test.dart", "repo_id": "flutter", "token_count": 4732 }
842
// 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/deferred_component.dart'; import 'package:flutter_tools/src/base/file_system.dart...
flutter/packages/flutter_tools/test/general.shard/base/deferred_component_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/base/deferred_component_test.dart", "repo_id": "flutter", "token_count": 5714 }
843
// 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/utils.dart'; import '../src/common.dart'; void main() { group('ItemListNotifier', () { test('sends notificat...
flutter/packages/flutter_tools/test/general.shard/base_utils_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/base_utils_test.dart", "repo_id": "flutter", "token_count": 489 }
844
// 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/build_system/targets/icon_tree_shaker_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/build_system/targets/icon_tree_shaker_test.dart", "repo_id": "flutter", "token_count": 7785 }
845
// 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:flutter_tools/src/base/io.dart'; import 'package:flutter_tools/src/base/logger.dart'; import 'package:flutter_tools/s...
flutter/packages/flutter_tools/test/general.shard/commands/daemon_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/commands/daemon_test.dart", "repo_id": "flutter", "token_count": 1006 }
846
// 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/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'p...
flutter/packages/flutter_tools/test/general.shard/dap/flutter_adapter_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/dap/flutter_adapter_test.dart", "repo_id": "flutter", "token_count": 12245 }
847
// 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/config.dart'; import 'package:flutter_tools/src/base/platform.dart'; import 'package:flutter_tools/src/features.dart...
flutter/packages/flutter_tools/test/general.shard/features_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/features_test.dart", "repo_id": "flutter", "token_count": 4830 }
848
// 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/application_package.dart'; import 'package:flutter_tools/src/asset.dart'; import 'package:flutter_tools/src/build_info.da...
flutter/packages/flutter_tools/test/general.shard/hot_shared.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/hot_shared.dart", "repo_id": "flutter", "token_count": 1918 }
849
// 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/base/version.dart'; import 'package:flutter_tools/src/ios/ios_work...
flutter/packages/flutter_tools/test/general.shard/ios/ios_workflow_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/ios/ios_workflow_test.dart", "repo_id": "flutter", "token_count": 1613 }
850
// 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:file_testing/file_testing.dart'; import 'package:flutter_tools/src/arti...
flutter/packages/flutter_tools/test/general.shard/isolated/windows/native_assets_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/isolated/windows/native_assets_test.dart", "repo_id": "flutter", "token_count": 7344 }
851
// 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/logger.dart'; import 'package:flutter_tools/src/...
flutter/packages/flutter_tools/test/general.shard/migrations/cmake_project_migration_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/migrations/cmake_project_migration_test.dart", "repo_id": "flutter", "token_count": 4202 }
852
// 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/dds.dart' as dds; import 'package:flutter_tools/src/application_package.dart'; import 'package:flutter_tools/src/...
flutter/packages/flutter_tools/test/general.shard/resident_runner_helpers.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/resident_runner_helpers.dart", "repo_id": "flutter", "token_count": 4806 }
853
// 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/config.dart'; import 'package:...
flutter/packages/flutter_tools/test/general.shard/test/web_test_compiler_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/test/web_test_compiler_test.dart", "repo_id": "flutter", "token_count": 1441 }
854
// 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/base/file_system.dart'; import 'package:flutter_tools/src/base/l...
flutter/packages/flutter_tools/test/general.shard/web/devices_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/web/devices_test.dart", "repo_id": "flutter", "token_count": 5372 }
855
// 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/user_messages.dart'; import 'package:flutter_tools/src/doctor_validator.dart'; import 'package:flutter_tools/src/win...
flutter/packages/flutter_tools/test/general.shard/windows/visual_studio_validator_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/windows/visual_studio_validator_test.dart", "repo_id": "flutter", "token_count": 2905 }
856
// 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/base/io.dart'; import 'package:flutter_tools/src/cache.dart'; ...
flutter/packages/flutter_tools/test/integration.shard/android_gradle_flutter_source_path_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/android_gradle_flutter_source_path_test.dart", "repo_id": "flutter", "token_count": 676 }
857
// 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' as io show ProcessSignal; import 'package:file/file.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flut...
flutter/packages/flutter_tools/test/integration.shard/cache_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/cache_test.dart", "repo_id": "flutter", "token_count": 2720 }
858
// 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:flutter_tools/src/base/io.dart'; import 'package:vm_service/vm_service.dart'; imp...
flutter/packages/flutter_tools/test/integration.shard/flutter_attach_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/flutter_attach_test.dart", "repo_id": "flutter", "token_count": 2816 }
859
// 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. // This test exercises the embedding of the native assets mapping in dill files. // An initial dill file is created by `flutter assemble` and used for runn...
flutter/packages/flutter_tools/test/integration.shard/isolated/native_assets_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/isolated/native_assets_test.dart", "repo_id": "flutter", "token_count": 7116 }
860
// 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 '../test_utils.dart'; import 'project.dart'; class HotReloadProject extends Project { HotReloadProject({super.indexHtml, this.constApp = false});...
flutter/packages/flutter_tools/test/integration.shard/test_data/hot_reload_project.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/test_data/hot_reload_project.dart", "repo_id": "flutter", "token_count": 1234 }
861
// 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/file.dart'; import 'package:vm_service/vm_service.dart'; import 'package:vm_service/vm_service_io.dart'; import...
flutter/packages/flutter_tools/test/integration.shard/timeline_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/timeline_test.dart", "repo_id": "flutter", "token_count": 1524 }
862
// 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:flutter_tools/src/convert.dart'; import 'package:flutter_tools/src/vmservice.dart'; import 'package:test/test.dart' h...
flutter/packages/flutter_tools/test/src/fake_vm_services.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/src/fake_vm_services.dart", "repo_id": "flutter", "token_count": 1568 }
863
// 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. // This file contains a bunch of different index.html "styles" that can be written // by Flutter Web users. // This should be somewhat kept in sync with th...
flutter/packages/flutter_tools/test/web.shard/test_data/hot_reload_index_html_samples.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/web.shard/test_data/hot_reload_index_html_samples.dart", "repo_id": "flutter", "token_count": 3284 }
864
// 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:fuchsia_remote_debug_protocol/src/common/network.dart'; import 'package:test/test.dart'; void main() { final List<String> ipv4Addresses...
flutter/packages/fuchsia_remote_debug_protocol/test/src/common/network_test.dart/0
{ "file_path": "flutter/packages/fuchsia_remote_debug_protocol/test/src/common/network_test.dart", "repo_id": "flutter", "token_count": 367 }
865
# # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do |s| s.name = 'integration_test' s.version = '0.0.1' s.summary = 'Adapter for integration tests.' s.description = <<-DESC Runs tests that use the flutter_test API as integra...
flutter/packages/integration_test/ios/integration_test.podspec/0
{ "file_path": "flutter/packages/integration_test/ios/integration_test.podspec", "repo_id": "flutter", "token_count": 470 }
866
// 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 'dart:io'; import 'package:flutter_test/flutter_test.dart'; import 'package:path/path.dart' as path; final String bat = Pla...
flutter/packages/integration_test/test/binding_fail_test.dart/0
{ "file_path": "flutter/packages/integration_test/test/binding_fail_test.dart", "repo_id": "flutter", "token_count": 1438 }
867
include ':app' def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() def plugins = new Properties() def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') if (pluginsFile.exists()) { pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } } plugins.each { name, path ...
flutter_clock/digital_clock/android/settings.gradle/0
{ "file_path": "flutter_clock/digital_clock/android/settings.gradle", "repo_id": "flutter_clock", "token_count": 155 }
868
// Copyright 2019 The Chromium 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/material.dart'; import 'model.dart'; /// Returns a clock [Widget] with [ClockModel]. /// /// Example: /// final myClockBuilder...
flutter_clock/flutter_clock_helper/lib/customizer.dart/0
{ "file_path": "flutter_clock/flutter_clock_helper/lib/customizer.dart", "repo_id": "flutter_clock", "token_count": 3072 }
869
include: package:flutter_lints/flutter.yaml linter: # In addition to the flutter_lints rules: - always_declare_return_types - avoid_types_on_closure_parameters - avoid_void_async - cancel_subscriptions - close_sinks - directives_ordering - flutter_style_todos - package_api_docs ...
gallery/analysis_options.yaml/0
{ "file_path": "gallery/analysis_options.yaml", "repo_id": "gallery", "token_count": 200 }
870
#import "GeneratedPluginRegistrant.h"
gallery/ios/Runner/Runner-Bridging-Header.h/0
{ "file_path": "gallery/ios/Runner/Runner-Bridging-Header.h", "repo_id": "gallery", "token_count": 13 }
871
export 'package:gallery/demos/cupertino/cupertino_activity_indicator_demo.dart'; export 'package:gallery/demos/cupertino/cupertino_alert_demo.dart'; export 'package:gallery/demos/cupertino/cupertino_button_demo.dart'; export 'package:gallery/demos/cupertino/cupertino_context_menu_demo.dart'; export 'package:gallery/dem...
gallery/lib/demos/cupertino/cupertino_demos.dart/0
{ "file_path": "gallery/lib/demos/cupertino/cupertino_demos.dart", "repo_id": "gallery", "token_count": 361 }
872
// 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/demos/material/material_demo...
gallery/lib/demos/material/button_demo.dart/0
{ "file_path": "gallery/lib/demos/material/button_demo.dart", "repo_id": "gallery", "token_count": 3888 }
873
// 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' as math; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'package:gallery...
gallery/lib/demos/material/sliders_demo.dart/0
{ "file_path": "gallery/lib/demos/material/sliders_demo.dart", "repo_id": "gallery", "token_count": 8944 }
874
// 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:ui'; import 'package:dual_screen/dual_screen.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localiza...
gallery/lib/demos/reference/two_pane_demo.dart/0
{ "file_path": "gallery/lib/demos/reference/two_pane_demo.dart", "repo_id": "gallery", "token_count": 2877 }
875
{ "loading": "Зарежда се", "deselect": "Премахване на избора", "select": "Избиране", "selectable": "Може да се избере (при продължително натискане)", "selected": "Избрано", "demo": "Демонстрация", "bottomAppBar": "Лента в долната част на приложението", "notSelected": "Не е избрано", "demoCupertinoSear...
gallery/lib/l10n/intl_bg.arb/0
{ "file_path": "gallery/lib/l10n/intl_bg.arb", "repo_id": "gallery", "token_count": 38654 }
876
{ "loading": "Chargement en cours…", "deselect": "Désélectionner", "select": "Sélectionner", "selectable": "Peut être sélectionné (avec un appui prolongé)", "selected": "Sélectionné", "demo": "Démo", "bottomAppBar": "Barre d'applications inférieure", "notSelected": "Non sélectionné", "demoCupertinoSea...
gallery/lib/l10n/intl_fr_CA.arb/0
{ "file_path": "gallery/lib/l10n/intl_fr_CA.arb", "repo_id": "gallery", "token_count": 19605 }
877
{ "loading": "កំពុងផ្ទុក", "deselect": "ដក​ការជ្រើសរើស", "select": "ជ្រើសរើស", "selectable": "អាចជ្រើសរើសបាន (ចុចឱ្យយូរ)", "selected": "បានជ្រើសរើស", "demo": "គំរូបង្ហាញ", "bottomAppBar": "របារកម្មវិធី​ផ្នែកខាងក្រោម", "notSelected": "មិនបាន​ជ្រើសរើស", "demoCupertinoSearchTextFieldTitle": "កន្លែងបញ្ចូល...
gallery/lib/l10n/intl_km.arb/0
{ "file_path": "gallery/lib/l10n/intl_km.arb", "repo_id": "gallery", "token_count": 73944 }
878
{ "loading": "ଲୋଡ ହେଉଛି", "deselect": "ଅଚୟନ କରନ୍ତୁ", "select": "ଚୟନ କରନ୍ତୁ", "selectable": "ଚୟନ କରିବା ଯୋଗ୍ୟ (ଅଧିକ ସମୟ ଦବାନ୍ତୁ)", "selected": "ଚୟନ କରାଯାଇଛି", "demo": "ଡେମୋ", "bottomAppBar": "ନିମ୍ନ ଆପ ବାର", "notSelected": "ଚୟନ କରାଯାଇନାହିଁ", "demoCupertinoSearchTextFieldTitle": "ସନ୍ଧାନ ଟେକ୍ସଟ ଫିଲ୍ଡ", "...
gallery/lib/l10n/intl_or.arb/0
{ "file_path": "gallery/lib/l10n/intl_or.arb", "repo_id": "gallery", "token_count": 73989 }
879
{ "loading": "ஏற்றுகிறது", "deselect": "தேர்வு நீக்கு", "select": "தேர்ந்தெடு", "selectable": "தேர்ந்தெடுக்கக்கூடியது (நீண்ட நேரம் அழுத்தவும்)", "selected": "தேர்ந்தெடுக்கப்பட்டது", "demo": "டெமோ", "bottomAppBar": "ஆப்ஸின் அடிப்பகுதியிலுள்ள பட்டி", "notSelected": "தேர்ந்தெடுக்கப்படவில்லை", "demoCupert...
gallery/lib/l10n/intl_ta.arb/0
{ "file_path": "gallery/lib/l10n/intl_ta.arb", "repo_id": "gallery", "token_count": 74048 }
880
// Copyright 2020 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'; /// An image that shows a [placeholder] widget while the target [image] is /// loading, then fades in the new image wh...
gallery/lib/layout/image_placeholder.dart/0
{ "file_path": "gallery/lib/layout/image_placeholder.dart", "repo_id": "gallery", "token_count": 718 }
881
// 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/services.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'pack...
gallery/lib/studies/crane/backdrop.dart/0
{ "file_path": "gallery/lib/studies/crane/backdrop.dart", "repo_id": "gallery", "token_count": 6496 }
882
// 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/studies/fortnightly/shared.dart/0
{ "file_path": "gallery/lib/studies/fortnightly/shared.dart", "repo_id": "gallery", "token_count": 8157 }
883
// 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:gallery/layout/adaptive.dart'; import 'package:gallery/studies/rally/colors.dart'; import 'package:gal...
gallery/lib/studies/rally/tabs/settings.dart/0
{ "file_path": "gallery/lib/studies/rally/tabs/settings.dart", "repo_id": "gallery", "token_count": 753 }
884
// 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/studies/shrine/app.dart/0
{ "file_path": "gallery/lib/studies/shrine/app.dart", "repo_id": "gallery", "token_count": 2596 }
885
// 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:ui' show lerpDouble; import 'package:flutter/material.dart'; class CutCornersBorder extends OutlineInputBorder { const CutCornersBorder({ ...
gallery/lib/studies/shrine/supplemental/cut_corners_border.dart/0
{ "file_path": "gallery/lib/studies/shrine/supplemental/cut_corners_border.dart", "repo_id": "gallery", "token_count": 1557 }
886
// Copyright 2020 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:web_benchmarks/client.dart'; import 'common.dart'; import 'gallery_automator.dart'; import 'gallery_recorder.dart'; typedef RecorderFactory ...
gallery/test_benchmarks/benchmarks/client.dart/0
{ "file_path": "gallery/test_benchmarks/benchmarks/client.dart", "repo_id": "gallery", "token_count": 506 }
887
# api [![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link] [![License: MIT][license_badge]][license_link] [![Powered by Dart Frog](https://img.shields.io/endpoint?url=https://tinyurl.com/dartfrog-badge)](https://dartfrog.vgv.dev) API used on the I/O FLIP card game for Google I/O. Used en...
io_flip/api/README.md/0
{ "file_path": "io_flip/api/README.md", "repo_id": "io_flip", "token_count": 239 }
888
include: package:very_good_analysis/analysis_options.3.1.0.yaml
io_flip/api/packages/card_renderer/analysis_options.yaml/0
{ "file_path": "io_flip/api/packages/card_renderer/analysis_options.yaml", "repo_id": "io_flip", "token_count": 23 }
889
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'deck.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Deck _$DeckFromJson(Map<String, dynamic> json) => Deck( id: jso...
io_flip/api/packages/game_domain/lib/src/models/deck.g.dart/0
{ "file_path": "io_flip/api/packages/game_domain/lib/src/models/deck.g.dart", "repo_id": "io_flip", "token_count": 290 }
890
import 'package:game_domain/game_domain.dart'; import 'package:game_script_machine/game_script_machine.dart'; /// {@template match_resolution_failure} /// Throw when a round cannot be resolved. /// {@endtemplate} class MatchResolutionFailure implements Exception { /// {@macro match_resolution_failure} MatchResolut...
io_flip/api/packages/game_domain/lib/src/solvers/match_solver.dart/0
{ "file_path": "io_flip/api/packages/game_domain/lib/src/solvers/match_solver.dart", "repo_id": "io_flip", "token_count": 1393 }
891
include: package:very_good_analysis/analysis_options.4.0.0.yaml
io_flip/api/packages/game_script_machine/analysis_options.yaml/0
{ "file_path": "io_flip/api/packages/game_script_machine/analysis_options.yaml", "repo_id": "io_flip", "token_count": 23 }
892
import 'dart:math'; import 'package:db_client/db_client.dart'; import 'package:prompt_repository/prompt_repository.dart'; /// {@template language_model_repository} /// Repository providing access language model services /// {@endtemplate} class LanguageModelRepository { /// {@macro language_model_repository} Lang...
io_flip/api/packages/language_model_repository/lib/src/language_model_repository.dart/0
{ "file_path": "io_flip/api/packages/language_model_repository/lib/src/language_model_repository.dart", "repo_id": "io_flip", "token_count": 657 }
893
name: match_repository description: Access to Match datasource version: 0.1.0+1 publish_to: none environment: sdk: ">=3.0.0 <4.0.0" dependencies: cards_repository: path: ../cards_repository db_client: path: ../db_client equatable: ^2.0.5 game_domain: path: ../game_domain image_model_repository...
io_flip/api/packages/match_repository/pubspec.yaml/0
{ "file_path": "io_flip/api/packages/match_repository/pubspec.yaml", "repo_id": "io_flip", "token_count": 243 }
894
// ignore_for_file: prefer_const_constructors import 'package:db_client/db_client.dart'; import 'package:game_script_machine/game_script_machine.dart'; import 'package:mocktail/mocktail.dart'; import 'package:scripts_repository/scripts_repository.dart'; import 'package:test/test.dart'; class _MockDbClient extends Mock...
io_flip/api/packages/scripts_repository/test/src/scripts_repository_test.dart/0
{ "file_path": "io_flip/api/packages/scripts_repository/test/src/scripts_repository_test.dart", "repo_id": "io_flip", "token_count": 1319 }
895
import 'dart:async'; import 'dart:io'; import 'package:dart_frog/dart_frog.dart'; import 'package:match_repository/match_repository.dart'; FutureOr<Response> onRequest(RequestContext context, String matchId) async { if (context.request.method == HttpMethod.get) { final matchRepository = context.read<MatchReposi...
io_flip/api/routes/game/matches/[matchId]/index.dart/0
{ "file_path": "io_flip/api/routes/game/matches/[matchId]/index.dart", "repo_id": "io_flip", "token_count": 203 }
896
import 'dart:io'; import 'package:dart_frog/dart_frog.dart'; import 'package:game_domain/game_domain.dart'; import 'package:leaderboard_repository/leaderboard_repository.dart'; import 'package:mocktail/mocktail.dart'; import 'package:test/test.dart'; import '../../../../../routes/game/leaderboard/results/index.dart' ...
io_flip/api/test/routes/game/leaderboard/results/index_test.dart/0
{ "file_path": "io_flip/api/test/routes/game/leaderboard/results/index_test.dart", "repo_id": "io_flip", "token_count": 1130 }
897
import 'dart:io'; import 'package:data_loader/data_loader.dart'; import 'package:mocktail/mocktail.dart'; import 'package:path/path.dart' as path; import 'package:test/test.dart'; class _MockFile extends Mock implements File {} void main() { group('ImageLoader', () { late File csv; late File image; lat...
io_flip/api/tools/data_loader/test/src/image_loader_test.dart/0
{ "file_path": "io_flip/api/tools/data_loader/test/src/image_loader_test.dart", "repo_id": "io_flip", "token_count": 1145 }
898
import 'package:flop/flop/flop.dart'; import 'package:flutter/material.dart'; class App extends StatelessWidget { const App({ super.key, required this.setAppCheckDebugToken, required this.reload, }); final void Function(String) setAppCheckDebugToken; final void Function() reload; @override Wi...
io_flip/flop/lib/app/view/app.dart/0
{ "file_path": "io_flip/flop/lib/app/view/app.dart", "repo_id": "io_flip", "token_count": 285 }
899
export 'view/app.dart';
io_flip/lib/app/app.dart/0
{ "file_path": "io_flip/lib/app/app.dart", "repo_id": "io_flip", "token_count": 10 }
900
import 'package:api_client/api_client.dart'; import 'package:bloc/bloc.dart'; import 'package:equatable/equatable.dart'; import 'package:game_domain/game_domain.dart'; import 'package:io_flip/audio/audio_controller.dart'; import 'package:io_flip/gen/assets.gen.dart'; part 'draft_event.dart'; part 'draft_state.dart'; ...
io_flip/lib/draft/bloc/draft_bloc.dart/0
{ "file_path": "io_flip/lib/draft/bloc/draft_bloc.dart", "repo_id": "io_flip", "token_count": 1844 }
901
import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:game_domain/game_domain.dart'; import 'package:go_router/go_router.dart'; import 'package:io_flip/audio/audio.dart'; import 'package:io_flip/audio/audio_controller.dart'; import 'package:io_fli...
io_flip/lib/game/views/game_summary.dart/0
{ "file_path": "io_flip/lib/game/views/game_summary.dart", "repo_id": "io_flip", "token_count": 5973 }
902
import 'package:flutter/material.dart'; class FadeAnimatedSwitcher extends StatelessWidget { const FadeAnimatedSwitcher({ required this.duration, required this.child, super.key, }); final Duration duration; final Widget child; @override Widget build(BuildContext context) { return Animated...
io_flip/lib/how_to_play/widgets/fade_animated_switcher.dart/0
{ "file_path": "io_flip/lib/how_to_play/widgets/fade_animated_switcher.dart", "repo_id": "io_flip", "token_count": 247 }
903
export 'bloc/initials_form_bloc.dart'; export 'view/initials_form.dart'; export 'view/initials_form_view.dart';
io_flip/lib/leaderboard/initials_form/initials_form.dart/0
{ "file_path": "io_flip/lib/leaderboard/initials_form/initials_form.dart", "repo_id": "io_flip", "token_count": 45 }
904
part of 'match_making_bloc.dart'; enum MatchMakingStatus { initial, processing, timeout, failed, completed, } class MatchMakingState extends Equatable { const MatchMakingState({ required this.status, this.isHost = false, this.match, }); const MatchMakingState.initial() : this( ...
io_flip/lib/match_making/bloc/match_making_state.dart/0
{ "file_path": "io_flip/lib/match_making/bloc/match_making_state.dart", "repo_id": "io_flip", "token_count": 317 }
905
import 'package:flutter/material.dart'; class SnapItemScrollPhysics extends ScrollPhysics { /// Creates physics that snaps an item into place. const SnapItemScrollPhysics({ required this.itemExtent, super.parent, }); final double itemExtent; @override SnapItemScrollPhysics applyTo(ScrollPhysics? ...
io_flip/lib/prompt/widgets/snap_item_scroll_physics.dart/0
{ "file_path": "io_flip/lib/prompt/widgets/snap_item_scroll_physics.dart", "repo_id": "io_flip", "token_count": 589 }
906
part of 'download_bloc.dart'; abstract class DownloadEvent extends Equatable { const DownloadEvent(); } class DownloadCardsRequested extends DownloadEvent { const DownloadCardsRequested({required this.cards}); final List<Card> cards; @override List<Object> get props => [cards]; } class DownloadDeckReques...
io_flip/lib/share/bloc/download_event.dart/0
{ "file_path": "io_flip/lib/share/bloc/download_event.dart", "repo_id": "io_flip", "token_count": 136 }
907
import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:io_flip/l10n/l10n.dart'; import 'package:io_flip/terms_of_use/terms_of_use.dart'; import 'package:io_flip/utils/utils.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; clas...
io_flip/lib/terms_of_use/view/terms_of_use_view.dart/0
{ "file_path": "io_flip/lib/terms_of_use/view/terms_of_use_view.dart", "repo_id": "io_flip", "token_count": 1087 }
908
import 'dart:convert'; import 'dart:io'; import 'package:api_client/api_client.dart'; import 'package:game_domain/game_domain.dart'; /// {@template prompt_resource} /// An api resource to get the prompt terms. /// {@endtemplate} class PromptResource { /// {@macro prompt_resource} PromptResource({ required Api...
io_flip/packages/api_client/lib/src/resources/prompt_resource.dart/0
{ "file_path": "io_flip/packages/api_client/lib/src/resources/prompt_resource.dart", "repo_id": "io_flip", "token_count": 482 }
909
import 'dart:async'; import 'package:authentication_repository/authentication_repository.dart'; import 'package:firebase_auth/firebase_auth.dart' as fb; /// {@template authentication_exception} /// Exception thrown when an authentication process fails. /// {@endtemplate} class AuthenticationException implements Excep...
io_flip/packages/authentication_repository/lib/src/authentication_repository.dart/0
{ "file_path": "io_flip/packages/authentication_repository/lib/src/authentication_repository.dart", "repo_id": "io_flip", "token_count": 832 }
910
include: package:very_good_analysis/analysis_options.4.0.0.yaml
io_flip/packages/connection_repository/analysis_options.yaml/0
{ "file_path": "io_flip/packages/connection_repository/analysis_options.yaml", "repo_id": "io_flip", "token_count": 23 }
911
include: package:very_good_analysis/analysis_options.3.1.0.yaml linter: rules: public_member_api_docs: false
io_flip/packages/io_flip_ui/gallery/analysis_options.yaml/0
{ "file_path": "io_flip/packages/io_flip_ui/gallery/analysis_options.yaml", "repo_id": "io_flip", "token_count": 44 }
912
import 'package:flutter/material.dart'; import 'package:gallery/story_scaffold.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; class GameCardOverlayStory extends StatelessWidget { const GameCardOverlayStory({super.key}); @override Widget build(BuildContext context) { return const StoryScaffold( ti...
io_flip/packages/io_flip_ui/gallery/lib/widgets/game_card_overlay_story.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/gallery/lib/widgets/game_card_overlay_story.dart", "repo_id": "io_flip", "token_count": 1628 }
913
/// GENERATED CODE - DO NOT MODIFY BY HAND /// ***************************************************** /// FlutterGen /// ***************************************************** // coverage:ignore-file // ignore_for_file: type=lint // ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,d...
io_flip/packages/io_flip_ui/lib/gen/fonts.gen.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/gen/fonts.gen.dart", "repo_id": "io_flip", "token_count": 168 }
914
import 'package:flutter/animation.dart'; import 'package:flutter/rendering.dart'; /// {@template transform_tween} /// A [Tween] that interpolates between [Matrix4]s, but /// constructed using arguments for translation, rotation and scale. /// {@endtemplate} class TransformTween extends Tween<Matrix4> { /// {@macro t...
io_flip/packages/io_flip_ui/lib/src/animations/transform_tween.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/animations/transform_tween.dart", "repo_id": "io_flip", "token_count": 1580 }
915
import 'package:flame/cache.dart'; import 'package:flame/extensions.dart'; import 'package:flame/widgets.dart'; import 'package:flutter/material.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; import 'package:provider/provider.dart'; /// {@template charge_front} /// A widget that renders a [SpriteAnimation] for th...
io_flip/packages/io_flip_ui/lib/src/widgets/damages/charge_front.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/widgets/damages/charge_front.dart", "repo_id": "io_flip", "token_count": 1746 }
916
import 'package:flutter/material.dart'; import 'package:io_flip_ui/gen/assets.gen.dart'; /// {@template io_flip_scaffold} /// IO Flip scaffold that adds the background pattern. /// {@endtemplate} class IoFlipScaffold extends StatelessWidget { /// {@macro io_flip_scaffold} const IoFlipScaffold({ super.key, ...
io_flip/packages/io_flip_ui/lib/src/widgets/io_flip_scaffold.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/widgets/io_flip_scaffold.dart", "repo_id": "io_flip", "token_count": 467 }
917
import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; void main() { group('AnimatedCard', () { late AnimatedCardController controller; const front = Text('front'); const back = Text('back'); setUp((...
io_flip/packages/io_flip_ui/test/src/widgets/animated_card_test.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/test/src/widgets/animated_card_test.dart", "repo_id": "io_flip", "token_count": 2254 }
918
// ignore_for_file: prefer_const_constructors import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; void main() { group('IoFlipBottomBar', () { testWidgets('renders correctly', (tester) async { await tester.pumpWidget(IoFlipBo...
io_flip/packages/io_flip_ui/test/src/widgets/io_flip_bottom_bar_test.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/test/src/widgets/io_flip_bottom_bar_test.dart", "repo_id": "io_flip", "token_count": 1093 }
919
import 'dart:developer'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter/foundation.dart'; import 'package:game_domain/game_domain.dart'; import 'package:match_maker_repository/match_maker_repository.dart'; import 'package:uuid/uuid.dart'; const _inviteKey = 'INVITE'; /// Represents an...
io_flip/packages/match_maker_repository/lib/src/match_maker_repository.dart/0
{ "file_path": "io_flip/packages/match_maker_repository/lib/src/match_maker_repository.dart", "repo_id": "io_flip", "token_count": 3044 }
920
import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip/app_lifecycle/app_lifecycle.dart'; void main() { group('AppLifecycleObserver', () { testWidgets('renders correctly', (tester) async { await tester.pumpWidget( const MaterialApp( ...
io_flip/test/app_lifecycle/app_lifecycle_test.dart/0
{ "file_path": "io_flip/test/app_lifecycle/app_lifecycle_test.dart", "repo_id": "io_flip", "token_count": 586 }
921