text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.plugins.quickactionsexample"> <!-- Flutter needs internet permission to communicate with the running application to allow setting breakpoints, to provide hot reload, etc. --> <uses-permission android:name="...
packages/packages/quick_actions/quick_actions_android/example/android/app/src/debug/AndroidManifest.xml/0
{ "file_path": "packages/packages/quick_actions/quick_actions_android/example/android/app/src/debug/AndroidManifest.xml", "repo_id": "packages", "token_count": 321 }
1,122
// 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 private let elementWaitingTime: TimeInterval = 30 // The duration in when pressing the app icon to open the // quick action menu. This durat...
packages/packages/quick_actions/quick_actions_ios/example/ios/RunnerUITests/RunnerUITests.swift/0
{ "file_path": "packages/packages/quick_actions/quick_actions_ios/example/ios/RunnerUITests/RunnerUITests.swift", "repo_id": "packages", "token_count": 1630 }
1,123
## 1.0.26 * Supports overriding the error widget builder. ## 1.0.25 * Adds support for wildget builders. ## 1.0.24 * Adds `InkResponse` material widget. * Adds `Material` material widget. * Adds the `child` to `Opacity` core widget. * Implements more `InkWell` parameters. ## 1.0.23 * Replaces usage of deprecated F...
packages/packages/rfw/CHANGELOG.md/0
{ "file_path": "packages/packages/rfw/CHANGELOG.md", "repo_id": "packages", "token_count": 954 }
1,124
// 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 is hand-formatted. import 'dart:io'; import 'package:flutter/material.dart'; import 'package:path/path.dart' as path; import 'package:path_p...
packages/packages/rfw/example/remote/lib/main.dart/0
{ "file_path": "packages/packages/rfw/example/remote/lib/main.dart", "repo_id": "packages", "token_count": 1626 }
1,125
{ "name": "remote", "short_name": "remote", "start_url": ".", "display": "standalone", "background_color": "#0175C2", "theme_color": "#0175C2", "description": "Example of fetching remote widgets for RFW", "orientation": "portrait-primary", "prefer_related_applications": false, "i...
packages/packages/rfw/example/remote/web/manifest.json/0
{ "file_path": "packages/packages/rfw/example/remote/web/manifest.json", "repo_id": "packages", "token_count": 515 }
1,126
// 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 is hand-formatted. import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'packag...
packages/packages/rfw/test/core_widgets_test.dart/0
{ "file_path": "packages/packages/rfw/test/core_widgets_test.dart", "repo_id": "packages", "token_count": 4416 }
1,127
name: shared_preferences_android description: Android implementation of the shared_preferences plugin repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_pr...
packages/packages/shared_preferences/shared_preferences_android/pubspec.yaml/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences_android/pubspec.yaml", "repo_id": "packages", "token_count": 324 }
1,128
name: shared_preferences_example description: Testbed for the shared_preferences_foundation implementation. publish_to: none environment: sdk: ^3.2.3 flutter: ">=3.16.6" dependencies: flutter: sdk: flutter shared_preferences_foundation: # When depending on this package from a real application you shou...
packages/packages/shared_preferences/shared_preferences_foundation/example/pubspec.yaml/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences_foundation/example/pubspec.yaml", "repo_id": "packages", "token_count": 269 }
1,129
<?code-excerpt path-base="example/lib"?> An efficient and schemaless binary format used by the Flutter SDK. ## Features ### Efficiency The standard message codec is a binary format, as opposed to text based formats like JSON. Consider the following snippet of JSON: ```json { "data": [1, 2, 3, 4], } ``` In ord...
packages/packages/standard_message_codec/README.md/0
{ "file_path": "packages/packages/standard_message_codec/README.md", "repo_id": "packages", "token_count": 489 }
1,130
# TableView Example A sample application that utilizes the TableView API.
packages/packages/two_dimensional_scrollables/example/README.md/0
{ "file_path": "packages/packages/two_dimensional_scrollables/example/README.md", "repo_id": "packages", "token_count": 17 }
1,131
// 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/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.d...
packages/packages/two_dimensional_scrollables/test/table_view/table_test.dart/0
{ "file_path": "packages/packages/two_dimensional_scrollables/test/table_view/table_test.dart", "repo_id": "packages", "token_count": 39449 }
1,132
name: url_launcher_example description: Demonstrates how to use the url_launcher plugin. publish_to: none environment: sdk: ^3.2.3 flutter: ">=3.16.6" dependencies: flutter: sdk: flutter url_launcher_ios: # When depending on this package from a real application you should use: # url_launcher_ios...
packages/packages/url_launcher/url_launcher_ios/example/pubspec.yaml/0
{ "file_path": "packages/packages/url_launcher/url_launcher_ios/example/pubspec.yaml", "repo_id": "packages", "token_count": 279 }
1,133
// 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 (v10.1.3), do not edit directly. // See also: https://pub.dev/packages/pigeon // ignore_for_file: public_member_api_docs, non_c...
packages/packages/url_launcher/url_launcher_macos/lib/src/messages.g.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_macos/lib/src/messages.g.dart", "repo_id": "packages", "token_count": 1675 }
1,134
// 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 'package:plugin_platform_interface/plugin_platform_interface.dart'; import '../link.dart'; import '../method_channel_url_laun...
packages/packages/url_launcher/url_launcher_platform_interface/lib/src/url_launcher_platform.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_platform_interface/lib/src/url_launcher_platform.dart", "repo_id": "packages", "token_count": 1354 }
1,135
name: regular_integration_tests publish_to: none environment: sdk: ^3.3.0 flutter: ">=3.19.0" dependencies: flutter: sdk: flutter dev_dependencies: flutter_test: sdk: flutter integration_test: sdk: flutter mockito: 5.4.4 url_launcher_platform_interface: ^2.2.0 url_launcher_web: path: ...
packages/packages/url_launcher/url_launcher_web/example/pubspec.yaml/0
{ "file_path": "packages/packages/url_launcher/url_launcher_web/example/pubspec.yaml", "repo_id": "packages", "token_count": 156 }
1,136
// 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 "run_loop.h" #include <windows.h> #include <algorithm> RunLoop::RunLoop() {} RunLoop::~RunLoop() {} void RunLoop::Run() { bool keep_running...
packages/packages/url_launcher/url_launcher_windows/example/windows/runner/run_loop.cpp/0
{ "file_path": "packages/packages/url_launcher/url_launcher_windows/example/windows/runner/run_loop.cpp", "repo_id": "packages", "token_count": 853 }
1,137
// 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 #undef _HAS_EXCEPTIONS #include "messages.g.h" ...
packages/packages/url_launcher/url_launcher_windows/windows/messages.g.cpp/0
{ "file_path": "packages/packages/url_launcher/url_launcher_windows/windows/messages.g.cpp", "repo_id": "packages", "token_count": 1981 }
1,138
// 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:io'; import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; impor...
packages/packages/video_player/video_player/lib/video_player.dart/0
{ "file_path": "packages/packages/video_player/video_player/lib/video_player.dart", "repo_id": "packages", "token_count": 13190 }
1,139
// 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.videoplayer; import a...
packages/packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/Messages.java/0
{ "file_path": "packages/packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/Messages.java", "repo_id": "packages", "token_count": 13085 }
1,140
// 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. // TODO(stuartmorgan): Consider extracting this to a shared local (path-based) // package for use in all implementation packages. import 'dart:async'; imp...
packages/packages/video_player/video_player_android/example/lib/mini_controller.dart/0
{ "file_path": "packages/packages/video_player/video_player_android/example/lib/mini_controller.dart", "repo_id": "packages", "token_count": 5880 }
1,141
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
packages/packages/video_player/video_player_avfoundation/example/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "packages/packages/video_player/video_player_avfoundation/example/macos/Runner/Configs/Release.xcconfig", "repo_id": "packages", "token_count": 32 }
1,142
// 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. @JS() library video_player_web_integration_test_pkg_web_tweaks; import 'dart:js_interop'; import 'package:web/web.dart' as web; /// Adds a `controlsList`...
packages/packages/video_player/video_player_web/example/integration_test/pkg_web_tweaks.dart/0
{ "file_path": "packages/packages/video_player/video_player_web/example/integration_test/pkg_web_tweaks.dart", "repo_id": "packages", "token_count": 763 }
1,143
## 1.2.1 * Removes a few deprecated API usages. ## 1.2.0 * Updates to web code to package `web: ^0.5.0`. * Updates SDK version to Dart `^3.3.0`. Flutter `^3.19.0`. ## 1.1.1 * Fixes new lint warnings. ## 1.1.0 * Adds `computeAverage` and `computeDelta` methods to support analysis of benchmark results. ## 1.0.1 ...
packages/packages/web_benchmarks/CHANGELOG.md/0
{ "file_path": "packages/packages/web_benchmarks/CHANGELOG.md", "repo_id": "packages", "token_count": 930 }
1,144
// 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:web_benchmarks/server.dart'; void main() { group('can serialize and deserialize', () { ...
packages/packages/web_benchmarks/test/src/benchmark_result_test.dart/0
{ "file_path": "packages/packages/web_benchmarks/test/src/benchmark_result_test.dart", "repo_id": "packages", "token_count": 854 }
1,145
// 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 'package:webview_flutter_platform_interface/webview_flutter_platform_interface.dart'; import 'webview_controller.dart'; /// ...
packages/packages/webview_flutter/webview_flutter/lib/src/navigation_delegate.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter/lib/src/navigation_delegate.dart", "repo_id": "packages", "token_count": 2086 }
1,146
// 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/gestures.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutt...
packages/packages/webview_flutter/webview_flutter/test/webview_widget_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter/test/webview_widget_test.dart", "repo_id": "packages", "token_count": 1004 }
1,147
// 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.content.res.AssetManager; import androidx.annotation.NonNull; import io.flutter.embedding.engine...
packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/FlutterAssetManager.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/FlutterAssetManager.java", "repo_id": "packages", "token_count": 1317 }
1,148
// 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.Build; import android.view.View; import android.webkit.ConsoleMessage; import android.webkit....
packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebChromeClientFlutterApiImpl.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebChromeClientFlutterApiImpl.java", "repo_id": "packages", "token_count": 3219 }
1,149
// 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/GeolocationPermissionsCallbackTest.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/GeolocationPermissionsCallbackTest.java", "repo_id": "packages", "token_count": 781 }
1,150
buildFlags: _pluginToolsConfigGlobalKey: - "--no-tree-shake-icons" - "--dart-define=buildmode=testing"
packages/packages/webview_flutter/webview_flutter_android/example/.pluginToolsConfig.yaml/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/example/.pluginToolsConfig.yaml", "repo_id": "packages", "token_count": 45 }
1,151
// 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:io'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material....
packages/packages/webview_flutter/webview_flutter_android/example/lib/legacy/web_view.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/example/lib/legacy/web_view.dart", "repo_id": "packages", "token_count": 7601 }
1,152
// 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 'package:flutter/services.dart'; /// Proxy that provides access to the platform views service. /// /// This...
packages/packages/webview_flutter/webview_flutter_android/lib/src/platform_views_service_proxy.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/lib/src/platform_views_service_proxy.dart", "repo_id": "packages", "token_count": 541 }
1,153
// 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 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; impo...
packages/packages/webview_flutter/webview_flutter_android/test/legacy/surface_android_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/test/legacy/surface_android_test.dart", "repo_id": "packages", "token_count": 1545 }
1,154
// 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. /// Specifies possible restrictions on automatic media playback. /// /// This is typically used in [WebView.initialMediaPlaybackPolicy]. // The method chan...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/legacy/types/auto_media_playback_policy.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/legacy/types/auto_media_playback_policy.dart", "repo_id": "packages", "token_count": 221 }
1,155
// 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 'web_resource_request.dart'; import 'web_resource_response.dart'; /// Error returned in `PlatformNavigat...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/http_response_error.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/http_response_error.dart", "repo_id": "packages", "token_count": 449 }
1,156
// 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'; /// Details of the change to a web view's url. /// /// Platform specific implementations can add additional field...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/url_change.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/url_change.dart", "repo_id": "packages", "token_count": 225 }
1,157
// 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: public_member_api_docs import 'dart:async'; import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:webview_...
packages/packages/webview_flutter/webview_flutter_web/example/lib/main.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_web/example/lib/main.dart", "repo_id": "packages", "token_count": 916 }
1,158
name: webview_flutter_web description: A Flutter plugin that provides a WebView widget on web. repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter_web issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22 version: 0.2.2+...
packages/packages/webview_flutter/webview_flutter_web/pubspec.yaml/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_web/pubspec.yaml", "repo_id": "packages", "token_count": 350 }
1,159
<!DOCTYPE html> <!-- 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. --> <html lang="en"> <head> <title>Load file or HTML string example</title> <link rel="stylesheet" href="styles/style.css" /> </head> <body> <h...
packages/packages/webview_flutter/webview_flutter_wkwebview/example/assets/www/index.html/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/example/assets/www/index.html", "repo_id": "packages", "token_count": 182 }
1,160
// 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; @import webview_flutter_wkwebview; #import <OCMock/OCMock.h> @interface FWFScrollViewDelegateHostApiTests : XCTestCase ...
packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFScrollViewDelegateHostApiTests.m/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFScrollViewDelegateHostApiTests.m", "repo_id": "packages", "token_count": 1199 }
1,161
// 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 "FWFInstanceManager.h" #import "FWFInstanceManager_Test.h" #import <objc/runtime.h> // Attaches to an object to receive a callback when the objec...
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFInstanceManager.m/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFInstanceManager.m", "repo_id": "packages", "token_count": 1900 }
1,162
// 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 "FWFGeneratedWebKitApis.h" #import "FWFInstanceManager.h" NS_ASSUME_NONNULL_BEGIN /// Host api implementation for UI...
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFUIViewHostApi.h/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFUIViewHostApi.h", "repo_id": "packages", "token_count": 184 }
1,163
// 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/FWFWebViewHostApi.h/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebViewHostApi.h", "repo_id": "packages", "token_count": 635 }
1,164
// 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:math'; import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import '../common/instance_man...
packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/ui_kit/ui_kit.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/ui_kit/ui_kit.dart", "repo_id": "packages", "token_count": 2297 }
1,165
# This plugin no-ops below API 25, which is newer than the legacy emulator. # This can be removed once the legacy emulator test is using at least # API level 25. - quick_actions - quick_actions_android # Fails on the legacy emulator. See https://github.com/flutter/flutter/issues/136823 # TODO(stuartmorgan): Remove this...
packages/script/configs/exclude_integration_android_legacy_emulator.yaml/0
{ "file_path": "packages/script/configs/exclude_integration_android_legacy_emulator.yaml", "repo_id": "packages", "token_count": 173 }
1,166
// 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 'package:platform/platform.dart'; import 'core.dart'; import 'output_utils.dart'; import 'process_runner.dart'; c...
packages/script/tool/lib/src/common/cmake.dart/0
{ "file_path": "packages/script/tool/lib/src/common/cmake.dart", "repo_id": "packages", "token_count": 1284 }
1,167
// 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_looping_command.dart'; import 'common/pub_utils.dart'; import 'common/repository_package.dart'; c...
packages/script/tool/lib/src/custom_test_command.dart/0
{ "file_path": "packages/script/tool/lib/src/custom_test_command.dart", "repo_id": "packages", "token_count": 953 }
1,168
// 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:io'; import 'package:file/file.dart'; import 'common/core.dart'; import 'common/output_utils.dart'; import 'common/pa...
packages/script/tool/lib/src/podspec_check_command.dart/0
{ "file_path": "packages/script/tool/lib/src/podspec_check_command.dart", "repo_id": "packages", "token_count": 2790 }
1,169
// 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 'package:file/memory.dart'; import 'package:flutter_plugin_tools/src/common/file_utils.dart'; import 'package:test/...
packages/script/tool/test/common/file_utils_test.dart/0
{ "file_path": "packages/script/tool/test/common/file_utils_test.dart", "repo_id": "packages", "token_count": 711 }
1,170
// 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:args/command_runner.dart'; import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:flutter_plugin_tools/src/com...
packages/script/tool/test/dependabot_check_command_test.dart/0
{ "file_path": "packages/script/tool/test/dependabot_check_command_test.dart", "repo_id": "packages", "token_count": 1716 }
1,171
// 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:args/command_runner.dart'; import 'package:file/file.dart'; import 'pa...
packages/script/tool/test/publish_command_test.dart/0
{ "file_path": "packages/script/tool/test/publish_command_test.dart", "repo_id": "packages", "token_count": 15851 }
1,172
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Launch", "request": "launch", "type": "dart", ...
photobooth/.vscode/launch.json/0
{ "file_path": "photobooth/.vscode/launch.json", "repo_id": "photobooth", "token_count": 165 }
1,173
export default ` <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" type="image/png" href="{{{assetUrls.favicon}}}"> <meta name="viewport" content="width=device-width,initial-scale=1" /> <title>{{meta.title}}</title> <meta name="descripton" content="{{meta.desc}}"> ...
photobooth/functions/src/share/templates/notfound.ts/0
{ "file_path": "photobooth/functions/src/share/templates/notfound.ts", "repo_id": "photobooth", "token_count": 673 }
1,174
{ "@@locale": "en", "landingPageHeading": "Welcome to the I\u2215O Photo Booth", "@landingPageHeading": { "description": "Heading shown on the landing page." }, "landingPageSubheading": "Take a photo and share it with the community!", "@landingPageSubheading": { "description": "S...
photobooth/lib/l10n/arb/app_en.arb/0
{ "file_path": "photobooth/lib/l10n/arb/app_en.arb", "repo_id": "photobooth", "token_count": 5676 }
1,175
import 'package:flutter/material.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class LandingBackground extends StatelessWidget { const LandingBackground({super.key}); @override Widget build(BuildContext context) { return Container( key: const Key('landingPage_background'), decoration...
photobooth/lib/landing/widgets/landing_background.dart/0
{ "file_path": "photobooth/lib/landing/widgets/landing_background.dart", "repo_id": "photobooth", "token_count": 246 }
1,176
import 'package:flutter/material.dart'; import 'package:io_photobooth/l10n/l10n.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class CharactersCaption extends StatelessWidget { const CharactersCaption({super.key}); @override Widget build(BuildContext context) { final l10n = context.l10n; retu...
photobooth/lib/photobooth/widgets/characters_caption.dart/0
{ "file_path": "photobooth/lib/photobooth/widgets/characters_caption.dart", "repo_id": "photobooth", "token_count": 189 }
1,177
import 'package:flutter/material.dart'; import 'package:io_photobooth/l10n/l10n.dart'; import 'package:io_photobooth/share/share.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class ShareErrorDialog extends StatelessWidget { const ShareErrorDialog({super.key}); @override Widget build(BuildContext con...
photobooth/lib/share/view/share_error_dialog.dart/0
{ "file_path": "photobooth/lib/share/view/share_error_dialog.dart", "repo_id": "photobooth", "token_count": 1488 }
1,178
import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:io_photobooth/external_links/external_links.dart'; import 'package:io_photobooth/l10n/l10n.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class ShareSubheading extends StatelessWidget { const ShareSubheading({s...
photobooth/lib/share/widgets/share_subheading.dart/0
{ "file_path": "photobooth/lib/share/widgets/share_subheading.dart", "repo_id": "photobooth", "token_count": 1099 }
1,179
import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:io_photobooth/photobooth/photobooth.dart'; import 'package:io_photobooth/stickers/stickers.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class StickersDrawerLayer extends StatefulWidget { const Sticke...
photobooth/lib/stickers/widgets/stickers_drawer_layer/stickers_drawer_layer.dart/0
{ "file_path": "photobooth/lib/stickers/widgets/stickers_drawer_layer/stickers_drawer_layer.dart", "repo_id": "photobooth", "token_count": 1367 }
1,180
name: authentication_repository description: Repository which manages user authentication using Firebase Authentication. version: 1.0.0+1 environment: sdk: ">=2.19.0 <3.0.0" dependencies: equatable: ^2.0.5 firebase_auth: ^4.2.5 firebase_core: ^2.4.1 flutter: sdk: flutter dev_dependencies: flutter_tes...
photobooth/packages/authentication_repository/pubspec.yaml/0
{ "file_path": "photobooth/packages/authentication_repository/pubspec.yaml", "repo_id": "photobooth", "token_count": 161 }
1,181
part of '../camera.dart'; enum CameraStatus { uninitialized, available, unavailable } class CameraState { const CameraState._({ this.status = CameraStatus.uninitialized, this.error, }); const CameraState.uninitialized() : this._(); const CameraState.available() : this._(status: CameraStatus.available...
photobooth/packages/camera/camera/lib/src/controller.dart/0
{ "file_path": "photobooth/packages/camera/camera/lib/src/controller.dart", "repo_id": "photobooth", "token_count": 613 }
1,182
import 'dart:async'; import 'dart:html' as html; import 'dart:ui' as ui; import 'package:camera_platform_interface/camera_platform_interface.dart'; import 'package:camera_web/camera_web.dart'; import 'package:flutter/material.dart'; import 'package:flutter_web_plugins/flutter_web_plugins.dart'; String _getViewType(in...
photobooth/packages/camera/camera_web/lib/src/camera_web.dart/0
{ "file_path": "photobooth/packages/camera/camera_web/lib/src/camera_web.dart", "repo_id": "photobooth", "token_count": 2433 }
1,183
include: package:very_good_analysis/analysis_options.yaml
photobooth/packages/photobooth_ui/analysis_options.yaml/0
{ "file_path": "photobooth/packages/photobooth_ui/analysis_options.yaml", "repo_id": "photobooth", "token_count": 16 }
1,184
export 'asset.dart';
photobooth/packages/photobooth_ui/lib/src/models/models.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/lib/src/models/models.dart", "repo_id": "photobooth", "token_count": 9 }
1,185
import 'package:flutter/material.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; /// {@template app_tooltip} /// A custom [Tooltip] for the photobooth_ui toolkit. /// {@endtemplate} class AppTooltip extends StatelessWidget { /// {@macro app_tooltip} const AppTooltip({ required String message, req...
photobooth/packages/photobooth_ui/lib/src/widgets/app_tooltip.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/lib/src/widgets/app_tooltip.dart", "repo_id": "photobooth", "token_count": 968 }
1,186
import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mocktail/mocktail.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class MockBuildContext extends Mock implements BuildContext {} class MockAnimation extends Mock implements Animation<double> {} void mai...
photobooth/packages/photobooth_ui/test/src/navigation/app_page_route_test.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/test/src/navigation/app_page_route_test.dart", "repo_id": "photobooth", "token_count": 324 }
1,187
import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; import '../helpers/helpers.dart'; void main() { group('ResponsiveLayout', () { testWidgets('displays a large layout if medium is not provided', (tester) async { ...
photobooth/packages/photobooth_ui/test/src/widgets/responsive_layout_builder_test.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/test/src/widgets/responsive_layout_builder_test.dart", "repo_id": "photobooth", "token_count": 2210 }
1,188
name: platform_helper description: A Flutter package which helps detect the host platform environment: sdk: ">=2.19.0 <3.0.0" dependencies: flutter: sdk: flutter dev_dependencies: flutter_test: sdk: flutter mocktail: ^0.3.0 test: ^1.21.7 very_good_analysis: ^4.0.0+1
photobooth/packages/platform_helper/pubspec.yaml/0
{ "file_path": "photobooth/packages/platform_helper/pubspec.yaml", "repo_id": "photobooth", "token_count": 123 }
1,189
// ignore_for_file: prefer_const_constructors import 'package:bloc_test/bloc_test.dart'; import 'package:camera/camera.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_photobooth/assets.g.dart'; import 'package:io_photobooth/photobooth/photobooth.dart'; i...
photobooth/test/photobooth/bloc/photobooth_bloc_test.dart/0
{ "file_path": "photobooth/test/photobooth/bloc/photobooth_bloc_test.dart", "repo_id": "photobooth", "token_count": 4393 }
1,190
// ignore_for_file: prefer_const_constructors import 'dart:typed_data'; import 'package:bloc_test/bloc_test.dart'; import 'package:camera/camera.dart'; import 'package:cross_file/cross_file.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_photobooth/ext...
photobooth/test/share/view/share_page_test.dart/0
{ "file_path": "photobooth/test/share/view/share_page_test.dart", "repo_id": "photobooth", "token_count": 6385 }
1,191
#!/bin/bash # Script used to analyze bundled assets and generate a dart file which contains # the relevant metadata needed at runtime without forcing the application to # download the assets. # # Usage: # ./tool/generate_asset_metadata.sh > lib/assets.g.dart set -e output_metadata () { width=$(sips -g pixelWidth...
photobooth/tool/generate_asset_metadata.sh/0
{ "file_path": "photobooth/tool/generate_asset_metadata.sh", "repo_id": "photobooth", "token_count": 1311 }
1,192
export 'cubit/assets_manager_cubit.dart'; export 'views/views.dart';
pinball/lib/assets_manager/assets_manager.dart/0
{ "file_path": "pinball/lib/assets_manager/assets_manager.dart", "repo_id": "pinball", "token_count": 28 }
1,193
// ignore_for_file: public_member_api_docs import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_audio/pinball_audio.dart'; import 'package:pinball_flame/pinball_flame.dart'; class RolloverNoiseBehavior extends ContactBehavior { @override void beginContact(Object other, Contact contact) { ...
pinball/lib/game/behaviors/rollover_noise_behavior.dart/0
{ "file_path": "pinball/lib/game/behaviors/rollover_noise_behavior.dart", "repo_id": "pinball", "token_count": 144 }
1,194
part of 'backbox_bloc.dart'; /// {@template backbox_state} /// The base state for all [BackboxState]. /// {@endtemplate backbox_state} abstract class BackboxState extends Equatable { /// {@macro backbox_state} const BackboxState(); } /// Loading state for the backbox. class LoadingState extends BackboxState { @...
pinball/lib/game/components/backbox/bloc/backbox_state.dart/0
{ "file_path": "pinball/lib/game/components/backbox/bloc/backbox_state.dart", "repo_id": "pinball", "token_count": 713 }
1,195
import 'package:flame/components.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball/game/game.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_flame/pinball_flame.dart'; /// Handles removing a [Ball] ...
pinball/lib/game/components/drain/behaviors/draining_behavior.dart/0
{ "file_path": "pinball/lib/game/components/drain/behaviors/draining_behavior.dart", "repo_id": "pinball", "token_count": 315 }
1,196
export 'sparky_computer_bonus_behavior.dart';
pinball/lib/game/components/sparky_scorch/behaviors/behaviors.dart/0
{ "file_path": "pinball/lib/game/components/sparky_scorch/behaviors/behaviors.dart", "repo_id": "pinball", "token_count": 17 }
1,197
export 'bonus_animation.dart'; export 'game_hud.dart'; export 'mobile_controls.dart'; export 'mobile_dpad.dart'; export 'play_button_overlay.dart'; export 'replay_button_overlay.dart'; export 'round_count_display.dart'; export 'score_view.dart';
pinball/lib/game/view/widgets/widgets.dart/0
{ "file_path": "pinball/lib/game/view/widgets/widgets.dart", "repo_id": "pinball", "token_count": 94 }
1,198
import 'package:flame/components.dart'; import 'package:flame/flame.dart'; import 'package:flame/sprite.dart'; import 'package:flutter/material.dart'; import 'package:pinball_flame/pinball_flame.dart'; import 'package:pinball_theme/pinball_theme.dart'; /// {@template selected_character} /// Shows an animated version o...
pinball/lib/select_character/view/selected_character.dart/0
{ "file_path": "pinball/lib/select_character/view/selected_character.dart", "repo_id": "pinball", "token_count": 1116 }
1,199
include: package:very_good_analysis/analysis_options.2.4.0.yaml
pinball/packages/geometry/analysis_options.yaml/0
{ "file_path": "pinball/packages/geometry/analysis_options.yaml", "repo_id": "pinball", "token_count": 22 }
1,200
import 'package:leaderboard_repository/leaderboard_repository.dart'; import 'package:test/test.dart'; void main() { group('LeaderboardEntry', () { const data = <String, dynamic>{ 'playerInitials': 'ABC', 'score': 1500, 'character': 'dash', }; const leaderboardEntry = LeaderboardEntryDa...
pinball/packages/leaderboard_repository/test/src/models/leaderboard_entry_data_test.dart/0
{ "file_path": "pinball/packages/leaderboard_repository/test/src/models/leaderboard_entry_data_test.dart", "repo_id": "pinball", "token_count": 392 }
1,201
import 'package:bloc/bloc.dart'; part 'android_spaceship_state.dart'; class AndroidSpaceshipCubit extends Cubit<AndroidSpaceshipState> { AndroidSpaceshipCubit() : super(AndroidSpaceshipState.withoutBonus); void onBallContacted() => emit(AndroidSpaceshipState.withBonus); void onBonusAwarded() => emit(AndroidSp...
pinball/packages/pinball_components/lib/src/components/android_spaceship/cubit/android_spaceship_cubit.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/android_spaceship/cubit/android_spaceship_cubit.dart", "repo_id": "pinball", "token_count": 113 }
1,202
import 'dart:math' as math; import 'package:flame/extensions.dart'; /// {@template board_dimensions} /// Contains various board properties and dimensions for global use. /// {@endtemplate} class BoardDimensions { /// Width and height of the board. static final size = Vector2(101.6, 143.8); /// [Rect] for easie...
pinball/packages/pinball_components/lib/src/components/board_dimensions.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/board_dimensions.dart", "repo_id": "pinball", "token_count": 215 }
1,203
import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_flame/pinball_flame.dart'; class DashBumperBallContactBehavior extends ContactBehavior<DashBumper> { @override void beginContact(Object other, Contact contact) { super.beginCo...
pinball/packages/pinball_components/lib/src/components/dash_bumper/behaviors/dash_bumper_ball_contact_behavior.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/dash_bumper/behaviors/dash_bumper_ball_contact_behavior.dart", "repo_id": "pinball", "token_count": 158 }
1,204
import 'dart:async'; import 'package:flame/components.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:flutter/foundation.dart'; import 'package:pinball_components/pinball_components.dart'; export 'behaviors/behaviors.dart'; export 'cubit/flipper_c...
pinball/packages/pinball_components/lib/src/components/flipper/flipper.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/flipper/flipper.dart", "repo_id": "pinball", "token_count": 1696 }
1,205
part of 'kicker_cubit.dart'; enum KickerState { lit, dimmed, }
pinball/packages/pinball_components/lib/src/components/kicker/cubit/kicker_state.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/kicker/cubit/kicker_state.dart", "repo_id": "pinball", "token_count": 32 }
1,206
import 'package:flame/components.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:flutter/services.dart'; import 'package:pinball_components/pinball_components.dart'; /// Allows controlling the [Plunger]'s movement with keyboard input. class PlungerKeyControllingBehavior extends Component with K...
pinball/packages/pinball_components/lib/src/components/plunger/behaviors/plunger_key_controlling_behavior.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/plunger/behaviors/plunger_key_controlling_behavior.dart", "repo_id": "pinball", "token_count": 348 }
1,207
import 'package:flame/components.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_flame/pinball_flame.dart'; /// {@template skill_shot_blinking_behavior} /// Makes a [SkillShot] blink between [SkillShotSpriteState.lit] and /// [SkillShotSpriteState.dimmed] for a set amount of...
pinball/packages/pinball_components/lib/src/components/skill_shot/behaviors/skill_shot_blinking_behavior.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/skill_shot/behaviors/skill_shot_blinking_behavior.dart", "repo_id": "pinball", "token_count": 430 }
1,208
part of 'sparky_bumper_cubit.dart'; enum SparkyBumperState { lit, dimmed, }
pinball/packages/pinball_components/lib/src/components/sparky_bumper/cubit/sparky_bumper_state.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/sparky_bumper/cubit/sparky_bumper_state.dart", "repo_id": "pinball", "token_count": 38 }
1,209
include: package:very_good_analysis/analysis_options.2.4.0.yaml linter: rules: public_member_api_docs: false
pinball/packages/pinball_components/sandbox/analysis_options.yaml/0
{ "file_path": "pinball/packages/pinball_components/sandbox/analysis_options.yaml", "repo_id": "pinball", "token_count": 44 }
1,210
import 'package:flame/components.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_theme/pinball_theme.dart' as theme; import 'package:sandbox/common/common.dart'; class BallBoosterGame extends LineGame { BallBoosterGame() : super( imagesFileNames: [ ...
pinball/packages/pinball_components/sandbox/lib/stories/ball/ball_booster_game.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/ball/ball_booster_game.dart", "repo_id": "pinball", "token_count": 371 }
1,211
import 'package:flame/components.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/common/common.dart'; class ErrorComponentGame extends AssetsGame { ErrorComponentGame({required this.text}); static const description = 'Shows how ErrorComponents are rendered.'; final S...
pinball/packages/pinball_components/sandbox/lib/stories/error_component/error_component_game.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/error_component/error_component_game.dart", "repo_id": "pinball", "token_count": 201 }
1,212
import 'package:dashbook/dashbook.dart'; import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/multipliers/multipliers_game.dart'; void addMultipliersStories(Dashbook dashbook) { dashbook.storiesOf('Multipliers').addGame( title: 'Multipliers', description: MultipliersGame.descr...
pinball/packages/pinball_components/sandbox/lib/stories/multipliers/stories.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/multipliers/stories.dart", "repo_id": "pinball", "token_count": 141 }
1,213
// ignore_for_file: cascade_invocations import 'package:flame/components.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_components.dart'; import 'package:pinball_flame/pin...
pinball/packages/pinball_components/test/src/components/ball/ball_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/ball/ball_test.dart", "repo_id": "pinball", "token_count": 2784 }
1,214
// ignore_for_file: cascade_invocations import 'dart:async'; 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/pinb...
pinball/packages/pinball_components/test/src/components/chrome_dino/behaviors/chrome_dino_spitting_behavior_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/chrome_dino/behaviors/chrome_dino_spitting_behavior_test.dart", "repo_id": "pinball", "token_count": 1868 }
1,215
// 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:pinball_components/pinball_components.dart'; import 'package:pinball_components/src/components/flapper/behaviors/behav...
pinball/packages/pinball_components/test/src/components/flapper/flapper_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/flapper/flapper_test.dart", "repo_id": "pinball", "token_count": 1312 }
1,216
// ignore_for_file: cascade_invocations import 'package:bloc_test/bloc_test.dart'; 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/pinball_compone...
pinball/packages/pinball_components/test/src/components/kicker/behaviors/kicker_ball_contact_behavior_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/kicker/behaviors/kicker_ball_contact_behavior_test.dart", "repo_id": "pinball", "token_count": 694 }
1,217
// ignore_for_file: cascade_invocations import 'dart:async'; import 'package:bloc_test/bloc_test.dart'; 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/flut...
pinball/packages/pinball_components/test/src/components/plunger/behaviors/plunger_noise_behavior_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/plunger/behaviors/plunger_noise_behavior_test.dart", "repo_id": "pinball", "token_count": 1048 }
1,218
// 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:pinball_components/pinball_components.dart'; import '../../helpers/helpers.dart'; void main() { group('SpaceshipRa...
pinball/packages/pinball_components/test/src/components/spaceship_rail_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/spaceship_rail_test.dart", "repo_id": "pinball", "token_count": 512 }
1,219
include: package:very_good_analysis/analysis_options.2.4.0.yaml
pinball/packages/pinball_flame/analysis_options.yaml/0
{ "file_path": "pinball/packages/pinball_flame/analysis_options.yaml", "repo_id": "pinball", "token_count": 22 }
1,220
import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:geometry/geometry.dart'; /// {@template bezier_curve_shape} /// Creates a bezier curve. /// {@endtemplate} class BezierCurveShape extends ChainShape { /// {@macro bezier_curve_shape} BezierCurveShape({ required this.controlPoints, }) { cr...
pinball/packages/pinball_flame/lib/src/shapes/bezier_curve_shape.dart/0
{ "file_path": "pinball/packages/pinball_flame/lib/src/shapes/bezier_curve_shape.dart", "repo_id": "pinball", "token_count": 201 }
1,221