text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// Copyright 2013 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:pigeon/pigeon.dart'; @HostApi() abstract class BackgroundApi2Host { @TaskQueue(type: TaskQueueType.serialBackgroundThread) int add(int...
packages/packages/pigeon/pigeons/background_platform_channels.dart/0
{ "file_path": "packages/packages/pigeon/pigeons/background_platform_channels.dart", "repo_id": "packages", "token_count": 104 }
1,012
// Copyright 2013 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. package com.example.alternate_language_test_plugin; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import com.example.alternate_l...
packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/PrimitiveTest.java/0
{ "file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/PrimitiveTest.java", "repo_id": "packages", "token_count": 3245 }
1,013
// Copyright 2013 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 Flutter; @import Foundation; NS_ASSUME_NONNULL_BEGIN /// A FlutterBinaryMessenger who replies with the first argument sent to it. @interface Echo...
packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/EchoMessenger.h/0
{ "file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/EchoMessenger.h", "repo_id": "packages", "token_count": 163 }
1,014
// Copyright 2013 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 "AlternateLanguageTestPlugin.h" #import "CoreTests.gen.h" @interface AlternateLanguageTestPlugin () @property(nonatomic) FLTFlutterIntegrationCor...
packages/packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/AlternateLanguageTestPlugin.m/0
{ "file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/AlternateLanguageTestPlugin.m", "repo_id": "packages", "token_count": 9601 }
1,015
// Copyright 2013 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/material.dart'; import 'generated.dart'; void main() { runApp(const ExampleApp()); } /// A trivial example that validates that...
packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/example_app.dart/0
{ "file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/example_app.dart", "repo_id": "packages", "token_count": 550 }
1,016
// Copyright 2013 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 specifically tests the test code generated by dartTestOut. import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test....
packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/genered_dart_test_code_test.dart/0
{ "file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/genered_dart_test_code_test.dart", "repo_id": "packages", "token_count": 1123 }
1,017
group 'com.example.test_plugin' version '1.0-SNAPSHOT' buildscript { ext.kotlin_version = '1.9.22' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:8.0.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_versi...
packages/packages/pigeon/platform_tests/test_plugin/android/build.gradle/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/build.gradle", "repo_id": "packages", "token_count": 759 }
1,018
org.gradle.jvmargs=-Xmx1536M android.useAndroidX=true android.enableJetifier=true
packages/packages/pigeon/platform_tests/test_plugin/example/android/gradle.properties/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/android/gradle.properties", "repo_id": "packages", "token_count": 31 }
1,019
// Copyright 2013 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 @testable import test_plugin class ListTests: XCTestCase { func testListInList() throws { let inside = TestMessage(testList: [1, 2, ...
packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/ListTests.swift/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/ListTests.swift", "repo_id": "packages", "token_count": 378 }
1,020
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
packages/packages/pigeon/platform_tests/test_plugin/example/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/macos/Runner/Configs/Release.xcconfig", "repo_id": "packages", "token_count": 32 }
1,021
// Copyright 2013 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. #include "echo_messenger.h" #include <flutter/encodable_value.h> #include <flutter/message_codec.h> namespace testing { EchoMessenger::EchoMessenger( ...
packages/packages/pigeon/platform_tests/test_plugin/windows/test/utils/echo_messenger.cpp/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/test/utils/echo_messenger.cpp", "repo_id": "packages", "token_count": 441 }
1,022
// Copyright 2013 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:pigeon/ast.dart'; import 'package:pigeon/generator_tools.dart'; import 'package:pigeon/objc_generator.dart'; import 'package:pigeon/pigeon_...
packages/packages/pigeon/test/objc_generator_test.dart/0
{ "file_path": "packages/packages/pigeon/test/objc_generator_test.dart", "repo_id": "packages", "token_count": 46472 }
1,023
## NEXT * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. ## 3.1.4 * Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. * Fixes new lint warnings. ## 3.1.3 * Adds example app. ## 3.1.2 * Adds pub topics to package metadata. * Updates minimum supported SDK version to Flutter 3.7/Dart ...
packages/packages/platform/CHANGELOG.md/0
{ "file_path": "packages/packages/platform/CHANGELOG.md", "repo_id": "packages", "token_count": 676 }
1,024
## 0.10.2 * Updates web code to package `web: ^0.5.0`. * Updates SDK version to Dart `^3.3.0`. Flutter `^3.19.0`. ## 0.10.1+2 * Fixes "width and height missing" warning on web. ## 0.10.1+1 * Updates minimum required plugin_platform_interface version to 2.1.7. ## 0.10.1 * Uses `HtmlElementView.fromTagName` instea...
packages/packages/pointer_interceptor/pointer_interceptor_web/CHANGELOG.md/0
{ "file_path": "packages/packages/pointer_interceptor/pointer_interceptor_web/CHANGELOG.md", "repo_id": "packages", "token_count": 187 }
1,025
name: pointer_interceptor_web description: Web implementation of the pointer_interceptor plugin. repository: https://github.com/flutter/packages/tree/main/packages/pointer_interceptor/pointer_interceptor_web issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3Apointer_interceptor vers...
packages/packages/pointer_interceptor/pointer_interceptor_web/pubspec.yaml/0
{ "file_path": "packages/packages/pointer_interceptor/pointer_interceptor_web/pubspec.yaml", "repo_id": "packages", "token_count": 319 }
1,026
// Copyright 2013 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'; /// Decodes a UTF8-encoded byte array into a list of Strings, where each list /// entry represents a line of text. List<String> dec...
packages/packages/process/test/utils.dart/0
{ "file_path": "packages/packages/process/test/utils.dart", "repo_id": "packages", "token_count": 169 }
1,027
name: quick_actions description: Flutter plugin for creating shortcuts on home screen, also known as Quick Actions on iOS and App Shortcuts on Android. repository: https://github.com/flutter/packages/tree/main/packages/quick_actions/quick_actions issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+i...
packages/packages/quick_actions/quick_actions/pubspec.yaml/0
{ "file_path": "packages/packages/quick_actions/quick_actions/pubspec.yaml", "repo_id": "packages", "token_count": 360 }
1,028
#include "ephemeral/Flutter-Generated.xcconfig"
packages/packages/rfw/example/hello/macos/Flutter/Flutter-Release.xcconfig/0
{ "file_path": "packages/packages/rfw/example/hello/macos/Flutter/Flutter-Release.xcconfig", "repo_id": "packages", "token_count": 19 }
1,029
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
packages/packages/rfw/example/remote/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "packages/packages/rfw/example/remote/macos/Runner/Configs/Debug.xcconfig", "repo_id": "packages", "token_count": 32 }
1,030
name: rfw description: "Remote Flutter widgets: a library for rendering declarative widget description files at runtime." repository: https://github.com/flutter/packages/tree/main/packages/rfw issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+rfw%22 version: 1.0.26 environ...
packages/packages/rfw/pubspec.yaml/0
{ "file_path": "packages/packages/rfw/pubspec.yaml", "repo_id": "packages", "token_count": 216 }
1,031
// Copyright 2013 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. // Autogenerated from Pigeon (v9.2.5), do not edit directly. // See also: https://pub.dev/packages/pigeon package io.flutter.plugins.sharedpreferences; im...
packages/packages/shared_preferences/shared_preferences_android/android/src/main/java/io/flutter/plugins/sharedpreferences/Messages.java/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences_android/android/src/main/java/io/flutter/plugins/sharedpreferences/Messages.java", "repo_id": "packages", "token_count": 5923 }
1,032
// Copyright 2013 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/foundation.dart'; import 'package:flutter/services.dart'; import 'package:shared_preferences_platform_interface/shared_preferences_...
packages/packages/shared_preferences/shared_preferences_android/lib/shared_preferences_android.dart/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences_android/lib/shared_preferences_android.dart", "repo_id": "packages", "token_count": 1050 }
1,033
name: two_dimensional_scrollables description: Widgets that scroll using the two dimensional scrolling foundation. version: 0.1.2 repository: https://github.com/flutter/packages/tree/main/packages/two_dimensional_scrollables issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A...
packages/packages/two_dimensional_scrollables/pubspec.yaml/0
{ "file_path": "packages/packages/two_dimensional_scrollables/pubspec.yaml", "repo_id": "packages", "token_count": 221 }
1,034
// Copyright 2013 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 Flutter import XCTest @testable import url_launcher_ios // Tests whether NSURL parsing is strict. When linking against the iOS 17 SDK or later, //...
packages/packages/url_launcher/url_launcher_ios/example/ios/RunnerTests/URLLauncherTests.swift/0
{ "file_path": "packages/packages/url_launcher/url_launcher_ios/example/ios/RunnerTests/URLLauncherTests.swift", "repo_id": "packages", "token_count": 1647 }
1,035
// Copyright 2013 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:pigeon/pigeon.dart'; @ConfigurePigeon(PigeonOptions( dartOut: 'lib/src/messages.g.dart', swiftOut: 'ios/Classes/messages.g.swift', c...
packages/packages/url_launcher/url_launcher_ios/pigeons/messages.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_ios/pigeons/messages.dart", "repo_id": "packages", "token_count": 479 }
1,036
// Copyright 2013 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/services.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:url_launcher_platform_interface/url_launcher_platf...
packages/packages/url_launcher/url_launcher_windows/test/url_launcher_windows_test.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_windows/test/url_launcher_windows_test.dart", "repo_id": "packages", "token_count": 1893 }
1,037
group 'io.flutter.plugins.videoplayer' version '1.0-SNAPSHOT' def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"] buildscript { repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.2.1' } } rootProject.allprojects { ...
packages/packages/video_player/video_player_android/android/build.gradle/0
{ "file_path": "packages/packages/video_player/video_player_android/android/build.gradle", "repo_id": "packages", "token_count": 918 }
1,038
## NEXT * Updates minimum iOS version to 12.0 and minimum Flutter version to 3.16.6. ## 2.5.6 * Adds privacy manifest. ## 2.5.5 * Fixes display of initial frame when paused. ## 2.5.4 * Fixes new lint warnings. ## 2.5.3 * Publishes an instance of the plugin to the registrar on macOS, as on iOS. ## 2.5.2 * Fix...
packages/packages/video_player/video_player_avfoundation/CHANGELOG.md/0
{ "file_path": "packages/packages/video_player/video_player_avfoundation/CHANGELOG.md", "repo_id": "packages", "token_count": 1086 }
1,039
// Copyright 2013 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 AVFoundation; @import video_player_avfoundation; @import XCTest; #import <OCMock/OCMock.h> #import <video_player_avfoundation/AVAssetTrackUtils.h>...
packages/packages/video_player/video_player_avfoundation/darwin/RunnerTests/VideoPlayerTests.m/0
{ "file_path": "packages/packages/video_player/video_player_avfoundation/darwin/RunnerTests/VideoPlayerTests.m", "repo_id": "packages", "token_count": 13469 }
1,040
// Copyright 2013 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:pigeon/pigeon.dart'; @ConfigurePigeon(PigeonOptions( dartOut: 'lib/src/messages.g.dart', dartTestOut: 'test/test_api.g.dart', objcHe...
packages/packages/video_player/video_player_avfoundation/pigeons/messages.dart/0
{ "file_path": "packages/packages/video_player/video_player_avfoundation/pigeons/messages.dart", "repo_id": "packages", "token_count": 730 }
1,041
name: video_player_web description: Web platform implementation of video_player. repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player_web issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22 version: 2.3.0 environment: ...
packages/packages/video_player/video_player_web/pubspec.yaml/0
{ "file_path": "packages/packages/video_player/video_player_web/pubspec.yaml", "repo_id": "packages", "token_count": 303 }
1,042
// Copyright 2013 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. // ignore_for_file: avoid_print import 'dart:async'; import 'dart:convert' show json; import 'dart:io' as io; import 'package:logging/logging.dart'; impo...
packages/packages/web_benchmarks/lib/src/runner.dart/0
{ "file_path": "packages/packages/web_benchmarks/lib/src/runner.dart", "repo_id": "packages", "token_count": 5087 }
1,043
// Copyright 2013 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/material.dart'; class IconGeneratorPage extends StatefulWidget { const IconGeneratorPage({super.key}); static int defaultIcon...
packages/packages/web_benchmarks/testing/test_app/lib/icon_page.dart/0
{ "file_path": "packages/packages/web_benchmarks/testing/test_app/lib/icon_page.dart", "repo_id": "packages", "token_count": 511 }
1,044
org.gradle.jvmargs=-Xmx4G android.useAndroidX=true android.enableJetifier=true
packages/packages/webview_flutter/webview_flutter/example/android/gradle.properties/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter/example/android/gradle.properties", "repo_id": "packages", "token_count": 30 }
1,045
// Mocks generated by Mockito 5.4.4 from annotations // in webview_flutter/test/webview_controller_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i5; import 'dart:ui' as _i3; import 'package:mockito/mockito.dart' as _i1; import 'pa...
packages/packages/webview_flutter/webview_flutter/test/webview_controller_test.mocks.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter/test/webview_controller_test.mocks.dart", "repo_id": "packages", "token_count": 7760 }
1,046
// Copyright 2013 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. package io.flutter.plugins.webviewflutter; import android.os.Handler; import androidx.annotation.NonNull; import io.flutter.plugins.webviewflutter.Generat...
packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/JavaScriptChannelHostApiImpl.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/JavaScriptChannelHostApiImpl.java", "repo_id": "packages", "token_count": 872 }
1,047
// Copyright 2013 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. package io.flutter.plugins.webviewflutter; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static or...
packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/CustomViewCallbackTest.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/CustomViewCallbackTest.java", "repo_id": "packages", "token_count": 709 }
1,048
// Copyright 2013 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. package io.flutter.plugins.webviewflutter; import static org.junit.Assert.assertEquals; import static org.mockito.ArgumentMatchers.any; import static org....
packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/WebViewClientTest.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/WebViewClientTest.java", "repo_id": "packages", "token_count": 2138 }
1,049
// Copyright 2013 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_test/flutter_test.dart'; import 'package:mockito/annotations.dart'; import 'package:mockito/mockito.dart'; import 'package:webview_...
packages/packages/webview_flutter/webview_flutter_android/test/android_webview_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/test/android_webview_test.dart", "repo_id": "packages", "token_count": 20862 }
1,050
// Copyright 2013 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/cupertino.dart'; /// Types of resources that can require permissions. /// /// Platform specific implementations can create their o...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/platform_webview_permission_request.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/platform_webview_permission_request.dart", "repo_id": "packages", "token_count": 876 }
1,051
// Copyright 2013 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:html' as html; import 'dart:ui_web' as ui_web; import 'package:flutter/cupertino.dart'; import 'package:webview_flutte...
packages/packages/webview_flutter/webview_flutter_web/lib/src/web_webview_controller.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_web/lib/src/web_webview_controller.dart", "repo_id": "packages", "token_count": 1585 }
1,052
// Copyright 2013 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. // Autogenerated from Pigeon (v13.0.0), do not edit directly. // See also: https://pub.dev/packages/pigeon #import "FWFGeneratedWebKitApis.h" #if TARGET_O...
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFGeneratedWebKitApis.m/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFGeneratedWebKitApis.m", "repo_id": "packages", "token_count": 73247 }
1,053
// Copyright 2013 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 <Flutter/Flutter.h> #import <WebKit/WebKit.h> #import "FWFGeneratedWebKitApis.h" #import "FWFInstanceManager.h" #import "FWFObjectHostApi.h" NS_A...
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebViewConfigurationHostApi.h/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebViewConfigurationHostApi.h", "repo_id": "packages", "token_count": 562 }
1,054
// Copyright 2013 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/foundation.dart'; import 'package:flutter/services.dart'; import '../common/instance_manager.dart'; import '../common/web_kit.g.da...
packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/foundation/foundation_api_impls.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/foundation/foundation_api_impls.dart", "repo_id": "packages", "token_count": 4097 }
1,055
name: webview_flutter_wkwebview description: A Flutter plugin that provides a WebView widget based on Apple's WKWebView control. repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter_wkwebview issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+la...
packages/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml", "repo_id": "packages", "token_count": 352 }
1,056
# Packages that are excluded from dart unit tests # # We exclude flutter_image because its tests need a test server, # so are run via custom_package_tests. - flutter_image
packages/script/configs/dart_unit_tests_exceptions.yaml/0
{ "file_path": "packages/script/configs/dart_unit_tests_exceptions.yaml", "repo_id": "packages", "token_count": 48 }
1,057
// Copyright 2013 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:http/http.dart' as http; import 'package:pub_semver/pub_semver.dart'; /// Finding version of [package] that is pub...
packages/script/tool/lib/src/common/pub_version_finder.dart/0
{ "file_path": "packages/script/tool/lib/src/common/pub_version_finder.dart", "repo_id": "packages", "token_count": 1128 }
1,058
// Copyright 2013 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 'common/package_command.dart'; import 'common/repository_package.dart'; /// A command to list different types of ...
packages/script/tool/lib/src/list_command.dart/0
{ "file_path": "packages/script/tool/lib/src/list_command.dart", "repo_id": "packages", "token_count": 692 }
1,059
// Copyright 2013 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 'common/core.dart'; import 'common/output_utils.dart'; import 'common/package_looping_command.dart'; import 'common/plugin_utils.dart'; import 'comm...
packages/script/tool/lib/src/xcode_analyze_command.dart/0
{ "file_path": "packages/script/tool/lib/src/xcode_analyze_command.dart", "repo_id": "packages", "token_count": 1759 }
1,060
// Copyright 2013 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/local.dart'; import 'package:flutter_plugin_tools/src/common/xcode.dart'; imp...
packages/script/tool/test/common/xcode_test.dart/0
{ "file_path": "packages/script/tool/test/common/xcode_test.dart", "repo_id": "packages", "token_count": 6961 }
1,061
// Copyright 2013 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:convert'; import 'dart:io' as io; import 'package:file/file.dart'; import 'package:mockito/mockito.dart'; import 'packag...
packages/script/tool/test/mocks.dart/0
{ "file_path": "packages/script/tool/test/mocks.dart", "repo_id": "packages", "token_count": 816 }
1,062
/* eslint-disable @typescript-eslint/no-unused-vars */ import * as functions from 'firebase-functions'; import { getShareResponse } from './'; jest.mock('firebase-admin', () => { return { storage: jest.fn(() => ({ bucket: jest.fn(() => ({ name: 'test-bucket', file: jest.fn(() => ({ ...
photobooth/functions/src/share/index.spec.ts/0
{ "file_path": "photobooth/functions/src/share/index.spec.ts", "repo_id": "photobooth", "token_count": 637 }
1,063
import 'package:flutter/material.dart'; import 'package:io_photobooth/footer/footer.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class WhiteFooter extends StatelessWidget { const WhiteFooter({super.key}); @override Widget build(BuildContext context) { return const Footer(textColor: PhotoboothCo...
photobooth/lib/footer/widgets/footer.dart/0
{ "file_path": "photobooth/lib/footer/widgets/footer.dart", "repo_id": "photobooth", "token_count": 1116 }
1,064
export 'view/landing_page.dart'; export 'widgets/widgets.dart';
photobooth/lib/landing/landing.dart/0
{ "file_path": "photobooth/lib/landing/landing.dart", "repo_id": "photobooth", "token_count": 25 }
1,065
import 'package:flutter/material.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class AnimatedDash extends AnimatedSprite { const AnimatedDash({super.key}) : super( loadingIndicatorColor: PhotoboothColors.blue, sprites: const Sprites( asset: 'dash_spritesheet.png', ...
photobooth/lib/photobooth/widgets/animated_characters/animated_dash.dart/0
{ "file_path": "photobooth/lib/photobooth/widgets/animated_characters/animated_dash.dart", "repo_id": "photobooth", "token_count": 202 }
1,066
export 'bloc/share_bloc.dart'; export 'view/view.dart'; export 'widgets/widgets.dart';
photobooth/lib/share/share.dart/0
{ "file_path": "photobooth/lib/share/share.dart", "repo_id": "photobooth", "token_count": 36 }
1,067
import 'dart:math' as math; import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class SharePreviewPhoto extends StatelessWidget { const SharePreviewPhoto({required this.image, super.key}); final Uint8List image; @override Widget build(BuildCon...
photobooth/lib/share/widgets/share_preview_photo.dart/0
{ "file_path": "photobooth/lib/share/widgets/share_preview_photo.dart", "repo_id": "photobooth", "token_count": 423 }
1,068
import 'package:flutter/material.dart'; import 'package:io_photobooth/l10n/l10n.dart'; class ClearStickersConfirmButton extends StatelessWidget { const ClearStickersConfirmButton({super.key}); @override Widget build(BuildContext context) { final l10n = context.l10n; return ElevatedButton( onPresse...
photobooth/lib/stickers/widgets/clear_stickers/clear_stickers_confirm_button.dart/0
{ "file_path": "photobooth/lib/stickers/widgets/clear_stickers/clear_stickers_confirm_button.dart", "repo_id": "photobooth", "token_count": 159 }
1,069
# authentication_repository Repository which manages user authentication using Firebase Authentication.
photobooth/packages/authentication_repository/README.md/0
{ "file_path": "photobooth/packages/authentication_repository/README.md", "repo_id": "photobooth", "token_count": 20 }
1,070
<!DOCTYPE html> <html> <head> <!-- If you are serving your web app in a path other than the root, change the href value below to reflect the base path you are serving from. The path provided below has to start and end with a slash "/" in order for it to work correctly. Fore more details: ...
photobooth/packages/camera/camera/example/web/index.html/0
{ "file_path": "photobooth/packages/camera/camera/example/web/index.html", "repo_id": "photobooth", "token_count": 578 }
1,071
name: camera_platform_interface description: A common platform interface for the camera plugin. version: 0.0.1 environment: sdk: ">=2.19.0 <3.0.0" flutter: ">=2.0.0" dependencies: flutter: sdk: flutter plugin_platform_interface: ^2.1.3 dev_dependencies: very_good_analysis: ^4.0.0+1
photobooth/packages/camera/camera_platform_interface/pubspec.yaml/0
{ "file_path": "photobooth/packages/camera/camera_platform_interface/pubspec.yaml", "repo_id": "photobooth", "token_count": 122 }
1,072
export 'constants.dart';
photobooth/packages/image_compositor/test/helpers/helpers.dart/0
{ "file_path": "photobooth/packages/image_compositor/test/helpers/helpers.dart", "repo_id": "photobooth", "token_count": 9 }
1,073
/// Namespace for Default Photobooth Aspect Ratios abstract class PhotoboothAspectRatio { /// Aspect ratio used for landscape. static const landscape = 4 / 3; /// Aspect ratio used for portrait. static const portrait = 3 / 4; }
photobooth/packages/photobooth_ui/lib/src/layout/aspect_ratio.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/lib/src/layout/aspect_ratio.dart", "repo_id": "photobooth", "token_count": 67 }
1,074
import 'package:flutter/material.dart'; /// {@template app_animated_cross_fade} /// Abstraction of AnimatedCrossFade to override the layout centering /// the widgets inside /// {@endtemplate} class AppAnimatedCrossFade extends StatelessWidget { /// {@macro app_animated_cross_fade} const AppAnimatedCrossFade({ ...
photobooth/packages/photobooth_ui/lib/src/widgets/app_animated_cross_fade.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/lib/src/widgets/app_animated_cross_fade.dart", "repo_id": "photobooth", "token_count": 584 }
1,075
import 'package:flutter_test/flutter_test.dart'; import 'package:mocktail/mocktail.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; import 'package:plugin_platform_interface/plugin_platform_interface.dart'; import 'package:url_launcher_platform_interface/url_launcher_platform_interface.dart'; class MockUrlLau...
photobooth/packages/photobooth_ui/test/src/helpers/links_helper_test.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/test/src/helpers/links_helper_test.dart", "repo_id": "photobooth", "token_count": 555 }
1,076
import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; void main() { group('Clickable', () { testWidgets('makes the given child tappable/clickable', (tester) async { var wasClicked = false; await tester.pumpWidget( ...
photobooth/packages/photobooth_ui/test/src/widgets/clickable_test.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/test/src/widgets/clickable_test.dart", "repo_id": "photobooth", "token_count": 338 }
1,077
export 'src/unsupported.dart' if (dart.library.html) 'src/web.dart' if (dart.library.io) 'src/mobile.dart';
photobooth/packages/platform_helper/lib/platform_helper.dart/0
{ "file_path": "photobooth/packages/platform_helper/lib/platform_helper.dart", "repo_id": "photobooth", "token_count": 53 }
1,078
export 'constants.dart'; export 'pump_app.dart'; export 'set_display_size.dart';
photobooth/test/helpers/helpers.dart/0
{ "file_path": "photobooth/test/helpers/helpers.dart", "repo_id": "photobooth", "token_count": 32 }
1,079
// ignore_for_file: prefer_const_constructors import 'dart:typed_data'; import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_photobooth/photobooth/photobooth.dart'; import 'package:io_photobooth/share/share.dart'; import 'packa...
photobooth/test/share/view/share_bottom_sheet_test.dart/0
{ "file_path": "photobooth/test/share/view/share_bottom_sheet_test.dart", "repo_id": "photobooth", "token_count": 966 }
1,080
// ignore_for_file: prefer_const_constructors import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_photobooth/stickers/stickers.dart'; import '../../../helpers/helpers.dart'; void main() { group('ClearStickersDialog', () { testWidgets('renders heading', (te...
photobooth/test/stickers/widgets/clear_stickers/clear_stickers_dialog_test.dart/0
{ "file_path": "photobooth/test/stickers/widgets/clear_stickers/clear_stickers_dialog_test.dart", "repo_id": "photobooth", "token_count": 543 }
1,081
{ "name": "functions", "description": "Cloud Functions for Firebase", "scripts": { "serve": "firebase emulators:start --only functions", "shell": "firebase functions:shell", "start": "npm run shell", "deploy": "firebase deploy --only functions", "logs": "firebase functions:log" }, "engines...
pinball/functions/package.json/0
{ "file_path": "pinball/functions/package.json", "repo_id": "pinball", "token_count": 227 }
1,082
import 'package:flame/components.dart'; import 'package:flame/game.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:pinball/game/game.dart'; import 'package:pinball_components/pinball_components.dart'; /// {@template focus_data} /// Defines a [Camera] focus point. /// {@endtemplate} class _FocusData...
pinball/lib/game/behaviors/camera_focusing_behavior.dart/0
{ "file_path": "pinball/lib/game/behaviors/camera_focusing_behavior.dart", "repo_id": "pinball", "token_count": 932 }
1,083
import 'package:flame/components.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:pinball/game/behaviors/behaviors.dart'; import 'package:pinball_components/pinball_components.dart'; /// {@template ramp_shot_behavior} /// Increases the score when a [Ball] is shot into the [SpaceshipRamp]. /// {@endt...
pinball/lib/game/components/android_acres/behaviors/ramp_shot_behavior.dart/0
{ "file_path": "pinball/lib/game/components/android_acres/behaviors/ramp_shot_behavior.dart", "repo_id": "pinball", "token_count": 348 }
1,084
export 'chrome_dino_bonus_behavior.dart';
pinball/lib/game/components/dino_desert/behaviors/behaviors.dart/0
{ "file_path": "pinball/lib/game/components/dino_desert/behaviors/behaviors.dart", "repo_id": "pinball", "token_count": 16 }
1,085
import 'package:flame/components.dart'; import 'package:flutter/material.dart'; import 'package:pinball/game/components/multiballs/behaviors/behaviors.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_flame/pinball_flame.dart'; /// {@template multiballs_component} /// A [Sprit...
pinball/lib/game/components/multiballs/multiballs.dart/0
{ "file_path": "pinball/lib/game/components/multiballs/multiballs.dart", "repo_id": "pinball", "token_count": 362 }
1,086
import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:pinball/l10n/l10n.dart'; import 'package:pinball/start_game/start_game.dart'; import 'package:pinball_ui/pinball_ui.dart'; /// {@template play_button_overlay} /// [Widget] that renders the button responsible to sta...
pinball/lib/game/view/widgets/play_button_overlay.dart/0
{ "file_path": "pinball/lib/game/view/widgets/play_button_overlay.dart", "repo_id": "pinball", "token_count": 273 }
1,087
import 'package:bloc/bloc.dart'; import 'package:equatable/equatable.dart'; import 'package:pinball_theme/pinball_theme.dart'; part 'character_theme_state.dart'; class CharacterThemeCubit extends Cubit<CharacterThemeState> { CharacterThemeCubit() : super(const CharacterThemeState.initial()); void characterSelect...
pinball/lib/select_character/cubit/character_theme_cubit.dart/0
{ "file_path": "pinball/lib/select_character/cubit/character_theme_cubit.dart", "repo_id": "pinball", "token_count": 123 }
1,088
name: authentication_repository description: Repository to manage user authentication. version: 1.0.0+1 publish_to: none environment: sdk: ">=2.16.0 <3.0.0" dependencies: firebase_auth: ^3.3.16 flutter: sdk: flutter dev_dependencies: flutter_test: sdk: flutter mocktail: ^0.2.0 very_good_analysis:...
pinball/packages/authentication_repository/pubspec.yaml/0
{ "file_path": "pinball/packages/authentication_repository/pubspec.yaml", "repo_id": "pinball", "token_count": 138 }
1,089
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'leaderboard_entry_data.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** LeaderboardEntryData _$LeaderboardEntryFromJson(Map...
pinball/packages/leaderboard_repository/lib/src/models/leaderboard_entry_data.g.dart/0
{ "file_path": "pinball/packages/leaderboard_repository/lib/src/models/leaderboard_entry_data.g.dart", "repo_id": "pinball", "token_count": 298 }
1,090
export 'android_bumper_ball_contact_behavior.dart'; export 'android_bumper_blinking_behavior.dart';
pinball/packages/pinball_components/lib/src/components/android_bumper/behaviors/behaviors.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/android_bumper/behaviors/behaviors.dart", "repo_id": "pinball", "token_count": 33 }
1,091
import 'package:bloc/bloc.dart'; import 'package:equatable/equatable.dart'; import 'package:pinball_theme/pinball_theme.dart'; part 'ball_state.dart'; class BallCubit extends Cubit<BallState> { BallCubit() : super(const BallState.initial()); void onCharacterSelected(CharacterTheme characterTheme) { emit(Ball...
pinball/packages/pinball_components/lib/src/components/ball/cubit/ball_cubit.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/ball/cubit/ball_cubit.dart", "repo_id": "pinball", "token_count": 120 }
1,092
part of 'chrome_dino_cubit.dart'; enum ChromeDinoStatus { idle, chomping, } class ChromeDinoState extends Equatable { const ChromeDinoState({ required this.status, required this.isMouthOpen, this.ball, }); const ChromeDinoState.initial() : this( status: ChromeDinoStatus.idle, ...
pinball/packages/pinball_components/lib/src/components/chrome_dino/cubit/chrome_dino_state.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/chrome_dino/cubit/chrome_dino_state.dart", "repo_id": "pinball", "token_count": 356 }
1,093
import 'package:flame/components.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:pinball_components/pinball_components.dart'; class FlipperMovingBehavior extends Component with FlameBlocListenable<FlipperCubit, FlipperState>, FlameBlocReader<FlipperCubit, FlipperState> { Flipp...
pinball/packages/pinball_components/lib/src/components/flipper/behaviors/flipper_moving_behavior.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/flipper/behaviors/flipper_moving_behavior.dart", "repo_id": "pinball", "token_count": 393 }
1,094
export 'kicker_ball_contact_behavior.dart'; export 'kicker_blinking_behavior.dart';
pinball/packages/pinball_components/lib/src/components/kicker/behaviors/behaviors.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/kicker/behaviors/behaviors.dart", "repo_id": "pinball", "token_count": 29 }
1,095
part of 'multiplier_cubit.dart'; enum MultiplierSpriteState { lit, dimmed, } class MultiplierState extends Equatable { const MultiplierState({ required this.value, required this.spriteState, }); const MultiplierState.initial(MultiplierValue multiplierValue) : this( value: multiplier...
pinball/packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_state.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_state.dart", "repo_id": "pinball", "token_count": 477 }
1,096
part of 'signpost_cubit.dart'; enum SignpostState { /// Signpost with no active eggs. inactive, /// Signpost with a single sign of lit up eggs. active1, /// Signpost with two signs of lit up eggs. active2, /// Signpost with all signs of lit up eggs. active3, }
pinball/packages/pinball_components/lib/src/components/signpost/cubit/signpost_state.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/signpost/cubit/signpost_state.dart", "repo_id": "pinball", "token_count": 92 }
1,097
export 'sparky_bumper_ball_contact_behavior.dart'; export 'sparky_bumper_blinking_behavior.dart';
pinball/packages/pinball_components/lib/src/components/sparky_bumper/behaviors/behaviors.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/sparky_bumper/behaviors/behaviors.dart", "repo_id": "pinball", "token_count": 37 }
1,098
import 'dart:async'; import 'package:flame/input.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_flame/pinball_flame.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class Spac...
pinball/packages/pinball_components/sandbox/lib/stories/android_acres/spaceship_ramp_game.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/android_acres/spaceship_ramp_game.dart", "repo_id": "pinball", "token_count": 866 }
1,099
import 'package:flame/extensions.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class SlingshotsGame extends BallGame { SlingshotsGame() : super( imagesFileNames: [ Assets.images.slingshot.upper.keyName, ...
pinball/packages/pinball_components/sandbox/lib/stories/dino_desert/slingshots_game.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/dino_desert/slingshots_game.dart", "repo_id": "pinball", "token_count": 297 }
1,100
import 'package:dashbook/dashbook.dart'; import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/layer/layer_game.dart'; void addLayerStories(Dashbook dashbook) { dashbook.storiesOf('Layer').addGame( title: 'Example', description: LayerGame.description, gameBuilder: (_) =...
pinball/packages/pinball_components/sandbox/lib/stories/layer/stories.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/layer/stories.dart", "repo_id": "pinball", "token_count": 129 }
1,101
// ignore_for_file: cascade_invocations import 'package:flame/components.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_theme/pinball_theme.dart' as theme; import '../../../helper...
pinball/packages/pinball_components/test/src/components/arcade_background/arcade_background_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/arcade_background/arcade_background_test.dart", "repo_id": "pinball", "token_count": 876 }
1,102
// ignore_for_file: cascade_invocations import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mocktail/mocktail.dart'; import 'package:pinball_components/src/components/bumping_behavior.dart'; import '../../help...
pinball/packages/pinball_components/test/src/components/bumping_behavior_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/bumping_behavior_test.dart", "repo_id": "pinball", "token_count": 1048 }
1,103
// ignore_for_file: cascade_invocations import 'package:flame/components.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_components/pinball_compon...
pinball/packages/pinball_components/test/src/components/dash_nest_bumper/dash_bumper_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/dash_nest_bumper/dash_bumper_test.dart", "repo_id": "pinball", "token_count": 2350 }
1,104
// ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_components/pinball_components.dart'; void main() { group('GoogleWordState', () { test('supports value equality', () { expect( GoogleWordState( letterSpriteStates: const ...
pinball/packages/pinball_components/test/src/components/google_word/cubit/google_word_state_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/google_word/cubit/google_word_state_test.dart", "repo_id": "pinball", "token_count": 849 }
1,105
// ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_components/src/pinball_components.dart'; void main() { group('MultiplierState', () { test('supports value equality', () { expect( MultiplierState( value: MultiplierValue...
pinball/packages/pinball_components/test/src/components/multiplier/cubit/multiplier_state_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/multiplier/cubit/multiplier_state_test.dart", "repo_id": "pinball", "token_count": 967 }
1,106
// ignore_for_file: prefer_const_constructors import 'package:bloc_test/bloc_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_components/pinball_components.dart'; void main() { group( 'SkillShotCubit', () { blocTest<SkillShotCubit, SkillShotState>( 'onBallCo...
pinball/packages/pinball_components/test/src/components/skill_shot/cubit/skill_shot_cubit_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/skill_shot/cubit/skill_shot_cubit_test.dart", "repo_id": "pinball", "token_count": 896 }
1,107
// ignore_for_file: cascade_invocations import 'package:bloc_test/bloc_test.dart'; import 'package:flame/components.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mocktail/mocktail.dart'; import 'package:pinball_components/pinball_components.dart'; ...
pinball/packages/pinball_components/test/src/components/sparky_computer/sparky_computer_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/sparky_computer/sparky_computer_test.dart", "repo_id": "pinball", "token_count": 1159 }
1,108
import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:flutter/material.dart'; /// {@template layered} /// Modifies maskBits and categoryBits of all the [BodyComponent]'s [Fixture]s /// to specify what other [BodyComponent]s it can collide with. /// /// [BodyComponent]s with compatible [Layer]s can collide...
pinball/packages/pinball_flame/lib/src/layer.dart/0
{ "file_path": "pinball/packages/pinball_flame/lib/src/layer.dart", "repo_id": "pinball", "token_count": 838 }
1,109
// ignore_for_file: cascade_invocations import 'package:bloc/bloc.dart'; import 'package:flame/components.dart'; import 'package:flame/game.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_flame/pin...
pinball/packages/pinball_flame/test/src/flame_provider_test.dart/0
{ "file_path": "pinball/packages/pinball_flame/test/src/flame_provider_test.dart", "repo_id": "pinball", "token_count": 1601 }
1,110
// ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_theme/pinball_theme.dart'; void main() { group('DinoTheme', () { test('can be instantiated', () { expect(DinoTheme(), isNotNull); }); test('supports value equality', () { e...
pinball/packages/pinball_theme/test/src/themes/dino_theme_test.dart/0
{ "file_path": "pinball/packages/pinball_theme/test/src/themes/dino_theme_test.dart", "repo_id": "pinball", "token_count": 143 }
1,111