text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/google_maps_flutter/google_maps_flutter_android/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 951 |
// 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:google_maps_flutter_platform_interface/src/types/maps_object.dart';
import 'package:google... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/maps_object_updates_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/maps_object_updates_test.dart",
"repo_id": "packages",
"token_count": 2753
} | 952 |
// 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.
library google_maps_flutter_web;
import 'dart:async';
import 'dart:convert';
import 'dart:js_interop';
import 'dart:ui_web' as ui_web;
import 'package:co... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/google_maps_flutter_web.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/google_maps_flutter_web.dart",
"repo_id": "packages",
"token_count": 531
} | 953 |
// 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 library exposes web-only methods of [GoogleSignInPlatform.instance].
///
/// The exported methods will assert that the [GoogleSignInPlatform.insta... | packages/packages/google_sign_in/google_sign_in_web/lib/web_only.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/lib/web_only.dart",
"repo_id": "packages",
"token_count": 536
} | 954 |
// Mocks generated by Mockito 5.4.4 from annotations
// in image_picker/test/image_picker_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i4;
import 'package:cross_file/cross_file.dart' as _i5;
import 'package:image_picker_platform_... | packages/packages/image_picker/image_picker/test/image_picker_test.mocks.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker/test/image_picker_test.mocks.dart",
"repo_id": "packages",
"token_count": 3537
} | 955 |
// 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.imagepicker;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.con... | packages/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerUtils.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerUtils.java",
"repo_id": "packages",
"token_count": 735
} | 956 |
// 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:image_picker_android/image_picker_android.dart';
import 'package:image_picker_android/src... | packages/packages/image_picker/image_picker_android/test/image_picker_android_test.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/test/image_picker_android_test.dart",
"repo_id": "packages",
"token_count": 11419
} | 957 |
// 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:web/web.dart' as web;
/// Adds a `toList` method to [web.FileList] objects.
extension WebFileListToDartList on web.FileList {
/// Conver... | packages/packages/image_picker/image_picker_for_web/lib/src/pkg_web_tweaks.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_for_web/lib/src/pkg_web_tweaks.dart",
"repo_id": "packages",
"token_count": 170
} | 958 |
// 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 header is available in the Test module. Import via "@import image_picker_ios_ios.Test;"
#import <image_picker_ios/FLTImagePickerPlugin.h>
#import... | packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerPlugin_Test.h/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerPlugin_Test.h",
"repo_id": "packages",
"token_count": 1052
} | 959 |
// 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_selector_platform_interface/file_selector_platform_interface.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:i... | packages/packages/image_picker/image_picker_linux/test/image_picker_linux_test.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_linux/test/image_picker_linux_test.dart",
"repo_id": "packages",
"token_count": 2291
} | 960 |
// 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.inapppurchase;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import ... | packages/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/BillingClientFactoryImpl.java/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/BillingClientFactoryImpl.java",
"repo_id": "packages",
"token_count": 775
} | 961 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'billing_response_wrapper.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
BillingResultWrapper _$BillingResultWrapperFromJs... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_response_wrapper.g.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_response_wrapper.g.dart",
"repo_id": "packages",
"token_count": 145
} | 962 |
// 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:flutter/widgets.dart' as widgets;
import 'package:flutter_test/flutter_test.d... | packages/packages/in_app_purchase/in_app_purchase_android/test/in_app_purchase_android_platform_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/test/in_app_purchase_android_platform_test.dart",
"repo_id": "packages",
"token_count": 14810
} | 963 |
// 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 "FIAObjectTranslator.h"
#pragma mark - SKProduct Coders
@implementation FIAObjectTranslator
+ (NSDictionary *)getMapFromSKProduct:(SKProduct *)p... | packages/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAObjectTranslator.m/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAObjectTranslator.m",
"repo_id": "packages",
"token_count": 7752
} | 964 |
#include "../../Flutter/Flutter-Debug.xcconfig"
| packages/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 19
} | 965 |
<resources>
<dimen name="medium_text_size">16sp</dimen>
<dimen name="huge_text_size">20sp</dimen>
</resources>
| packages/packages/local_auth/local_auth_android/android/src/main/res/values/dimens.xml/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/android/src/main/res/values/dimens.xml",
"repo_id": "packages",
"token_count": 46
} | 966 |
// Mocks generated by Mockito 5.4.4 from annotations
// in local_auth_android/test/local_auth_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'package:local_auth_android/src/messages.g.dart' as _i2;
import 'package:mockit... | packages/packages/local_auth/local_auth_android/test/local_auth_test.mocks.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/test/local_auth_test.mocks.dart",
"repo_id": "packages",
"token_count": 1151
} | 967 |
{
"context": {
"date": "2021-11-09T15:08:32-08:00",
"host_name": "test",
"executable": "benchmarks",
"num_cpus": 16,
"mhz_per_cpu": 2300,
"cpu_scaling_enabled": false,
"caches": [
{
"type": "Data",
"level": 1,
"siz... | packages/packages/metrics_center/test/example_google_benchmark.json/0 | {
"file_path": "packages/packages/metrics_center/test/example_google_benchmark.json",
"repo_id": "packages",
"token_count": 1917
} | 968 |
// 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 'src/constants.dart';
import 'src/lookup_resolver.dart';
import 'src/native_protocol_client.dart';
import 's... | packages/packages/multicast_dns/lib/multicast_dns.dart/0 | {
"file_path": "packages/packages/multicast_dns/lib/multicast_dns.dart",
"repo_id": "packages",
"token_count": 2841
} | 969 |
// 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:ui' as ui show Codec, FrameInfo, Image, instantiateImageCodec;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dar... | packages/packages/palette_generator/test/palette_generator_test.dart/0 | {
"file_path": "packages/packages/palette_generator/test/palette_generator_test.dart",
"repo_id": "packages",
"token_count": 7113
} | 970 |
// 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, do not edit directly.
// See also: https://pub.dev/packages/pigeon
import static java.lang.annotation.ElementType.METHOD;
imp... | packages/packages/pigeon/example/app/android/app/src/main/java/io/flutter/plugins/Messages.java/0 | {
"file_path": "packages/packages/pigeon/example/app/android/app/src/main/java/io/flutter/plugins/Messages.java",
"repo_id": "packages",
"token_count": 5549
} | 971 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/pigeon/example/app/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/pigeon/example/app/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 972 |
name: pigeon_example
description: example app to show basic usage of pigeon.
publish_to: none
environment:
sdk: ^3.1.0
dependencies:
dev_dependencies:
build_runner: ^2.1.10
| packages/packages/pigeon/example/pubspec.yaml/0 | {
"file_path": "packages/packages/pigeon/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 64
} | 973 |
This directory contains Pigeon API definitions used to generate code for tests.
Please do not add new files to this directory unless absolutely necessary;
most additions should go into core_tests.dart. See
https://github.com/flutter/flutter/issues/115168 for context.
| packages/packages/pigeon/pigeons/README.md/0 | {
"file_path": "packages/packages/pigeon/pigeons/README.md",
"repo_id": "packages",
"token_count": 65
} | 974 |
# alternate_language_test_plugin
Tests for languages not covered by `test_plugin`.
See [the `platform_tests` README](../README.md) for details.
To run these tests, use [`test.dart`](../tool/test.dart)
| packages/packages/pigeon/platform_tests/alternate_language_test_plugin/README.md/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/README.md",
"repo_id": "packages",
"token_count": 68
} | 975 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package com.example.alternate_language_test_plugin;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import com.example.alternate_l... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/PigeonTest.java/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/PigeonTest.java",
"repo_id": "packages",
"token_count": 338
} | 976 |
// 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 alternate_language_test_plugin;
#import "MockBinaryMessenger.h"
///////////////////////////////////////////////... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/AsyncHandlersTest.m/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/AsyncHandlersTest.m",
"repo_id": "packages",
"token_count": 2099
} | 977 |
This package contains the shared code (generated Pigeon output, example app,
integration tests) for `test_plugin` and `alternate_language_shared_plugin`.
Since those two plugin projects are intended to be identical, and only exist
as separate projects because of the Java/Kotlin and Obj-C/Swift overlap that
prevents co... | packages/packages/pigeon/platform_tests/shared_test_plugin_code/README.md/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/README.md",
"repo_id": "packages",
"token_count": 99
} | 978 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Flutter
import Foundation
typealias HandlerBinaryMessengerHandler = ([Any?]) -> Any
class HandlerBinaryMessenger: NSObject, FlutterBinaryMessenger... | packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/HandlerBinaryMessenger.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/HandlerBinaryMessenger.swift",
"repo_id": "packages",
"token_count": 454
} | 979 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/pigeon/platform_tests/test_plugin/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 980 |
// 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 <gtest/gtest.h>
#include "pigeon/primitive.gen.h"
#include "test/utils/fake_host_messenger.h"
namespace primitive_pigeontest {
namespace {
usin... | packages/packages/pigeon/platform_tests/test_plugin/windows/test/primitive_test.cpp/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/test/primitive_test.cpp",
"repo_id": "packages",
"token_count": 1843
} | 981 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:pigeon/ast.dart';
import 'package:pigeon/kotlin_generator.dart';
import 'package:test/test.dart';
const String DEFAULT_PACKAGE_NAME = 'tes... | packages/packages/pigeon/test/kotlin_generator_test.dart/0 | {
"file_path": "packages/packages/pigeon/test/kotlin_generator_test.dart",
"repo_id": "packages",
"token_count": 26064
} | 982 |
// 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:platform/platform.dart';
/// This sample app shows the platform details of the device it is runnin... | packages/packages/platform/example/lib/main.dart/0 | {
"file_path": "packages/packages/platform/example/lib/main.dart",
"repo_id": "packages",
"token_count": 2418
} | 983 |
# plugin_platform_interface
This package provides a base class for platform interfaces of [federated flutter plugins](https://flutter.dev/go/federated-plugins).
Platform implementations should `extends` their platform interface class rather than `implement`s it, as
newly added methods to platform interfaces are not c... | packages/packages/plugin_platform_interface/README.md/0 | {
"file_path": "packages/packages/plugin_platform_interface/README.md",
"repo_id": "packages",
"token_count": 800
} | 984 |
// 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 UIKit
public class PointerInterceptorView: NSObject, FlutterPlatformView {
let interceptorView: UIView
init(frame: CGRect, debu... | packages/packages/pointer_interceptor/pointer_interceptor_ios/ios/Classes/PointerInterceptorView.swift/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/ios/Classes/PointerInterceptorView.swift",
"repo_id": "packages",
"token_count": 183
} | 985 |
// 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/widgets.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'package:pointer_interceptor_platform_interfac... | packages/packages/pointer_interceptor/pointer_interceptor_web/lib/pointer_interceptor_web.dart/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_web/lib/pointer_interceptor_web.dart",
"repo_id": "packages",
"token_count": 566
} | 986 |
// 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:process/process.dart';
import 'package:test/test.dart';
void main() {... | packages/packages/process/test/src/interface/process_wrapper_test.dart/0 | {
"file_path": "packages/packages/process/test/src/interface/process_wrapper_test.dart",
"repo_id": "packages",
"token_count": 1328
} | 987 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/quick_actions/quick_actions_android/example/android/gradle.properties/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 988 |
// 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:quick_actions_platform_interface/quick_actions_platform_interface.dart';
import 'messages.g.dart... | packages/packages/quick_actions/quick_actions_ios/lib/quick_actions_ios.dart/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_ios/lib/quick_actions_ios.dart",
"repo_id": "packages",
"token_count": 582
} | 989 |
#include "ephemeral/Flutter-Generated.xcconfig"
| packages/packages/rfw/example/hello/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "packages/packages/rfw/example/hello/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "packages",
"token_count": 19
} | 990 |
{
"name": "hello",
"short_name": "hello",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "Hello World example for RFW",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [
... | packages/packages/rfw/example/hello/web/manifest.json/0 | {
"file_path": "packages/packages/rfw/example/hello/web/manifest.json",
"repo_id": "packages",
"token_count": 512
} | 991 |
// 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:collection';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import '../..... | packages/packages/rfw/lib/src/flutter/runtime.dart/0 | {
"file_path": "packages/packages/rfw/lib/src/flutter/runtime.dart",
"repo_id": "packages",
"token_count": 19378
} | 992 |
name: test_coverage
description: "Internal coverage test logic for package:rfw."
version: 1.0.0
publish_to: none
environment:
sdk: ^3.2.0
dependencies:
lcov_parser: 0.1.1
meta: ^1.7.0
| packages/packages/rfw/test_coverage/pubspec.yaml/0 | {
"file_path": "packages/packages/rfw/test_coverage/pubspec.yaml",
"repo_id": "packages",
"token_count": 79
} | 993 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.sharedpreferences">
</manifest>
| packages/packages/shared_preferences/shared_preferences_android/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_android/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 47
} | 994 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 2.3.2
* Updates `package:file` version constraints.
## 2.3.1
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
## 2.3.0
* Adds `clearWithParameters` and `getAllWithParameters` metho... | packages/packages/shared_preferences/shared_preferences_windows/CHANGELOG.md/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_windows/CHANGELOG.md",
"repo_id": "packages",
"token_count": 685
} | 995 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'package:file/memory.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:path/path.dart' as path;
import... | packages/packages/shared_preferences/shared_preferences_windows/test/shared_preferences_windows_test.dart/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_windows/test/shared_preferences_windows_test.dart",
"repo_id": "packages",
"token_count": 3068
} | 996 |
## 0.1.2
* Fixes a layout issue for unpinned merged cells that follow pinned table spans.
* Updates outdated sample code.
## 0.1.1
* Fixes a layout issue when pinned cells are merged.
## 0.1.0
* [Breaking change] Adds support for merged cells in the TableView.
## 0.0.6
* Fixes an error in TableSpanDecoration whe... | packages/packages/two_dimensional_scrollables/CHANGELOG.md/0 | {
"file_path": "packages/packages/two_dimensional_scrollables/CHANGELOG.md",
"repo_id": "packages",
"token_count": 347
} | 997 |
// 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:two_dimensional_scrollables/two_dimensional_scrollables.dar... | packages/packages/two_dimensional_scrollables/example/lib/main.dart/0 | {
"file_path": "packages/packages/two_dimensional_scrollables/example/lib/main.dart",
"repo_id": "packages",
"token_count": 2465
} | 998 |
// 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.
/// The [TableView] and associated widgets.
///
/// To use, import `package:two_dimensional_scrollables/two_dimensional_scrollables.dart`.
library table_vi... | packages/packages/two_dimensional_scrollables/lib/two_dimensional_scrollables.dart/0 | {
"file_path": "packages/packages/two_dimensional_scrollables/lib/two_dimensional_scrollables.dart",
"repo_id": "packages",
"token_count": 151
} | 999 |
// 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.urllauncher;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.A... | packages/packages/url_launcher/url_launcher_android/android/src/test/java/io/flutter/plugins/urllauncher/UrlLauncherTest.java/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_android/android/src/test/java/io/flutter/plugins/urllauncher/UrlLauncherTest.java",
"repo_id": "packages",
"token_count": 7190
} | 1,000 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:url_launcher_linux/url_launcher_linux.dart';
impor... | packages/packages/url_launcher/url_launcher_linux/test/url_launcher_linux_test.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_linux/test/url_launcher_linux_test.dart",
"repo_id": "packages",
"token_count": 1832
} | 1,001 |
# url\_launcher\_web
The web implementation of [`url_launcher`][1].
## Usage
This package is [endorsed][2], which means you can simply use `url_launcher`
normally. This package will be automatically included in your app when you do,
so you do not need to add it to your `pubspec.yaml`.
However, if you `import` this ... | packages/packages/url_launcher/url_launcher_web/README.md/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_web/README.md",
"repo_id": "packages",
"token_count": 384
} | 1,002 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 3.1.1
* Updates `launchUrl` to return false instead of throwing when there is no handler.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
## 3.1.0
* Implements `supportsMode` and `supportsCloseForMode`.
## 3.0.8
* Adds... | packages/packages/url_launcher/url_launcher_windows/CHANGELOG.md/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_windows/CHANGELOG.md",
"repo_id": "packages",
"token_count": 743
} | 1,003 |
name: url_launcher_windows
description: Windows implementation of the url_launcher plugin.
repository: https://github.com/flutter/packages/tree/main/packages/url_launcher/url_launcher_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+url_launcher%22
version: 3.1.1
... | packages/packages/url_launcher/url_launcher_windows/pubspec.yaml/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_windows/pubspec.yaml",
"repo_id": "packages",
"token_count": 316
} | 1,004 |
<?code-excerpt path-base="example/lib"?>
# Video Player plugin for Flutter
[](https://pub.dev/packages/video_player)
A Flutter plugin for iOS, Android and Web for playing back video on a Widget surface.
| | Android | iOS | macOS | Web |
|... | packages/packages/video_player/video_player/README.md/0 | {
"file_path": "packages/packages/video_player/video_player/README.md",
"repo_id": "packages",
"token_count": 1895
} | 1,005 |
// 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:js_interop';
import 'dart:math' as math;
import 'dart:ui';
import 'dart:ui_web' as ui_web;
import 'package:flutter/found... | packages/packages/web_benchmarks/lib/src/recorder.dart/0 | {
"file_path": "packages/packages/web_benchmarks/lib/src/recorder.dart",
"repo_id": "packages",
"token_count": 12620
} | 1,006 |
// 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';
const ValueKey<String> textKey = ValueKey<String>('textKey');
const ValueKey<String> aboutPageKey = ValueKey<Strin... | packages/packages/web_benchmarks/testing/test_app/lib/home_page.dart/0 | {
"file_path": "packages/packages/web_benchmarks/testing/test_app/lib/home_page.dart",
"repo_id": "packages",
"token_count": 1391
} | 1,007 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/webview_flutter/webview_flutter/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,008 |
name: webview_flutter_example
description: Demonstrates how to use the webview_flutter plugin.
publish_to: none
environment:
sdk: ^3.2.3
flutter: ">=3.16.6"
dependencies:
flutter:
sdk: flutter
path_provider: ^2.0.6
webview_flutter:
# When depending on this package from a real application you should ... | packages/packages/webview_flutter/webview_flutter/example/pubspec.yaml/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 390
} | 1,009 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.webviewflutter;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.... | packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/CookieManagerTest.java/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/CookieManagerTest.java",
"repo_id": "packages",
"token_count": 1493
} | 1,010 |
h1 {
color: blue;
} | packages/packages/webview_flutter/webview_flutter_android/example/assets/www/styles/style.css/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/example/assets/www/styles/style.css",
"repo_id": "packages",
"token_count": 13
} | 1,011 |
// Mocks generated by Mockito 5.4.4 from annotations
// in webview_flutter_android/test/android_webview_cookie_manager_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i5;
import 'dart:ui' as _i4;
import 'package:mockito/mockito.dart... | packages/packages/webview_flutter/webview_flutter_android/test/android_webview_cookie_manager_test.mocks.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/test/android_webview_cookie_manager_test.mocks.dart",
"repo_id": "packages",
"token_count": 8291
} | 1,012 |
# webview\_flutter\_wkwebview
The Apple WKWebView implementation of [`webview_flutter`][1].
## Usage
This package is [endorsed][2], which means you can simply use `webview_flutter`
normally. This package will be automatically included in your app when you do,
so you do not need to add it to your `pubspec.yaml`.
How... | packages/packages/webview_flutter/webview_flutter_wkwebview/README.md/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/README.md",
"repo_id": "packages",
"token_count": 590
} | 1,013 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import Flutter;
@import XCTest;
@import webview_flutter_wkwebview;
#import <OCMock/OCMock.h>
static bool feq(CGFloat a, CGFloat b) { return fabs(b - a) ... | packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFWebViewHostApiTests.m/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFWebViewHostApiTests.m",
"repo_id": "packages",
"token_count": 8692
} | 1,014 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v13.0.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import <Foundation/Foundation.h>
@protocol Flu... | packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFGeneratedWebKitApis.h/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFGeneratedWebKitApis.h",
"repo_id": "packages",
"token_count": 25162
} | 1,015 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "FWFScrollViewDelegateHostApi.h"
#import "FWFWebViewHostApi.h"
@interface FWFScrollViewDelegateFlutterApiImpl ()
// BinaryMessenger must be weak t... | packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFScrollViewDelegateHostApi.m/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFScrollViewDelegateHostApi.m",
"repo_id": "packages",
"token_count": 1581
} | 1,016 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "FWFUserContentControllerHostApi.h"
#import "FWFDataConverters.h"
#import "FWFWebViewConfigurationHostApi.h"
@interface FWFUserContentControllerHo... | packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFUserContentControllerHostApi.m/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFUserContentControllerHostApi.m",
"repo_id": "packages",
"token_count": 1743
} | 1,017 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import '../common/instance_manager.dart';
import '../common/weak_referen... | packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/foundation/foundation.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/foundation/foundation.dart",
"repo_id": "packages",
"token_count": 5479
} | 1,018 |
// 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/common/web_kit.g.dart',
dartTestOut: 'test/src/common/te... | packages/packages/webview_flutter/webview_flutter_wkwebview/pigeons/web_kit.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/pigeons/web_kit.dart",
"repo_id": "packages",
"token_count": 10293
} | 1,019 |
// Mocks generated by Mockito 5.4.4 from annotations
// in webview_flutter_wkwebview/test/webkit_webview_controller_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i6;
import 'dart:math' as _i3;
import 'dart:ui' as _i7;
import 'pack... | packages/packages/webview_flutter/webview_flutter_wkwebview/test/webkit_webview_controller_test.mocks.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/test/webkit_webview_controller_test.mocks.dart",
"repo_id": "packages",
"token_count": 14843
} | 1,020 |
// 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:io';
import 'package:flutter/material.dart';
import 'package:xdg_directories/xdg_directories.dart'... | packages/packages/xdg_directories/example/lib/main.dart/0 | {
"file_path": "packages/packages/xdg_directories/example/lib/main.dart",
"repo_id": "packages",
"token_count": 991
} | 1,021 |
# Packages that deliberately use their own analysis_options.yaml.
#
# Please consult with #hackers-ecosystem before adding anything to this list,
# as the goal is to have consistent analysis options across all packages.
#
# All entries here shoud include a comment explaining why they use different
# options.
# DO NOT ... | packages/script/configs/custom_analysis.yaml/0 | {
"file_path": "packages/script/configs/custom_analysis.yaml",
"repo_id": "packages",
"token_count": 375
} | 1,022 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io' as io;
import 'package:platform/platform.dart';
import 'process_runner.dart';
import 'repository_package.dart';
/// Runs either `dart p... | packages/script/tool/lib/src/common/pub_utils.dart/0 | {
"file_path": "packages/script/tool/lib/src/common/pub_utils.dart",
"repo_id": "packages",
"token_count": 524
} | 1,023 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'common/core.dart';
import 'common/gradle.dart';
import 'common/output_utils.dart';
import 'common/package_looping_command.dart';
import 'common/plu... | packages/script/tool/lib/src/lint_android_command.dart/0 | {
"file_path": "packages/script/tool/lib/src/lint_android_command.dart",
"repo_id": "packages",
"token_count": 835
} | 1,024 |
// 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:http/http.dart' as http;
import 'package:meta/meta.dart';
import 'package:path/path.dart' as p;
import 'pa... | packages/script/tool/lib/src/version_check_command.dart/0 | {
"file_path": "packages/script/tool/lib/src/version_check_command.dart",
"repo_id": "packages",
"token_count": 7551
} | 1,025 |
// 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:pubspec_parse/pubspec_parse.dart';
import 'package:test/test.dart';
im... | packages/script/tool/test/common/repository_package_test.dart/0 | {
"file_path": "packages/script/tool/test/common/repository_package_test.dart",
"repo_id": "packages",
"token_count": 3165
} | 1,026 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:args/command_runner.dart';
import 'package:file/file.dart';
import 'package:file/memory.dart';
import 'package:flutter_plugin_tools/src/mak... | packages/script/tool/test/make_deps_path_based_command_test.dart/0 | {
"file_path": "packages/script/tool/test/make_deps_path_based_command_test.dart",
"repo_id": "packages",
"token_count": 9375
} | 1,027 |
// 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/xcode_analyze_command_test.dart/0 | {
"file_path": "packages/script/tool/test/xcode_analyze_command_test.dart",
"repo_id": "packages",
"token_count": 8123
} | 1,028 |
import * as admin from 'firebase-admin';
admin.initializeApp();
export { shareImage } from './share';
| photobooth/functions/src/index.ts/0 | {
"file_path": "photobooth/functions/src/index.ts",
"repo_id": "photobooth",
"token_count": 30
} | 1,029 |
export 'widgets/widgets.dart';
| photobooth/lib/footer/footer.dart/0 | {
"file_path": "photobooth/lib/footer/footer.dart",
"repo_id": "photobooth",
"token_count": 12
} | 1,030 |
export 'animated_android.dart';
export 'animated_dash.dart';
export 'animated_dino.dart';
export 'animated_sparky.dart';
| photobooth/lib/photobooth/widgets/animated_characters/animated_characters.dart/0 | {
"file_path": "photobooth/lib/photobooth/widgets/animated_characters/animated_characters.dart",
"repo_id": "photobooth",
"token_count": 47
} | 1,031 |
part of 'share_bloc.dart';
enum ShareStatus { initial, loading, success, failure }
enum ShareUrl { none, twitter, facebook }
extension ShareStatusX on ShareStatus {
bool get isLoading => this == ShareStatus.loading;
bool get isSuccess => this == ShareStatus.success;
bool get isFailure => this == ShareStatus.fa... | photobooth/lib/share/bloc/share_state.dart/0 | {
"file_path": "photobooth/lib/share/bloc/share_state.dart",
"repo_id": "photobooth",
"token_count": 764
} | 1,032 |
import 'package:flutter/material.dart';
import 'package:io_photobooth/l10n/l10n.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
class ShareHeading extends StatelessWidget {
const ShareHeading({super.key});
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final l1... | photobooth/lib/share/widgets/share_heading.dart/0 | {
"file_path": "photobooth/lib/share/widgets/share_heading.dart",
"repo_id": "photobooth",
"token_count": 544
} | 1,033 |
import 'package:flutter/material.dart';
import 'package:io_photobooth/l10n/l10n.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
class ClearStickersCancelButton extends StatelessWidget {
const ClearStickersCancelButton({super.key});
@override
Widget build(BuildContext context) {
final l10n = contex... | photobooth/lib/stickers/widgets/clear_stickers/clear_stickers_cancel_button.dart/0 | {
"file_path": "photobooth/lib/stickers/widgets/clear_stickers/clear_stickers_cancel_button.dart",
"repo_id": "photobooth",
"token_count": 259
} | 1,034 |
@TestOn('chrome')
library;
import 'dart:js';
import 'package:analytics/src/analytics_web.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
class MockJsObject extends Mock implements JsObject {}
void main() {
group('trackEvent', () {
late JsObject context;
se... | photobooth/packages/analytics/test/analytics_web_test.dart/0 | {
"file_path": "photobooth/packages/analytics/test/analytics_web_test.dart",
"repo_id": "photobooth",
"token_count": 382
} | 1,035 |
export 'camera_exception.dart';
export 'camera_image.dart';
export 'camera_options.dart';
export 'media_device_info.dart';
| photobooth/packages/camera/camera_platform_interface/lib/src/types/types.dart/0 | {
"file_path": "photobooth/packages/camera/camera_platform_interface/lib/src/types/types.dart",
"repo_id": "photobooth",
"token_count": 43
} | 1,036 |
import 'package:flutter/material.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
import 'package:platform_helper/platform_helper.dart';
/// Show a modal as bottom sheet when mobile or portrait. Else displays a dialog
Future<T?> showAppModal<T>({
required BuildContext context,
required Widget portraitChil... | photobooth/packages/photobooth_ui/lib/src/helpers/modal_helper.dart/0 | {
"file_path": "photobooth/packages/photobooth_ui/lib/src/helpers/modal_helper.dart",
"repo_id": "photobooth",
"token_count": 283
} | 1,037 |
import 'dart:async';
import 'package:flame/components.dart' hide Timer;
import 'package:flame/sprite.dart';
import 'package:flame/widgets.dart';
import 'package:flutter/material.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
/// {@template sprites}
/// Object which contains meta data for a collection of sp... | photobooth/packages/photobooth_ui/lib/src/widgets/animated_sprite.dart/0 | {
"file_path": "photobooth/packages/photobooth_ui/lib/src/widgets/animated_sprite.dart",
"repo_id": "photobooth",
"token_count": 1450
} | 1,038 |
export 'links_helper_test.dart';
export 'set_display_size.dart';
| photobooth/packages/photobooth_ui/test/src/helpers/helpers.dart/0 | {
"file_path": "photobooth/packages/photobooth_ui/test/src/helpers/helpers.dart",
"repo_id": "photobooth",
"token_count": 25
} | 1,039 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
void main() {
group('AppTooltip', () {
testWidgets('renders Tooltip by default', (tester) async {
const target = Key('__k... | photobooth/packages/photobooth_ui/test/src/widgets/app_tooltip_test.dart/0 | {
"file_path": "photobooth/packages/photobooth_ui/test/src/widgets/app_tooltip_test.dart",
"repo_id": "photobooth",
"token_count": 855
} | 1,040 |
// ignore_for_file: prefer_const_constructors
import 'package:io_photobooth/share/share.dart';
import 'package:test/test.dart';
void main() {
group('ShareEvent', () {
group('ShareViewLoaded', () {
test('support value equality', () {
final instanceA = ShareViewLoaded();
final instanceB = Sha... | photobooth/test/share/bloc/share_event_test.dart/0 | {
"file_path": "photobooth/test/share/bloc/share_event_test.dart",
"repo_id": "photobooth",
"token_count": 343
} | 1,041 |
// ignore_for_file: prefer_const_constructors
import 'dart:convert';
import 'dart:typed_data';
import 'package:bloc_test/bloc_test.dart';
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_test/flutter_test.dart';
import... | photobooth/test/stickers/view/stickers_page_test.dart/0 | {
"file_path": "photobooth/test/stickers/view/stickers_page_test.dart",
"repo_id": "photobooth",
"token_count": 9383
} | 1,042 |
include: package:very_good_analysis/analysis_options.2.4.0.yaml
analyzer:
exclude:
- lib/**/*.gen.dart
linter:
rules:
public_member_api_docs: false | pinball/analysis_options.yaml/0 | {
"file_path": "pinball/analysis_options.yaml",
"repo_id": "pinball",
"token_count": 64
} | 1,043 |
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:pinball_audio/pinball_audio.dart';
import 'package:pinball_flame/pinball_flame.dart';
class BumperNoiseBehavior extends ContactBehavior {
@override
void beginContact(Object other, Contact contact) {
super.beginContact(other, contact);
readP... | pinball/lib/game/behaviors/bumper_noise_behavior.dart/0 | {
"file_path": "pinball/lib/game/behaviors/bumper_noise_behavior.dart",
"repo_id": "pinball",
"token_count": 128
} | 1,044 |
import 'package:flame/components.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:pinball/game/game.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_flame/pinball_flame.dart';
/// Reset [SpaceshipRamp] state when GameState.rounds changes.
class RampResetBeh... | pinball/lib/game/components/android_acres/behaviors/ramp_reset_behavior.dart/0 | {
"file_path": "pinball/lib/game/components/android_acres/behaviors/ramp_reset_behavior.dart",
"repo_id": "pinball",
"token_count": 223
} | 1,045 |
export 'android_acres/android_acres.dart';
export 'backbox/backbox.dart';
export 'bottom_group.dart';
export 'dino_desert/dino_desert.dart';
export 'drain/drain.dart';
export 'flutter_forest/flutter_forest.dart';
export 'game_bloc_status_listener.dart';
export 'google_gallery/google_gallery.dart';
export 'launcher.dart... | pinball/lib/game/components/components.dart/0 | {
"file_path": "pinball/lib/game/components/components.dart",
"repo_id": "pinball",
"token_count": 171
} | 1,046 |
import 'package:flame/components.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:pinball/game/game.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_flame/pinball_flame.dart';
/// Toggle each [Multiball] when there is a bonus ball.
class MultiballsBehavior ... | pinball/lib/game/components/multiballs/behaviors/multiballs_behavior.dart/0 | {
"file_path": "pinball/lib/game/components/multiballs/behaviors/multiballs_behavior.dart",
"repo_id": "pinball",
"token_count": 344
} | 1,047 |
import 'package:flutter/material.dart';
import 'package:pinball_ui/pinball_ui.dart';
/// {@template mobile_dpad}
/// Widget rendering 4 directional input arrows.
/// {@endtemplate}
class MobileDpad extends StatelessWidget {
/// {@template mobile_dpad}
const MobileDpad({
Key? key,
required this.onTapUp,
... | pinball/lib/game/view/widgets/mobile_dpad.dart/0 | {
"file_path": "pinball/lib/game/view/widgets/mobile_dpad.dart",
"repo_id": "pinball",
"token_count": 905
} | 1,048 |
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:pinball/l10n/l10n.dart';
import 'package:pinball_ui/pinball_ui.dart';
/// Inflates [MoreInformationDialog] using [showDialog].
Future<void> showMoreInformationDialog(BuildContext context) {
final gameWidgetWidth = MediaQu... | pinball/lib/more_information/more_information_dialog.dart/0 | {
"file_path": "pinball/lib/more_information/more_information_dialog.dart",
"repo_id": "pinball",
"token_count": 2573
} | 1,049 |
import 'package:firebase_auth/firebase_auth.dart';
/// {@template authentication_exception}
/// Exception for authentication repository failures.
/// {@endtemplate}
class AuthenticationException implements Exception {
/// {@macro authentication_exception}
const AuthenticationException(this.error, this.stackTrace);... | pinball/packages/authentication_repository/lib/src/authentication_repository.dart/0 | {
"file_path": "pinball/packages/authentication_repository/lib/src/authentication_repository.dart",
"repo_id": "pinball",
"token_count": 307
} | 1,050 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.