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 'dart:math' as math; import 'dart:typed_data'; export 'dart:typed_data' show ByteData, Endian, Float32List, Flo...
packages/packages/standard_message_codec/lib/src/serialization.dart/0
{ "file_path": "packages/packages/standard_message_codec/lib/src/serialization.dart", "repo_id": "packages", "token_count": 3041 }
1,086
#include "ephemeral/Flutter-Generated.xcconfig"
packages/packages/two_dimensional_scrollables/example/macos/Flutter/Flutter-Debug.xcconfig/0
{ "file_path": "packages/packages/two_dimensional_scrollables/example/macos/Flutter/Flutter-Debug.xcconfig", "repo_id": "packages", "token_count": 19 }
1,087
<?code-excerpt path-base="example"?> # url_launcher [![pub package](https://img.shields.io/pub/v/url_launcher.svg)](https://pub.dev/packages/url_launcher) A Flutter plugin for launching a URL. | | Android | iOS | Linux | macOS | Web | Windows | |-------------|---------|-------|-------|--------|--...
packages/packages/url_launcher/url_launcher/README.md/0
{ "file_path": "packages/packages/url_launcher/url_launcher/README.md", "repo_id": "packages", "token_count": 2687 }
1,088
// 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. // Run this example with: flutter run -t lib/basic.dart -d emulator // This file is used to extract code samples for the README.md file. // Run update-exc...
packages/packages/url_launcher/url_launcher/example/lib/basic.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher/example/lib/basic.dart", "repo_id": "packages", "token_count": 358 }
1,089
// 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:url_launcher_platform_interface/url_launcher_platform_interface.dart'; import 'types.dart'; /// Converts an (app-facing) [WebViewConfigur...
packages/packages/url_launcher/url_launcher/lib/src/type_conversion.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher/lib/src/type_conversion.dart", "repo_id": "packages", "token_count": 367 }
1,090
// 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', javaOptions: JavaOptions(package: 'io.flutter...
packages/packages/url_launcher/url_launcher_android/pigeons/messages.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_android/pigeons/messages.dart", "repo_id": "packages", "token_count": 554 }
1,091
// 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 SafariServices typealias OpenInSafariCompletionHandler = (Result<InAppLoadResult, Error>) -> Void /// A session responsible for lau...
packages/packages/url_launcher/url_launcher_ios/ios/Classes/URLLaunchSession.swift/0
{ "file_path": "packages/packages/url_launcher/url_launcher_ios/ios/Classes/URLLaunchSession.swift", "repo_id": "packages", "token_count": 610 }
1,092
// 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/services.dart'; import 'package:url_launcher_platform_interface/link.dart'; import 'package:url_launcher_plat...
packages/packages/url_launcher/url_launcher_linux/lib/url_launcher_linux.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_linux/lib/url_launcher_linux.dart", "repo_id": "packages", "token_count": 581 }
1,093
# # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do |s| s.name = 'url_launcher_macos' s.version = '0.0.1' s.summary = 'Flutter macos plugin for launching a URL.' s.description = <<-DESC A macOS implementation of the url_la...
packages/packages/url_launcher/url_launcher_macos/macos/url_launcher_macos.podspec/0
{ "file_path": "packages/packages/url_launcher/url_launcher_macos/macos/url_launcher_macos.podspec", "repo_id": "packages", "token_count": 427 }
1,094
// 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:url_launcher_platform_interface/url_launcher_platform_interface.dart'; void main() { te...
packages/packages/url_launcher/url_launcher_platform_interface/test/launch_options_test.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_platform_interface/test/launch_options_test.dart", "repo_id": "packages", "token_count": 261 }
1,095
// 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:ui_web' as ui_web; import 'package:flutter/foundation.dart' show kDebugMode, visibleForTesting; import 'package:flutter_...
packages/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart", "repo_id": "packages", "token_count": 1430 }
1,096
// 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 <flutter/method_call.h> #include <flutter/method_result_functions.h> #include <flutter/standard_method_codec.h> #include <gmock/gmock.h> #include <...
packages/packages/url_launcher/url_launcher_windows/windows/test/url_launcher_windows_test.cpp/0
{ "file_path": "packages/packages/url_launcher/url_launcher_windows/windows/test/url_launcher_windows_test.cpp", "repo_id": "packages", "token_count": 1737 }
1,097
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
packages/packages/video_player/video_player/example/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "packages/packages/video_player/video_player/example/macos/Runner/Configs/Release.xcconfig", "repo_id": "packages", "token_count": 32 }
1,098
// 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:video_player/video_player.dart'; import 'package:video_player_platform_interface/video_pla...
packages/packages/video_player/video_player/test/video_player_initialization_test.dart/0
{ "file_path": "packages/packages/video_player/video_player/test/video_player_initialization_test.dart", "repo_id": "packages", "token_count": 294 }
1,099
// 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.videoplayer; import android.content.Context; import android.os.Build; import android.util.LongSparseArray; import androidx.anno...
packages/packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java/0
{ "file_path": "packages/packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java", "repo_id": "packages", "token_count": 3215 }
1,100
// 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 // ignore_for_file: public_member_api_docs, non_co...
packages/packages/video_player/video_player_android/lib/src/messages.g.dart/0
{ "file_path": "packages/packages/video_player/video_player_android/lib/src/messages.g.dart", "repo_id": "packages", "token_count": 5700 }
1,101
// 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:collection/collection.dart'; import 'server.dart'; export 'src/benchmark_result.dart'; /// Returns the average of the benchmark results i...
packages/packages/web_benchmarks/lib/analysis.dart/0
{ "file_path": "packages/packages/web_benchmarks/lib/analysis.dart", "repo_id": "packages", "token_count": 1613 }
1,102
// 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' show JsonEncoder; import 'dart:io'; import 'package:test/test.dart'; import 'package:web_benchmarks/server.dart'; import 'package:w...
packages/packages/web_benchmarks/testing/web_benchmarks_test.dart/0
{ "file_path": "packages/packages/web_benchmarks/testing/web_benchmarks_test.dart", "repo_id": "packages", "token_count": 949 }
1,103
// 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 test is run using `flutter drive` by the CI (see /script/tool/README.md // in this repository for details on driving that tooling manually), but ca...
packages/packages/webview_flutter/webview_flutter/example/integration_test/webview_flutter_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter/example/integration_test/webview_flutter_test.dart", "repo_id": "packages", "token_count": 13540 }
1,104
// 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'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:webview_flutter_...
packages/packages/webview_flutter/webview_flutter/lib/src/webview_widget.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter/lib/src/webview_widget.dart", "repo_id": "packages", "token_count": 1398 }
1,105
// 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.webkit.GeolocationPermissions; import androidx.annotation.NonNull; import androidx.annotation.Vi...
packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/GeolocationPermissionsCallbackFlutterApiImpl.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/GeolocationPermissionsCallbackFlutterApiImpl.java", "repo_id": "packages", "token_count": 694 }
1,106
// 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.annotation.SuppressLint; import android.os.Build; import android.webkit.HttpAuthHandler; import ...
packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewClientFlutterApiImpl.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewClientFlutterApiImpl.java", "repo_id": "packages", "token_count": 3804 }
1,107
// 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 'android_webview.dart' as android_webview; /// Handles constructing objects and calling static methods for the Android /// WebView native library. ...
packages/packages/webview_flutter/webview_flutter_android/lib/src/android_proxy.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/lib/src/android_proxy.dart", "repo_id": "packages", "token_count": 1715 }
1,108
// 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/android_webview.g.dart', dartTestOut: 'test/test_android...
packages/packages/webview_flutter/webview_flutter_android/pigeons/android_webview.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/pigeons/android_webview.dart", "repo_id": "packages", "token_count": 5519 }
1,109
// Mocks generated by Mockito 5.4.4 from annotations // in webview_flutter_android/test/legacy/webview_android_widget_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i5; import 'dart:typed_data' as _i7; import 'dart:ui' as _i3; impo...
packages/packages/webview_flutter/webview_flutter_android/test/legacy/webview_android_widget_test.mocks.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/test/legacy/webview_android_widget_test.mocks.dart", "repo_id": "packages", "token_count": 14395 }
1,110
// 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. /// Describes the state of JavaScript support in a given web view. enum JavascriptMode { /// JavaScript execution is disabled. disabled, /// JavaScr...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/legacy/types/javascript_mode.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/legacy/types/javascript_mode.dart", "repo_id": "packages", "token_count": 89 }
1,111
// 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'; /// A message that was sent by JavaScript code running in a [WebView]. /// /// Platform specific implementations...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/javascript_message.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/javascript_message.dart", "repo_id": "packages", "token_count": 440 }
1,112
// 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: unnecessary_statements import 'package:flutter_test/flutter_test.dart'; import 'package:webview_flutter_platform_interface/webview_flu...
packages/packages/webview_flutter/webview_flutter_platform_interface/test/webview_flutter_platform_interface_export_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/test/webview_flutter_platform_interface_export_test.dart", "repo_id": "packages", "token_count": 517 }
1,113
// 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'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_test/fl...
packages/packages/webview_flutter/webview_flutter_web/test/web_webview_controller_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_web/test/web_webview_controller_test.dart", "repo_id": "packages", "token_count": 3140 }
1,114
// 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 FWFURLAuthenticationChallengeHostApiTests : XCTe...
packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFURLAuthenticationChallengeHostApiTests.m/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFURLAuthenticationChallengeHostApiTests.m", "repo_id": "packages", "token_count": 932 }
1,115
// 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 <Foundation/Foundation.h> #import "FWFDataConverters.h" #import "FWFGeneratedWebKitApis.h" #import "FWFInstanceManager....
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFURLCredentialHostApi.h/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFURLCredentialHostApi.h", "repo_id": "packages", "token_count": 276 }
1,116
framework module webview_flutter_wkwebview { umbrella header "webview-umbrella.h" export * module * { export * } explicit module Test { header "FWFInstanceManager_Test.h" } }
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FlutterWebView.modulemap/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FlutterWebView.modulemap", "repo_id": "packages", "token_count": 67 }
1,117
// 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/instance_manager.dart'; import 'foundation/foundation.dart'; import 'ui_kit/ui_kit.dart'; import 'web_kit/web_kit.dart'; // This convenienc...
packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/webkit_proxy.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/webkit_proxy.dart", "repo_id": "packages", "token_count": 1464 }
1,118
# Currently missing: https://github.com/flutter/flutter/issues/82211 - file_selector # Waiting on https://github.com/flutter/flutter/issues/145149 - google_maps_flutter
packages/script/configs/exclude_integration_web.yaml/0
{ "file_path": "packages/script/configs/exclude_integration_web.yaml", "repo_id": "packages", "token_count": 56 }
1,119
// 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 'process_runner.dart'; import 'repository_package.dart'; const String _g...
packages/script/tool/lib/src/common/gradle.dart/0
{ "file_path": "packages/script/tool/lib/src/common/gradle.dart", "repo_id": "packages", "token_count": 569 }
1,120
// 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:path/path.dart' as p; import 'package:pub_semver/pub_semver.dart'; import 'common/file_utils.dart'; impor...
packages/script/tool/lib/src/federation_safety_check_command.dart/0
{ "file_path": "packages/script/tool/lib/src/federation_safety_check_command.dart", "repo_id": "packages", "token_count": 2853 }
1,121
// 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:yaml/yaml.dart'; import 'common/core.dart'; import 'common/output_utils.dart'; import 'common/package_loo...
packages/script/tool/lib/src/readme_check_command.dart/0
{ "file_path": "packages/script/tool/lib/src/readme_check_command.dart", "repo_id": "packages", "token_count": 4504 }
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 '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/common/package_command_test.dart/0
{ "file_path": "packages/script/tool/test/common/package_command_test.dart", "repo_id": "packages", "token_count": 20996 }
1,123
// 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/firebase_test_lab_command_test.dart/0
{ "file_path": "packages/script/tool/test/firebase_test_lab_command_test.dart", "repo_id": "packages", "token_count": 14220 }
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. 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/repo_package_info_check_command_test.dart/0
{ "file_path": "packages/script/tool/test/repo_package_info_check_command_test.dart", "repo_id": "packages", "token_count": 6515 }
1,125
<!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> <head> <title>Cupertino Icons 1.0.0 Gallery</title> <link href="css/icons.css" rel="stylesheet" type="text/css" /> <style> ...
packages/third_party/packages/cupertino_icons/index.html/0
{ "file_path": "packages/third_party/packages/cupertino_icons/index.html", "repo_id": "packages", "token_count": 69592 }
1,126
module.exports = { root: true, env: { es6: true, node: true, jest: true, }, extends: [ 'eslint:recommended', 'plugin:import/errors', 'plugin:import/warnings', 'plugin:import/typescript', 'google', 'plugin:@typescript-eslint/recommended', ], parser: '@typescript-eslint/par...
photobooth/functions/.eslintrc.js/0
{ "file_path": "photobooth/functions/.eslintrc.js", "repo_id": "photobooth", "token_count": 403 }
1,127
{ "compilerOptions": { "esModuleInterop": true, "module": "commonjs", "noImplicitReturns": true, "noImplicitAny": false, "noUnusedLocals": true, "outDir": "lib", "resolveJsonModule": true, "noUnusedParameters": true, "sourceMap": true, "strict": true, "target": "es2017" }...
photobooth/functions/tsconfig.json/0
{ "file_path": "photobooth/functions/tsconfig.json", "repo_id": "photobooth", "token_count": 168 }
1,128
{ "@@locale": "id", "landingPageHeading": "Selamat Datang di I\u2215O Photo Booth", "landingPageSubheading": "Berfotolah dan bagikan dengan orang-orang!", "landingPageTakePhotoButtonText": "Mulai", "footerMadeWithText": "Dibuat dengan ", "footerMadeWithFlutterLinkText": "Flutter", "footerMad...
photobooth/lib/l10n/arb/app_id.arb/0
{ "file_path": "photobooth/lib/l10n/arb/app_id.arb", "repo_id": "photobooth", "token_count": 2402 }
1,129
// ignore_for_file: avoid_print import 'dart:async'; import 'package:authentication_repository/authentication_repository.dart'; import 'package:bloc/bloc.dart'; import 'package:firebase_auth/firebase_auth.dart'; import 'package:firebase_core/firebase_core.dart'; import 'package:firebase_storage/firebase_storage.dart';...
photobooth/lib/main.dart/0
{ "file_path": "photobooth/lib/main.dart", "repo_id": "photobooth", "token_count": 810 }
1,130
import 'package:flutter/material.dart'; import 'package:io_photobooth/photobooth/photobooth.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; /// A widget that displays [CharactersLayer] and [StickersLayer] on top of /// the raw [image] took from the camera. class PhotoboothPhoto extends StatelessWidget { co...
photobooth/lib/photobooth/widgets/photobooth_photo.dart/0
{ "file_path": "photobooth/lib/photobooth/widgets/photobooth_photo.dart", "repo_id": "photobooth", "token_count": 235 }
1,131
import 'dart:async'; import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:io_photobooth/photobooth/photobooth.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class AnimatedPhotoboothPhoto extends StatefulWidget { cons...
photobooth/lib/share/widgets/animated_photobooth_photo.dart/0
{ "file_path": "photobooth/lib/share/widgets/animated_photobooth_photo.dart", "repo_id": "photobooth", "token_count": 2725 }
1,132
import 'package:bloc/bloc.dart'; import 'package:equatable/equatable.dart'; part 'stickers_event.dart'; part 'stickers_state.dart'; class StickersBloc extends Bloc<StickersEvent, StickersState> { StickersBloc() : super(const StickersState()) { on<StickersDrawerToggled>( (event, emit) => emit( stat...
photobooth/lib/stickers/bloc/stickers_bloc.dart/0
{ "file_path": "photobooth/lib/stickers/bloc/stickers_bloc.dart", "repo_id": "photobooth", "token_count": 256 }
1,133
{ "name": "io-photobooth", "version": "0.1.0", "private": false, "dependencies": {}, "scripts": { "emulate": "npm --prefix ./functions run tsc -w & firebase emulators:start --only hosting,functions,storage", "api": "npm --prefix ./functions run dev", "test:functions": "npm --prefix ./functions run...
photobooth/package.json/0
{ "file_path": "photobooth/package.json", "repo_id": "photobooth", "token_count": 128 }
1,134
export 'src/platform_interface/camera_platform.dart'; export 'src/types/types.dart';
photobooth/packages/camera/camera_platform_interface/lib/camera_platform_interface.dart/0
{ "file_path": "photobooth/packages/camera/camera_platform_interface/lib/camera_platform_interface.dart", "repo_id": "photobooth", "token_count": 28 }
1,135
include: package:very_good_analysis/analysis_options.yaml linter: rules: avoid_web_libraries_in_flutter: false
photobooth/packages/image_compositor/analysis_options.yaml/0
{ "file_path": "photobooth/packages/image_compositor/analysis_options.yaml", "repo_id": "photobooth", "token_count": 41 }
1,136
export 'is_mobile.dart';
photobooth/packages/photobooth_ui/lib/src/platform/platform.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/lib/src/platform/platform.dart", "repo_id": "photobooth", "token_count": 10 }
1,137
import 'package:flutter/widgets.dart'; import 'package:platform_helper/platform_helper.dart'; /// {@template platform_builder} /// A builder for mobile and desktop platform /// {@endtemplate} class PlatformBuilder extends StatelessWidget { /// {@macro platform_builder} PlatformBuilder({ required this.mobile, ...
photobooth/packages/photobooth_ui/lib/src/widgets/platform_builder.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/lib/src/widgets/platform_builder.dart", "repo_id": "photobooth", "token_count": 211 }
1,138
// ignore_for_file: prefer_const_constructors 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 MockAnimationController extends Mock implements AnimationController {} void main() { ...
photobooth/packages/photobooth_ui/test/src/widgets/animated_pulse_test.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/test/src/widgets/animated_pulse_test.dart", "repo_id": "photobooth", "token_count": 586 }
1,139
/// A library that manages the photo domain. library photos_repository; export 'src/photos_repository.dart';
photobooth/packages/photos_repository/lib/photos_repository.dart/0
{ "file_path": "photobooth/packages/photos_repository/lib/photos_repository.dart", "repo_id": "photobooth", "token_count": 33 }
1,140
name: io_photobooth description: I/O Photo Booth app. version: 1.0.0+1 publish_to: none environment: sdk: ">=2.19.0 <3.0.0" flutter: 3.8.0-14.0.pre.10 dependencies: analytics: path: packages/analytics authentication_repository: path: packages/authentication_repository bloc: ^8.1.0 camera: path...
photobooth/pubspec.yaml/0
{ "file_path": "photobooth/pubspec.yaml", "repo_id": "photobooth", "token_count": 642 }
1,141
// ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; import 'package:io_photobooth/photobooth/photobooth.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; void main() { group('AnimatedCharacters', () { group('AnimatedAndroid', () { test('is an AnimatedSprit...
photobooth/test/photobooth/widgets/animated_characters/animated_characters_test.dart/0
{ "file_path": "photobooth/test/photobooth/widgets/animated_characters/animated_characters_test.dart", "repo_id": "photobooth", "token_count": 353 }
1,142
// ignore_for_file: prefer_const_constructors import 'dart:typed_data'; import 'package:bloc_test/bloc_test.dart'; import 'package:camera/camera.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_photobooth/photobooth/photobooth.dart'; import 'package:io_photobooth/share/share.dart'; import 'pa...
photobooth/test/share/widgets/share_button_test.dart/0
{ "file_path": "photobooth/test/share/widgets/share_button_test.dart", "repo_id": "photobooth", "token_count": 1125 }
1,143
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="main" type="FlutterRunConfigurationType" factoryName="Flutter"> <option name="filePath" value="$PROJECT_DIR$/lib/main.dart" /> <method v="2" /> </configuration> </component>
pinball/.idea/runConfigurations/main.xml/0
{ "file_path": "pinball/.idea/runConfigurations/main.xml", "repo_id": "pinball", "token_count": 85 }
1,144
export 'assets_loading_page.dart';
pinball/lib/assets_manager/views/views.dart/0
{ "file_path": "pinball/lib/assets_manager/views/views.dart", "repo_id": "pinball", "token_count": 12 }
1,145
part of 'game_bloc.dart'; /// Defines bonuses that a player can gain during a PinballGame. enum GameBonus { /// Bonus achieved when the ball activates all Google letters. googleWord, /// Bonus achieved when the user activates all dash bumpers. dashNest, /// Bonus achieved when a ball enters Sparky's comput...
pinball/lib/game/bloc/game_state.dart/0
{ "file_path": "pinball/lib/game/bloc/game_state.dart", "repo_id": "pinball", "token_count": 1061 }
1,146
import 'package:flame/components.dart'; import 'package:flutter/material.dart'; import 'package:pinball/game/game.dart'; import 'package:pinball/l10n/l10n.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_flame/pinball_flame.dart'; import 'package:pinball_ui/pinball_ui.dart'; ...
pinball/lib/game/components/backbox/displays/initials_submission_failure_display.dart/0
{ "file_path": "pinball/lib/game/components/backbox/displays/initials_submission_failure_display.dart", "repo_id": "pinball", "token_count": 515 }
1,147
// ignore_for_file: avoid_renaming_method_parameters import 'package:flame/components.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:flutter/material.dart'; import 'package:pinball/game/behaviors/behaviors.dart'; import 'package:pinball/game/components/flutter_forest/behaviors/behaviors.dart'; imp...
pinball/lib/game/components/flutter_forest/flutter_forest.dart/0
{ "file_path": "pinball/lib/game/components/flutter_forest/flutter_forest.dart", "repo_id": "pinball", "token_count": 1360 }
1,148
import 'package:flame/extensions.dart'; import 'package:pinball/game/game.dart'; import 'package:pinball_components/pinball_components.dart' as components; import 'package:pinball_theme/pinball_theme.dart' hide Assets; /// Add methods to help loading and caching game assets. extension PinballGameAssetsX on PinballGame...
pinball/lib/game/game_assets.dart/0
{ "file_path": "pinball/lib/game/game_assets.dart", "repo_id": "pinball", "token_count": 4550 }
1,149
import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:pinball/gen/gen.dart'; import 'package:pinball/l10n/l10n.dart'; import 'package:pinball_audio/pinball_audio.dart'; import 'package:pinball_ui/pinball_ui.dart'; import 'package:platform_helper/p...
pinball/lib/how_to_play/widgets/how_to_play_dialog.dart/0
{ "file_path": "pinball/lib/how_to_play/widgets/how_to_play_dialog.dart", "repo_id": "pinball", "token_count": 3547 }
1,150
part of 'start_game_bloc.dart'; /// Defines status of start game flow. enum StartGameStatus { /// Initial status. initial, /// Selection characters status. selectCharacter, /// How to play status. howToPlay, /// Play status. play, } /// {@template start_game_state} /// Represents the state of flow ...
pinball/lib/start_game/bloc/start_game_state.dart/0
{ "file_path": "pinball/lib/start_game/bloc/start_game_state.dart", "repo_id": "pinball", "token_count": 284 }
1,151
// ignore_for_file: prefer_const_constructors, cascade_invocations import 'package:geometry/geometry.dart'; import 'package:test/test.dart'; import 'package:vector_math/vector_math_64.dart'; class Binomial { Binomial({required this.n, required this.k}); final num n; final num k; } void main() { group('calcu...
pinball/packages/geometry/test/src/geometry_test.dart/0
{ "file_path": "pinball/packages/geometry/test/src/geometry_test.dart", "repo_id": "pinball", "token_count": 2894 }
1,152
/// GENERATED CODE - DO NOT MODIFY BY HAND /// ***************************************************** /// FlutterGen /// ***************************************************** import 'package:flutter/widgets.dart'; class $AssetsMusicGen { const $AssetsMusicGen(); String get background => 'assets/music/background....
pinball/packages/pinball_audio/lib/gen/assets.gen.dart/0
{ "file_path": "pinball/packages/pinball_audio/lib/gen/assets.gen.dart", "repo_id": "pinball", "token_count": 964 }
1,153
import 'package:pinball_components/gen/fonts.gen.dart'; const String _fontPath = 'packages/pinball_components'; /// Class with the fonts available on the pinball game class PinballFonts { PinballFonts._(); /// Mono variation of the Pixeloid font static const String pixeloidMono = '$_fontPath/${FontFamily.pixel...
pinball/packages/pinball_components/lib/gen/pinball_fonts.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/gen/pinball_fonts.dart", "repo_id": "pinball", "token_count": 138 }
1,154
// ignore_for_file: public_member_api_docs part of 'arcade_background_cubit.dart'; class ArcadeBackgroundState extends Equatable { const ArcadeBackgroundState({required this.characterTheme}); const ArcadeBackgroundState.initial() : this(characterTheme: const DashTheme()); final CharacterTheme characterT...
pinball/packages/pinball_components/lib/src/components/arcade_background/cubit/arcade_background_state.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/arcade_background/cubit/arcade_background_state.dart", "repo_id": "pinball", "token_count": 108 }
1,155
import 'dart:async'; import 'package:flame/components.dart'; import 'package:flame/effects.dart'; import 'package:flutter/material.dart'; /// {@template camera_zoom} /// Applies zoom to the camera of the game where this is added to /// {@endtemplate} class CameraZoom extends Effect with HasGameRef { /// {@macro cam...
pinball/packages/pinball_components/lib/src/components/camera_zoom.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/camera_zoom.dart", "repo_id": "pinball", "token_count": 451 }
1,156
import 'dart:async'; import 'package:flame/components.dart'; import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_components/gen/assets.gen.dart'; import 'package:pinball_components/pinball_components.dart' hide Assets; import 'package:pinball_flame/pinball_flame.dart'; /// {@template dino_walls...
pinball/packages/pinball_components/lib/src/components/dino_walls.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/dino_walls.dart", "repo_id": "pinball", "token_count": 2320 }
1,157
import 'package:flame/components.dart'; import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_components/src/components/google_rollover/behaviors/behaviors.dart'; /// {@template google_rollover} /// Rollover that lights up [GoogleLetter]...
pinball/packages/pinball_components/lib/src/components/google_rollover/google_rollover.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/google_rollover/google_rollover.dart", "repo_id": "pinball", "token_count": 1293 }
1,158
import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_flame/pinball_flame.dart'; class LayerFilteringBehavior extends ContactBehavior<LayerSensor> { @override void beginContact(Object other, Contact contact) { super.beginContact(...
pinball/packages/pinball_components/lib/src/components/layer_sensor/behaviors/layer_filtering_behavior.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/layer_sensor/behaviors/layer_filtering_behavior.dart", "repo_id": "pinball", "token_count": 388 }
1,159
import 'package:bloc/bloc.dart'; part 'plunger_state.dart'; class PlungerCubit extends Cubit<PlungerState> { PlungerCubit() : super(PlungerState.releasing); void pulled() => emit(PlungerState.pulling); void released() => emit(PlungerState.releasing); void autoPulled() => emit(PlungerState.autoPulling); }
pinball/packages/pinball_components/lib/src/components/plunger/cubit/plunger_cubit.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/plunger/cubit/plunger_cubit.dart", "repo_id": "pinball", "token_count": 117 }
1,160
import 'package:flame/components.dart'; import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_components/src/components/bumping_behavior.dart'; import 'package:pinball_flame/pinball_flame.dart'; /// {@template slingshots} /// A collectio...
pinball/packages/pinball_components/lib/src/components/slingshot.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/slingshot.dart", "repo_id": "pinball", "token_count": 1229 }
1,161
import 'package:bloc/bloc.dart'; part 'sparky_computer_state.dart'; class SparkyComputerCubit extends Cubit<SparkyComputerState> { SparkyComputerCubit() : super(SparkyComputerState.withoutBall); void onBallEntered() { emit(SparkyComputerState.withBall); } void onBallTurboCharged() { emit(SparkyCompu...
pinball/packages/pinball_components/lib/src/components/sparky_computer/cubit/sparky_computer_cubit.dart/0
{ "file_path": "pinball/packages/pinball_components/lib/src/components/sparky_computer/cubit/sparky_computer_cubit.dart", "repo_id": "pinball", "token_count": 126 }
1,162
import 'dart:async'; import 'package:flame/components.dart'; import 'package:flame/input.dart'; import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:flutter/material.dart'; abstract class AssetsGame extends Forge2DGame { AssetsGame({ List<String>? imagesFileNames, }) : _imagesFileNames = imagesF...
pinball/packages/pinball_components/sandbox/lib/common/games.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/common/games.dart", "repo_id": "pinball", "token_count": 775 }
1,163
export 'stories.dart';
pinball/packages/pinball_components/sandbox/lib/stories/bottom_group/bottom_group.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/bottom_group/bottom_group.dart", "repo_id": "pinball", "token_count": 8 }
1,164
import 'dart:async'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class DashBumperMainGame extends BallGame { DashBumperMainGame() : super...
pinball/packages/pinball_components/sandbox/lib/stories/flutter_forest/dash_bumper_main_game.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/flutter_forest/dash_bumper_main_game.dart", "repo_id": "pinball", "token_count": 412 }
1,165
import 'package:dashbook/dashbook.dart'; import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/score/score_game.dart'; void addScoreStories(Dashbook dashbook) { dashbook.storiesOf('Score').addGame( title: 'Basic', description: ScoreGame.description, gameBuilder: (_) => ...
pinball/packages/pinball_components/sandbox/lib/stories/score/stories.dart/0
{ "file_path": "pinball/packages/pinball_components/sandbox/lib/stories/score/stories.dart", "repo_id": "pinball", "token_count": 129 }
1,166
// ignore_for_file: cascade_invocations import 'package:bloc_test/bloc_test.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:mocktail/mocktail.dart'; impor...
pinball/packages/pinball_components/test/src/components/android_animatronic/behaviors/android_animatronic_ball_contact_behavior_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/android_animatronic/behaviors/android_animatronic_ball_contact_behavior_test.dart", "repo_id": "pinball", "token_count": 829 }
1,167
// 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 '../../../../hel...
pinball/packages/pinball_components/test/src/components/ball/behaviors/ball_turbo_charging_behavior_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/ball/behaviors/ball_turbo_charging_behavior_test.dart", "repo_id": "pinball", "token_count": 1188 }
1,168
// ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_components/pinball_components.dart'; void main() { group('ChromeDinoState', () { test('supports value equality', () { expect( ChromeDinoState( status: ChromeDinoStatus.c...
pinball/packages/pinball_components/test/src/components/chrome_dino/cubit/chrome_dino_state_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/chrome_dino/cubit/chrome_dino_state_test.dart", "repo_id": "pinball", "token_count": 1132 }
1,169
// ignore_for_file: avoid_dynamic_calls, cascade_invocations import 'dart:async'; import 'package:bloc_test/bloc_test.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'; imp...
pinball/packages/pinball_components/test/src/components/flipper/behaviors/flipper_noise_behavior_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/flipper/behaviors/flipper_noise_behavior_test.dart", "repo_id": "pinball", "token_count": 924 }
1,170
// 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('LaunchRamp'...
pinball/packages/pinball_components/test/src/components/launch_ramp_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/launch_ramp_test.dart", "repo_id": "pinball", "token_count": 549 }
1,171
// ignore_for_file: cascade_invocations 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_components.dart'; import '../../../helpers/he...
pinball/packages/pinball_components/test/src/components/plunger/plunger_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/plunger/plunger_test.dart", "repo_id": "pinball", "token_count": 1707 }
1,172
// ignore_for_file: cascade_invocations, prefer_const_constructors 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...
pinball/packages/pinball_components/test/src/components/spaceship_ramp/spaceship_ramp_test.dart/0
{ "file_path": "pinball/packages/pinball_components/test/src/components/spaceship_ramp/spaceship_ramp_test.dart", "repo_id": "pinball", "token_count": 2908 }
1,173
import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_flame/pinball_flame.dart'; /// {@template layer_contact_behavior} /// Switches the [Layer] of any [Layered] body that contacts with it. /// {@endtemplate} class LayerContactBehavior extends ContactBehavior<BodyComponent> { /// {@macro layer_c...
pinball/packages/pinball_flame/lib/src/behaviors/layer_contact_behavior.dart/0
{ "file_path": "pinball/packages/pinball_flame/lib/src/behaviors/layer_contact_behavior.dart", "repo_id": "pinball", "token_count": 264 }
1,174
name: pinball_flame description: Set of out-of-the-way solutions for common Pinball game problems. version: 1.0.0+1 publish_to: none environment: sdk: ">=2.16.0 <3.0.0" dependencies: bloc: ^8.0.0 flame: ^1.1.1 flame_bloc: ^1.4.0 flame_forge2d: git: url: https://github.com/flame-engine/flame ...
pinball/packages/pinball_flame/pubspec.yaml/0
{ "file_path": "pinball/packages/pinball_flame/pubspec.yaml", "repo_id": "pinball", "token_count": 279 }
1,175
import 'package:flame/extensions.dart'; import 'package:flame/game.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_flame/pinball_flame.dart'; void main() { group('BezierCurveShape', () { test('can be instantiated', () { expect( BezierCurveShape( controlPoin...
pinball/packages/pinball_flame/test/src/shapes/bezier_curve_shape_test.dart/0
{ "file_path": "pinball/packages/pinball_flame/test/src/shapes/bezier_curve_shape_test.dart", "repo_id": "pinball", "token_count": 262 }
1,176
import 'package:equatable/equatable.dart'; import 'package:pinball_theme/pinball_theme.dart'; /// {@template character_theme} /// Base class for creating character themes. /// /// Character specific game components should have a getter specified here to /// load their corresponding assets for the game. /// {@endtempla...
pinball/packages/pinball_theme/lib/src/themes/character_theme.dart/0
{ "file_path": "pinball/packages/pinball_theme/lib/src/themes/character_theme.dart", "repo_id": "pinball", "token_count": 296 }
1,177
import 'package:flutter/material.dart'; import 'package:pinball_ui/pinball_ui.dart'; /// Pinball theme class PinballTheme { /// Standard [ThemeData] for Pinball UI static ThemeData get standard { return ThemeData( textTheme: _textTheme, ); } static TextTheme get _textTheme { return const Tex...
pinball/packages/pinball_ui/lib/src/theme/pinball_theme.dart/0
{ "file_path": "pinball/packages/pinball_ui/lib/src/theme/pinball_theme.dart", "repo_id": "pinball", "token_count": 220 }
1,178
import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:pinball_ui/pinball_ui.dart'; void main() { group('CrtBackground', () { test('is a BoxDecoration with a LinearGradient', () { // ignore: prefer_const_constructors final crtBg = CrtBackground(); ...
pinball/packages/pinball_ui/test/src/widgets/crt_background_test.dart/0
{ "file_path": "pinball/packages/pinball_ui/test/src/widgets/crt_background_test.dart", "repo_id": "pinball", "token_count": 339 }
1,179
/// The platform that is being used to share a score. enum SharePlatform { /// Twitter platform. twitter, /// Facebook platform. facebook, }
pinball/packages/share_repository/lib/src/models/share_platform.dart/0
{ "file_path": "pinball/packages/share_repository/lib/src/models/share_platform.dart", "repo_id": "pinball", "token_count": 40 }
1,180
// ignore_for_file: cascade_invocations 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/flutter_test.dart'; import...
pinball/test/game/behaviors/character_selection_behavior_test.dart/0
{ "file_path": "pinball/test/game/behaviors/character_selection_behavior_test.dart", "repo_id": "pinball", "token_count": 2561 }
1,181
// ignore_for_file: prefer_const_constructors import 'package:bloc_test/bloc_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:leaderboard_repository/leaderboard_repository.dart'; import 'package:mocktail/mocktail.dart'; import 'package:pinball/game/components/backbox/bloc/backbox_bloc.dart'...
pinball/test/game/components/backbox/bloc/backbox_bloc_test.dart/0
{ "file_path": "pinball/test/game/components/backbox/bloc/backbox_bloc_test.dart", "repo_id": "pinball", "token_count": 2851 }
1,182
// ignore_for_file: cascade_invocations import 'dart:async'; import 'package:bloc_test/bloc_test.dart'; import 'package:flame_bloc/flame_bloc.dart'; import 'package:flame_forge2d/forge2d_game.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mocktail/...
pinball/test/game/components/flutter_forest/behaviors/flutter_forest_bonus_behavior_test.dart/0
{ "file_path": "pinball/test/game/components/flutter_forest/behaviors/flutter_forest_bonus_behavior_test.dart", "repo_id": "pinball", "token_count": 2145 }
1,183
// ignore_for_file: prefer_const_constructors import 'dart:async'; import 'package:bloc_test/bloc_test.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:flutter_test/flutter_test.dart'; imp...
pinball/test/game/view/widgets/game_hud_test.dart/0
{ "file_path": "pinball/test/game/view/widgets/game_hud_test.dart", "repo_id": "pinball", "token_count": 1844 }
1,184
import 'package:bloc_test/bloc_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:pinball/start_game/bloc/start_game_bloc.dart'; void main() { group('StartGameBloc', () { blocTest<StartGameBloc, StartGameState>( 'on PlayTapped changes status to selectCharacter', build: Start...
pinball/test/start_game/bloc/start_game_bloc_test.dart/0
{ "file_path": "pinball/test/start_game/bloc/start_game_bloc_test.dart", "repo_id": "pinball", "token_count": 627 }
1,185