text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_sign_in_android/google_sign_in_android.dart... | packages/packages/google_sign_in/google_sign_in_android/test/google_sign_in_android_test.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/test/google_sign_in_android_test.dart",
"repo_id": "packages",
"token_count": 2366
} | 971 |
// 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 <TargetConditionals.h>
#if TARGET_OS_OSX
@import FlutterMacOS;
#else
@import Flutter;
#endif
@import XCTest;
@import google_sign_in_ios;
@import ... | packages/packages/google_sign_in/google_sign_in_ios/darwin/Tests/GoogleSignInTests.m/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/darwin/Tests/GoogleSignInTests.m",
"repo_id": "packages",
"token_count": 13613
} | 972 |
// 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/foundation.dart' show visibleForTesting;
import 'package:flutter/services.dart';
import '../google_sign_in_p... | packages/packages/google_sign_in/google_sign_in_platform_interface/lib/src/method_channel_google_sign_in.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_platform_interface/lib/src/method_channel_google_sign_in.dart",
"repo_id": "packages",
"token_count": 1049
} | 973 |
// 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:js_interop';
/// Converts a [data] object into a JS Object of type `T`.
T jsifyAs<T>(Map<String, Object?> data) {
return data.jsify() as T;... | packages/packages/google_sign_in/google_sign_in_web/example/integration_test/src/jsify_as.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/example/integration_test/src/jsify_as.dart",
"repo_id": "packages",
"token_count": 103
} | 974 |
// 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:flutter/foundation.dart';
import 'package:google_identity_services_web/oauth2.dart';
import 'package:google_sign_in... | packages/packages/google_sign_in/google_sign_in_web/lib/src/people.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/lib/src/people.dart",
"repo_id": "packages",
"token_count": 1509
} | 975 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/image_picker/image_picker/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/image_picker/image_picker/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 976 |
name: image_picker
description: Flutter plugin for selecting images from the Android and iOS image
library, and taking new pictures with the camera.
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Ao... | packages/packages/image_picker/image_picker/pubspec.yaml/0 | {
"file_path": "packages/packages/image_picker/image_picker/pubspec.yaml",
"repo_id": "packages",
"token_count": 574
} | 977 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/src/messages.g.dart',
dartTestOut: 'test/test_api.g.dart',
javaOu... | packages/packages/image_picker/image_picker_android/pigeons/messages.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/pigeons/messages.dart",
"repo_id": "packages",
"token_count": 1191
} | 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 'dart:async';
import 'dart:js_interop';
import 'dart:math';
import 'dart:ui';
import 'package:image_picker_platform_interface/image_picker_platform... | packages/packages/image_picker/image_picker_for_web/lib/src/image_resizer.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_for_web/lib/src/image_resizer.dart",
"repo_id": "packages",
"token_count": 1384
} | 979 |
// 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 "ImagePickerTestImages.h"
@implementation ImagePickerTestImages
+ (NSData *)JPGTestData {
NSBundle *bundle = [NSBundle bundleForClass:self];
... | packages/packages/image_picker/image_picker_ios/example/ios/RunnerTests/ImagePickerTestImages.m/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/example/ios/RunnerTests/ImagePickerTestImages.m",
"repo_id": "packages",
"token_count": 4458
} | 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.
export 'camera_delegate.dart';
export 'camera_device.dart';
export 'image_options.dart';
export 'image_source.dart';
export 'lost_data_response.dart';
expo... | packages/packages/image_picker/image_picker_platform_interface/lib/src/types/types.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/types.dart",
"repo_id": "packages",
"token_count": 226
} | 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: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_windows/test/image_picker_windows_test.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_windows/test/image_picker_windows_test.dart",
"repo_id": "packages",
"token_count": 2556
} | 982 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.inapppurchase">
</manifest>
| packages/packages/in_app_purchase/in_app_purchase_android/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 47
} | 983 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'billing_config_wrapper.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
BillingConfigWrapper _$BillingConfigWrapperFromJson... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_config_wrapper.g.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_config_wrapper.g.dart",
"repo_id": "packages",
"token_count": 168
} | 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 'dart:async';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:in_app_purchase_platform_interface/in_... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/in_app_purchase_android_platform.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/in_app_purchase_android_platform.dart",
"repo_id": "packages",
"token_count": 4052
} | 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:in_app_purchase_android/billing_client_wrappers.dart';
import 'package:in_app_purchase_android/in_app_purchase_android.dart';
import 'packa... | packages/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/purchase_wrapper_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/purchase_wrapper_test.dart",
"repo_id": "packages",
"token_count": 3417
} | 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.
// Autogenerated from Pigeon (v16.0.4), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import <Foundation/Foundation.h>
@protocol Flu... | packages/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/messages.g.h/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/messages.g.h",
"repo_id": "packages",
"token_count": 4858
} | 987 |
// 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 (v16.0.4), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_c... | packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 11331
} | 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 Flutter
import Foundation
import UIKit
@objc extension UIImage {
/// Loads a UIImage from the embedded Flutter project's assets.
///
/// This... | packages/packages/ios_platform_images/ios/Classes/UIImageIosPlatformImages.swift/0 | {
"file_path": "packages/packages/ios_platform_images/ios/Classes/UIImageIosPlatformImages.swift",
"repo_id": "packages",
"token_count": 575
} | 989 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="vertical"
android:paddingLeft="24dp"
android:paddingRight="24dp">
<TextView
androi... | packages/packages/local_auth/local_auth_android/android/src/main/res/layout/go_to_setting.xml/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/android/src/main/res/layout/go_to_setting.xml",
"repo_id": "packages",
"token_count": 466
} | 990 |
name: local_auth_android
description: Android implementation of the local_auth plugin.
repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 1.0.37
environme... | packages/packages/local_auth/local_auth_android/pubspec.yaml/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/pubspec.yaml",
"repo_id": "packages",
"token_count": 367
} | 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.
import 'package:flutter/services.dart';
import 'local_auth_platform_interface.dart';
const MethodChannel _channel = MethodChannel('plugins.flutter.io/loca... | packages/packages/local_auth/local_auth_platform_interface/lib/default_method_channel_platform.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_platform_interface/lib/default_method_channel_platform.dart",
"repo_id": "packages",
"token_count": 985
} | 992 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v10.1.2), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#ifndef PIGEON_MESSAGES_G_H_
#define PIGEON_MESS... | packages/packages/local_auth/local_auth_windows/windows/messages.g.h/0 | {
"file_path": "packages/packages/local_auth/local_auth_windows/windows/messages.g.h",
"repo_id": "packages",
"token_count": 1100
} | 993 |
name: metrics_center
version: 1.0.13
description:
Support multiple performance metrics sources/formats and destinations.
repository: https://github.com/flutter/packages/tree/main/packages/metrics_center
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+metrics_center%22
... | packages/packages/metrics_center/pubspec.yaml/0 | {
"file_path": "packages/packages/metrics_center/pubspec.yaml",
"repo_id": "packages",
"token_count": 276
} | 994 |
// 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.
// Example script to illustrate how to use the mdns package to lookup names
// on the local network.
// ignore_for_file: avoid_print
import 'package:mult... | packages/packages/multicast_dns/example/mdns_resolve.dart/0 | {
"file_path": "packages/packages/multicast_dns/example/mdns_resolve.dart",
"repo_id": "packages",
"token_count": 331
} | 995 |
#include "ephemeral/Flutter-Generated.xcconfig"
| packages/packages/palette_generator/example/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "packages/packages/palette_generator/example/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "packages",
"token_count": 19
} | 996 |
name: path_provider
description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aiss... | packages/packages/path_provider/path_provider/pubspec.yaml/0 | {
"file_path": "packages/packages/path_provider/path_provider/pubspec.yaml",
"repo_id": "packages",
"token_count": 477
} | 997 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/path_provider/path_provider_foundation/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/path_provider/path_provider_foundation/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 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.
// ignore_for_file: public_member_api_docs
import 'package:flutter/material.dart';
import 'package:path_provider_windows/path_provider_windows.dart';
voi... | packages/packages/path_provider/path_provider_windows/example/lib/main.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_windows/example/lib/main.dart",
"repo_id": "packages",
"token_count": 1040
} | 999 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/pigeon/example/app/android/gradle.properties/0 | {
"file_path": "packages/packages/pigeon/example/app/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 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.
// ignore_for_file: avoid_print
import 'dart:convert';
import 'dart:io';
import 'dart:mirrors';
import 'package:analyzer/dart/analysis/analysis_context.d... | packages/packages/pigeon/lib/pigeon_lib.dart/0 | {
"file_path": "packages/packages/pigeon/lib/pigeon_lib.dart",
"repo_id": "packages",
"token_count": 31564
} | 1,001 |
// 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.assertEquals;
import static org.junit.Assert.assertNull;
import java.u... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/NullFieldsTest.java/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/NullFieldsTest.java",
"repo_id": "packages",
"token_count": 2376
} | 1,002 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import XCTest;
@import alternate_language_test_plugin;
@interface ACMessageSearchReply ()
+ (ACMessageSearchReply *)fromList:(NSArray *)list;
- (NSArray... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/RunnerTests.m/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/RunnerTests.m",
"repo_id": "packages",
"token_count": 391
} | 1,003 |
// 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
// ignore_for_file: public_member_api_docs, non_constant... | packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/proxy_api_tests.gen.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/proxy_api_tests.gen.dart",
"repo_id": "packages",
"token_count": 83615
} | 1,004 |
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
version:
revision: c7d11549a51eb37807604bdfd1141a82be8fac4b
channel: main
project_type: plugin
# Tracks metadata for the flutter migrate comma... | packages/packages/pigeon/platform_tests/test_plugin/.metadata/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/.metadata",
"repo_id": "packages",
"token_count": 576
} | 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.
package com.example.test_plugin
import io.flutter.plugin.common.BinaryMessenger
import io.mockk.every
import io.mockk.mockk
import io.mockk.slot
import io... | packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/NullableReturnsTest.kt/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/NullableReturnsTest.kt",
"repo_id": "packages",
"token_count": 775
} | 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 Flutter
import Foundation
class EchoBinaryMessenger: NSObject, FlutterBinaryMessenger {
let codec: FlutterMessageCodec
private(set) var count =... | packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/EchoBinaryMessenger.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/EchoBinaryMessenger.swift",
"repo_id": "packages",
"token_count": 526
} | 1,007 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint test_plugin.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'test_plugin'
s.version = '0.0.1'
s.summary = 'Pigeon test plugin'
s.description = <<-... | packages/packages/pigeon/platform_tests/test_plugin/ios/test_plugin.podspec/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/ios/test_plugin.podspec",
"repo_id": "packages",
"token_count": 526
} | 1,008 |
// 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 <optional>
#include "pigeon/nullable_returns.gen.h"
#include "test/utils/fake_host_messenger.h"
namespace nullable_ret... | packages/packages/pigeon/platform_tests/test_plugin/windows/test/nullable_returns_test.cpp/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/test/nullable_returns_test.cpp",
"repo_id": "packages",
"token_count": 1252
} | 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.
import 'package:pigeon/ast.dart';
import 'package:pigeon/generator_tools.dart';
import 'package:test/test.dart';
bool _equalSet<T>(Set<T> x, Set<T> y) {
... | packages/packages/pigeon/test/generator_tools_test.dart/0 | {
"file_path": "packages/packages/pigeon/test/generator_tools_test.dart",
"repo_id": "packages",
"token_count": 7328
} | 1,010 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: avoid_print
////////////////////////////////////////////////////////////////////////////////
/// Script for executing the Pigeon tests... | packages/packages/pigeon/tool/test.dart/0 | {
"file_path": "packages/packages/pigeon/tool/test.dart",
"repo_id": "packages",
"token_count": 1328
} | 1,011 |
#include "Generated.xcconfig"
| packages/packages/platform/example/ios/Flutter/Release.xcconfig/0 | {
"file_path": "packages/packages/platform/example/ios/Flutter/Release.xcconfig",
"repo_id": "packages",
"token_count": 12
} | 1,012 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 2.1.8
* Fixes new lint warnings.
## 2.1.7
* Changes `MockPlatformInterfaceMixin` to a `mixin class` for better
compatibility with projects that have a minumum Dart SDK version of 3.0.
* Updates minimum supported SDK version to Dart 3.0.... | packages/packages/plugin_platform_interface/CHANGELOG.md/0 | {
"file_path": "packages/packages/plugin_platform_interface/CHANGELOG.md",
"repo_id": "packages",
"token_count": 664
} | 1,013 |
# pointer_interceptor_example
An example for the PointerInterceptor widget.
## Getting Started
`flutter run -d chrome` to run the sample. You can tweak some code in the `lib/main.dart`, but be careful, changes there can break integration tests!
## Running tests
`flutter drive --target integration_test/widget_test.... | packages/packages/pointer_interceptor/pointer_interceptor/example/README.md/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor/example/README.md",
"repo_id": "packages",
"token_count": 194
} | 1,014 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Flutter
class PointerInterceptorFactory: NSObject, FlutterPlatformViewFactory {
func create(withFrame frame: CGRect, viewIdentifier viewId: Int64,... | packages/packages/pointer_interceptor/pointer_interceptor_ios/ios/Classes/PointerInterceptorFactory.swift/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/ios/Classes/PointerInterceptorFactory.swift",
"repo_id": "packages",
"token_count": 191
} | 1,015 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pointer_interceptor_platform_interface/pointer_in... | packages/packages/pointer_interceptor/pointer_interceptor_platform_interface/test/default_pointer_interceptor_test.dart/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_platform_interface/test/default_pointer_interceptor_test.dart",
"repo_id": "packages",
"token_count": 211
} | 1,016 |
name: process
description: A pluggable, mockable process invocation abstraction for Dart.
repository: https://github.com/flutter/packages/tree/main/packages/process
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+process%22
version: 5.0.2
environment:
sdk: ^3.1.0
depe... | packages/packages/process/pubspec.yaml/0 | {
"file_path": "packages/packages/process/pubspec.yaml",
"repo_id": "packages",
"token_count": 186
} | 1,017 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/quick_actions/quick_actions_android/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,018 |
## NEXT
* Updates minimum iOS version to 12.0 and minimum Flutter version to 3.16.6.
## 1.0.10
* Adds privacy manifest.
## 1.0.9
* Updates minimum required plugin_platform_interface version to 2.1.7.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
## 1.0.8
* Changes method channels to pigeon.
... | packages/packages/quick_actions/quick_actions_ios/CHANGELOG.md/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_ios/CHANGELOG.md",
"repo_id": "packages",
"token_count": 597
} | 1,019 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'quick_actions_ios'
s.version = '0.0.1'
s.summary = 'Flutter Quick Actions'
s.description = <<-DESC
This Flutter plugin allows you to manage and interact with ... | packages/packages/quick_actions/quick_actions_ios/ios/quick_actions_ios.podspec/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_ios/ios/quick_actions_ios.podspec",
"repo_id": "packages",
"token_count": 558
} | 1,020 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/rfw/example/hello/android/gradle.properties/0 | {
"file_path": "packages/packages/rfw/example/hello/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 1,021 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is hand-formatted.
import 'dart:io';
import 'package:rfw/formats.dart';
void main() {
final String counterApp1 = File('counter_app1.rfwtx... | packages/packages/rfw/example/remote/remote_widget_libraries/encode.dart/0 | {
"file_path": "packages/packages/rfw/example/remote/remote_widget_libraries/encode.dart",
"repo_id": "packages",
"token_count": 196
} | 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.
// There's a lot of <Object>[] lists in this file so to avoid making this
// file even less readable we relax our usual stance on verbose typing.
// ignore... | packages/packages/rfw/lib/src/flutter/material_widgets.dart/0 | {
"file_path": "packages/packages/rfw/lib/src/flutter/material_widgets.dart",
"repo_id": "packages",
"token_count": 9097
} | 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 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:shared_preferences/shared_prefere... | packages/packages/shared_preferences/shared_preferences/example/integration_test/shared_preferences_test.dart/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences/example/integration_test/shared_preferences_test.dart",
"repo_id": "packages",
"token_count": 1990
} | 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:flutter_test/flutter_test.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:shared_preferences_example/re... | packages/packages/shared_preferences/shared_preferences/example/test/readme_excerpts_test.dart/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences/example/test/readme_excerpts_test.dart",
"repo_id": "packages",
"token_count": 434
} | 1,025 |
group 'io.flutter.plugins.sharedpreferences'
version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
... | packages/packages/shared_preferences/shared_preferences_android/android/build.gradle/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_android/android/build.gradle",
"repo_id": "packages",
"token_count": 735
} | 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 XCTest
@testable import shared_preferences_foundation
#if os(iOS)
import Flutter
#elseif os(macOS)
import FlutterMacOS
#endif
class RunnerTes... | packages/packages/shared_preferences/shared_preferences_foundation/darwin/Tests/RunnerTests.swift/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_foundation/darwin/Tests/RunnerTests.swift",
"repo_id": "packages",
"token_count": 1621
} | 1,027 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 1,028 |
// 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' show json;
import 'package:file/file.dart';
import 'package:file/local.dart';
import 'package:flutter/foundatio... | packages/packages/shared_preferences/shared_preferences_windows/lib/shared_preferences_windows.dart/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_windows/lib/shared_preferences_windows.dart",
"repo_id": "packages",
"token_count": 1822
} | 1,029 |
// 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 'table.dart';
import 'table_cell.dart';
import 'table_span.dart';
/// Signature for a function that creates... | packages/packages/two_dimensional_scrollables/lib/src/table_view/table_delegate.dart/0 | {
"file_path": "packages/packages/two_dimensional_scrollables/lib/src/table_view/table_delegate.dart",
"repo_id": "packages",
"token_count": 3484
} | 1,030 |
// 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 android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.flutte... | packages/packages/url_launcher/url_launcher_android/android/src/main/java/io/flutter/plugins/urllauncher/UrlLauncherPlugin.java/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_android/android/src/main/java/io/flutter/plugins/urllauncher/UrlLauncherPlugin.java",
"repo_id": "packages",
"token_count": 871
} | 1,031 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v11.0.1), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_c... | packages/packages/url_launcher/url_launcher_ios/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_ios/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 2103
} | 1,032 |
## 2.3.0
* Updates web code to package `web: ^0.5.0`.
* Updates SDK version to Dart `^3.3.0`. Flutter `^3.19.0`.
## 2.2.3
* Fixes new lint warnings.
## 2.2.2
* Adds documentation that a launch in a new window/tab needs to be triggered by
a user action.
## 2.2.1
* Supports Flutter Web + Wasm
* Updates minimum s... | packages/packages/url_launcher/url_launcher_web/CHANGELOG.md/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_web/CHANGELOG.md",
"repo_id": "packages",
"token_count": 1595
} | 1,033 |
## 2.8.3
* Fixes typo in `README.md`.
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
* Updates support matrix in README to indicate that iOS 11 is no longer supported.
* Clients on versions of Flutter that still support iOS 11 can continue to use this
package with iOS 11, but will not receive any ... | packages/packages/video_player/video_player/CHANGELOG.md/0 | {
"file_path": "packages/packages/video_player/video_player/CHANGELOG.md",
"repo_id": "packages",
"token_count": 5400
} | 1,034 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.... | packages/packages/video_player/video_player/example/integration_test/video_player_test.dart/0 | {
"file_path": "packages/packages/video_player/video_player/example/integration_test/video_player_test.dart",
"repo_id": "packages",
"token_count": 5162
} | 1,035 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/video_player/video_player_android/example/android/gradle.properties/0 | {
"file_path": "packages/packages/video_player/video_player_android/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 1,036 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// 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/video_player/video_player_avfoundation/darwin/Classes/messages.g.h/0 | {
"file_path": "packages/packages/video_player/video_player_avfoundation/darwin/Classes/messages.g.h",
"repo_id": "packages",
"token_count": 1718
} | 1,037 |
// 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_platform_interface/video_player_platform_interface.dart';
void main() {
te... | packages/packages/video_player/video_player_platform_interface/test/video_player_web_options_test.dart/0 | {
"file_path": "packages/packages/video_player/video_player_platform_interface/test/video_player_web_options_test.dart",
"repo_id": "packages",
"token_count": 310
} | 1,038 |
// 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:js_interop';
import 'package:web/web.dart' as web;
/// Adds a "disablePictureInPicture" setter to [web.HTMLVideoElement]s.
extension NonStand... | packages/packages/video_player/video_player_web/lib/src/pkg_web_tweaks.dart/0 | {
"file_path": "packages/packages/video_player/video_player_web/lib/src/pkg_web_tweaks.dart",
"repo_id": "packages",
"token_count": 201
} | 1,039 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// This library contains code that's common between the client and the server.
///
/// The code must be compilable both as a command-line program and as a... | packages/packages/web_benchmarks/lib/src/common.dart/0 | {
"file_path": "packages/packages/web_benchmarks/lib/src/common.dart",
"repo_id": "packages",
"token_count": 207
} | 1,040 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: avoid_print
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:web_benchmarks/cl... | packages/packages/web_benchmarks/testing/test_app/lib/benchmarks/runner.dart/0 | {
"file_path": "packages/packages/web_benchmarks/testing/test_app/lib/benchmarks/runner.dart",
"repo_id": "packages",
"token_count": 941
} | 1,041 |
# WebView for Flutter
<?code-excerpt path-base="example/lib"?>
[](https://pub.dev/packages/webview_flutter)
A Flutter plugin that provides a WebView widget.
On iOS the WebView widget is backed by a [WKWebView](https://developer.apple.com/documentation/... | packages/packages/webview_flutter/webview_flutter/README.md/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter/README.md",
"repo_id": "packages",
"token_count": 3250
} | 1,042 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:typed_data';
import 'package:flutte... | packages/packages/webview_flutter/webview_flutter/example/lib/main.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter/example/lib/main.dart",
"repo_id": "packages",
"token_count": 8401
} | 1,043 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.webviewflutter;
import android.os.Build;
import android.webkit.CookieManager;
import androidx.annotation.ChecksSdkIntAtLeast;
i... | packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/CookieManagerHostApiImpl.java/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/CookieManagerHostApiImpl.java",
"repo_id": "packages",
"token_count": 1496
} | 1,044 |
// 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.content.Context;
import android.hardware.display.Display... | packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewHostApiImpl.java/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewHostApiImpl.java",
"repo_id": "packages",
"token_count": 5051
} | 1,045 |
// 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.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mock... | packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/WebChromeClientTest.java/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/WebChromeClientTest.java",
"repo_id": "packages",
"token_count": 2254
} | 1,046 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:webview_flutter_platform_interface/webview_flutter_platform_interface.dart';
import 'android_web... | packages/packages/webview_flutter/webview_flutter_android/lib/src/android_webview_cookie_manager.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/lib/src/android_webview_cookie_manager.dart",
"repo_id": "packages",
"token_count": 1156
} | 1,047 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Object specifying creation parameters for creating a [PlatformNavigationDelegate].
///
/// Platform specific i... | packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/platform_navigation_delegate_creation_params.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/platform_navigation_delegate_creation_params.dart",
"repo_id": "packages",
"token_count": 454
} | 1,048 |
name: webview_flutter_platform_interface
description: A common platform interface for the webview_flutter plugin.
repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A... | packages/packages/webview_flutter/webview_flutter_platform_interface/pubspec.yaml/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/pubspec.yaml",
"repo_id": "packages",
"token_count": 306
} | 1,049 |
## 3.13.0
* Adds `decidePolicyForNavigationResponse` to internal WKNavigationDelegate to support the
`PlatformNavigationDelegate.onHttpError` callback.
## 3.12.0
* Adds support for `setOnScrollPositionChange` method to the `WebKitWebViewController`.
## 3.11.0
* Adds support to show JavaScript dialog. See `Platfo... | packages/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md",
"repo_id": "packages",
"token_count": 2212
} | 1,050 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import XCTest;
#import <XCTest/XCTest.h>
@interface FWFErrorTests : XCTestCase
@end
@implementation FWFErrorTests
- (void)testNSErrorUserInfoKey {
//... | packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFErrorTests.m/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFErrorTests.m",
"repo_id": "packages",
"token_count": 190
} | 1,051 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "FWFGeneratedWebKitApis.h"
#import <WebKit/WebKit.h>
NS_ASSUME_NONNULL_BEGIN
/// Converts an FWFNSUrlRequestData to an NSURLRequest.
///
/// @pa... | packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFDataConverters.h/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFDataConverters.h",
"repo_id": "packages",
"token_count": 2560
} | 1,052 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "FWFScriptMessageHandlerHostApi.h"
#import "FWFDataConverters.h"
@interface FWFScriptMessageHandlerFlutterApiImpl ()
// InstanceManager must be we... | packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFScriptMessageHandlerHostApi.m/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFScriptMessageHandlerHostApi.m",
"repo_id": "packages",
"token_count": 1675
} | 1,053 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "FWFURLProtectionSpaceHostApi.h"
@interface FWFURLProtectionSpaceFlutterApiImpl ()
// InstanceManager must be weak to prevent a circular reference... | packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFURLProtectionSpaceHostApi.m/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFURLProtectionSpaceHostApi.m",
"repo_id": "packages",
"token_count": 548
} | 1,054 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:webview_flutter_platform_int... | packages/packages/webview_flutter/webview_flutter_wkwebview/test/webkit_navigation_delegate_test.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/test/webkit_navigation_delegate_test.dart",
"repo_id": "packages",
"token_count": 4814
} | 1,055 |
# XDG Directories Demo
## Description
This is a simple demo of the xdg_directories package.
| packages/packages/xdg_directories/example/README.md/0 | {
"file_path": "packages/packages/xdg_directories/example/README.md",
"repo_id": "packages",
"token_count": 28
} | 1,056 |
# The list of external dependencies that are allowed as pinned dependencies.
# See https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#Dependencies
#
# All entries here should have an explanation for why they are here.
# TODO(stuartmorgan): Eliminate this in favor of standardizing on
# mockito... | packages/script/configs/allowed_pinned_deps.yaml/0 | {
"file_path": "packages/script/configs/allowed_pinned_deps.yaml",
"repo_id": "packages",
"token_count": 219
} | 1,057 |
# Packages that are excluded from dart unit test on Windows.
# Exclude flutter_image because its tests need a test server, so are run via custom_package_tests.
- flutter_image
# This test is very slow, so isn't worth running a second time
# on Windows; the Linux run is enough coverage.
- flutter_migrate
# TODO(stuartmo... | packages/script/configs/windows_unit_tests_exceptions.yaml/0 | {
"file_path": "packages/script/configs/windows_unit_tests_exceptions.yaml",
"repo_id": "packages",
"token_count": 240
} | 1,058 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:yaml/yaml.dart';
import 'core.dart';
import 'repository_package.dart';
/// Possible plugin support options for a platform.
enum PlatformS... | packages/script/tool/lib/src/common/plugin_utils.dart/0 | {
"file_path": "packages/script/tool/lib/src/common/plugin_utils.dart",
"repo_id": "packages",
"token_count": 1129
} | 1,059 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file/file.dart';
import 'package:meta/meta.dart';
import 'package:pub_semver/pub_semver.dart';
import 'common/core.dart';
import 'common/o... | packages/script/tool/lib/src/gradle_check_command.dart/0 | {
"file_path": "packages/script/tool/lib/src/gradle_check_command.dart",
"repo_id": "packages",
"token_count": 6896
} | 1,060 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:pub_semver/pub_semver.dart';
import 'package:yaml_edit/yaml_edit.dart';
import 'common/core.dart';
import 'common/output_utils.dart';
impo... | packages/script/tool/lib/src/update_min_sdk_command.dart/0 | {
"file_path": "packages/script/tool/lib/src/update_min_sdk_command.dart",
"repo_id": "packages",
"token_count": 1156
} | 1,061 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file/file.dart';
import 'package:file/memory.dart';
import 'package:flutter_plugin_tools/src/common/pub_utils.dart';
import 'package:test/t... | packages/script/tool/test/common/pub_utils_test.dart/0 | {
"file_path": "packages/script/tool/test/common/pub_utils_test.dart",
"repo_id": "packages",
"token_count": 1095
} | 1,062 |
// 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/lint_android_command_test.dart/0 | {
"file_path": "packages/script/tool/test/lint_android_command_test.dart",
"repo_id": "packages",
"token_count": 3266
} | 1,063 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io' as io;
import 'package:args/command_runner.dart';
import 'package:file/file.dart';
import 'pa... | packages/script/tool/test/util.dart/0 | {
"file_path": "packages/script/tool/test/util.dart",
"repo_id": "packages",
"token_count": 5302
} | 1,064 |
{
"projects": {
"default": "io-photobooth-dev"
}
}
| photobooth/.firebaserc/0 | {
"file_path": "photobooth/.firebaserc",
"repo_id": "photobooth",
"token_count": 29
} | 1,065 |
{
"name": "io-photobooth-api",
"private": true,
"main": "lib/index.js",
"engines": {
"node": "14"
},
"scripts": {
"build": "tsc",
"deploy": "firebase deploy --only functions",
"dev": "tsc -w & firebase emulators:start --only functions",
"lint": "eslint --ext .js,.ts .",
"lint:fix": "... | photobooth/functions/package.json/0 | {
"file_path": "photobooth/functions/package.json",
"repo_id": "photobooth",
"token_count": 735
} | 1,066 |
import 'package:photobooth_ui/photobooth_ui.dart';
const googleIOExternalLink = 'https://events.google.com/io/';
const flutterDevExternalLink = 'https://flutter.dev';
const firebaseExternalLink = 'https://firebase.google.com';
const photoboothEmail = 'mailto:flutter-photo-booth@google.com';
const openSourceLink = 'htt... | photobooth/lib/external_links/external_links.dart/0 | {
"file_path": "photobooth/lib/external_links/external_links.dart",
"repo_id": "photobooth",
"token_count": 215
} | 1,067 |
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:io_photobooth/stickers/stickers.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
const ... | photobooth/lib/photobooth/view/photobooth_page.dart/0 | {
"file_path": "photobooth/lib/photobooth/view/photobooth_page.dart",
"repo_id": "photobooth",
"token_count": 1424
} | 1,068 |
import 'dart:async';
import 'dart:typed_data';
import 'package:bloc/bloc.dart';
import 'package:camera/camera.dart';
import 'package:cross_file/cross_file.dart';
import 'package:equatable/equatable.dart';
import 'package:image_compositor/image_compositor.dart';
import 'package:io_photobooth/photobooth/photobooth.dart'... | photobooth/lib/share/bloc/share_bloc.dart/0 | {
"file_path": "photobooth/lib/share/bloc/share_bloc.dart",
"repo_id": "photobooth",
"token_count": 2845
} | 1,069 |
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:io_photobooth/external_links/external_links.dart';
import 'package:io_photobooth/l10n/l10n.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
class ShareSuccessCaption extends StatelessWidget {
const ShareSuccessCa... | photobooth/lib/share/widgets/share_caption.dart/0 | {
"file_path": "photobooth/lib/share/widgets/share_caption.dart",
"repo_id": "photobooth",
"token_count": 479
} | 1,070 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.