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/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
import 'test_helpers.d... | packages/packages/go_router/test/imperative_api_test.dart/0 | {
"file_path": "packages/packages/go_router/test/imperative_api_test.dart",
"repo_id": "packages",
"token_count": 3991
} | 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.
// ignore_for_file: cascade_invocations, diagnostic_describe_all_properties
import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'pack... | packages/packages/go_router/test/test_helpers.dart/0 | {
"file_path": "packages/packages/go_router/test/test_helpers.dart",
"repo_id": "packages",
"token_count": 3829
} | 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.
// ignore_for_file: public_member_api_docs, unreachable_from_main
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
impo... | packages/packages/go_router_builder/example/lib/all_types.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/all_types.dart",
"repo_id": "packages",
"token_count": 7712
} | 971 |
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: always_specify_types, public_member_api_docs
part of 'stateful_shell_route_example.dart';
// **************************************************************************
// GoRouterGenerator
// ***************************************************************... | packages/packages/go_router_builder/example/lib/stateful_shell_route_example.g.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/stateful_shell_route_example.g.dart",
"repo_id": "packages",
"token_count": 883
} | 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 'package:analyzer/dart/element/element.dart';
import 'package:analyzer/dart/element/type.dart';
import 'package:source_gen/source_gen.dart';
import ... | packages/packages/go_router_builder/lib/src/type_helpers.dart/0 | {
"file_path": "packages/packages/go_router_builder/lib/src/type_helpers.dart",
"repo_id": "packages",
"token_count": 3841
} | 973 |
The @TypedGoRoute annotation must have a type parameter that matches the annotated element.
| packages/packages/go_router_builder/test_inputs/missing_type_annotation.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/missing_type_annotation.dart.expect",
"repo_id": "packages",
"token_count": 20
} | 974 |
RouteBase get $nonNullableRequiredParamNotInPath => GoRouteData.$route(
path: 'bob',
factory: $NonNullableRequiredParamNotInPathExtension._fromState,
);
extension $NonNullableRequiredParamNotInPathExtension
on NonNullableRequiredParamNotInPath {
static NonNullableRequiredParamNotInPath _fromState... | packages/packages/go_router_builder/test_inputs/required_query_parameter.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/required_query_parameter.dart.expect",
"repo_id": "packages",
"token_count": 312
} | 975 |
# See https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md#arguments
override_platforms:
chrome:
settings:
executable: chrome
arguments: --no-sandbox
| packages/packages/google_identity_services_web/dart_test.yaml/0 | {
"file_path": "packages/packages/google_identity_services_web/dart_test.yaml",
"repo_id": "packages",
"token_count": 74
} | 976 |
# Tests
Use `dart run tool/run_tests.dart` to run tests in this package.
## Failed to run Chrome: No such file or directory
Ensure the correct path to the Chrome executable is set in `dart_test.yaml`. It
may be other than `chrome` (for example, `google-chrome` in my machine).
| packages/packages/google_identity_services_web/test/README.md/0 | {
"file_path": "packages/packages/google_identity_services_web/test/README.md",
"repo_id": "packages",
"token_count": 84
} | 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:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
impo... | packages/packages/google_maps_flutter/google_maps_flutter/test/marker_updates_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/test/marker_updates_test.dart",
"repo_id": "packages",
"token_count": 3425
} | 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.
package io.flutter.plugins.googlemaps;
import android.content.Context;
import android.graphics.Rect;
import androidx.annotation.Nullable;
import com.googl... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/GoogleMapBuilder.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/GoogleMapBuilder.java",
"repo_id": "packages",
"token_count": 1737
} | 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.
package io.flutter.plugins.googlemaps;
import com.google.android.gms.maps.model.Cap;
import com.google.android.gms.maps.model.LatLng;
import com.google.an... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolylineBuilder.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolylineBuilder.java",
"repo_id": "packages",
"token_count": 652
} | 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.
package io.flutter.plugins.googlemaps;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.spy;
import com.google.android.gms.inter... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/PolygonControllerTest.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/PolygonControllerTest.java",
"repo_id": "packages",
"token_count": 294
} | 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:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter_android/google_maps_flutter_an... | packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart",
"repo_id": "packages",
"token_count": 603
} | 982 |
## 2.5.1
* Makes the tile overlay callback invoke the platform channel on the platform thread.
## 2.5.0
* Adds support for `MapConfiguration.style`.
* Adds support for `getStyleError`.
## 2.4.2
* Fixes a bug in "takeSnapshot" function that incorrectly returns a blank image on iOS 17.
## 2.4.1
* Restores the work... | packages/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md",
"repo_id": "packages",
"token_count": 718
} | 983 |
// 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 GoogleMaps;
@import google_maps_flutter_ios;
#import <OCMock/OCMock.h>
@interface FLTTileProviderControllerTests : XCTestCase
@en... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/ios/RunnerTests/FLTTileProviderControllerTests.m/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/ios/RunnerTests/FLTTileProviderControllerTests.m",
"repo_id": "packages",
"token_count": 435
} | 984 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios14/ios/Runner/Info.plist/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios14/ios/Runner/Info.plist",
"repo_id": "packages",
"token_count": 674
} | 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/material.dart';
import 'page.dart';
/// MapsDemo is the Main Application.
class MapsDemo extends StatelessWidget {
/// Default ... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/maps_demo.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/maps_demo.dart",
"repo_id": "packages",
"token_count": 431
} | 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 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'types.dart';
/// A cont... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/map_widget_configuration.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/map_widget_configuration.dart",
"repo_id": "packages",
"token_count": 294
} | 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.
import 'package:flutter/foundation.dart';
import 'types.dart';
/// Type of map tiles to display.
// Enum constants must be indexed to match the correspon... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/ui.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/ui.dart",
"repo_id": "packages",
"token_count": 1208
} | 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_test/flutter_test.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart';
voi... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/cluster_manager_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/cluster_manager_test.dart",
"repo_id": "packages",
"token_count": 736
} | 989 |
# google_maps_flutter_web
The web implementation of [google_maps_flutter](https://pub.dev/packages/google_maps_flutter).
Powered by [a14n](https://github.com/a14n)'s [google_maps](https://pub.dev/packages/google_maps) Dart JS interop layer.
## Usage
This package is [endorsed](https://flutter.dev/docs/development/pa... | packages/packages/google_maps_flutter/google_maps_flutter_web/README.md/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/README.md",
"repo_id": "packages",
"token_count": 911
} | 990 |
// 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.
part of '../google_maps_flutter_web.dart';
/// This wraps a [TileOverlay] in a [gmaps.MapType].
class TileOverlayController {
/// Creates a `TileOverlay... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/overlay.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/overlay.dart",
"repo_id": "packages",
"token_count": 893
} | 991 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/google_sign_in/google_sign_in/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 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 (v11.0.1), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import "messages.g.h"
#if TARGET_OS_OSX
#impor... | packages/packages/google_sign_in/google_sign_in_ios/darwin/Classes/messages.g.m/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/darwin/Classes/messages.g.m",
"repo_id": "packages",
"token_count": 5735
} | 993 |
// 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' show PlatformException;
import 'package:flutter_test/flutter_test.dart';
import 'package:googl... | packages/packages/google_sign_in/google_sign_in_web/example/integration_test/google_sign_in_web_test.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/example/integration_test/google_sign_in_web_test.dart",
"repo_id": "packages",
"token_count": 3680
} | 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.
import 'package:google_identity_services_web/id.dart' as id;
/// Converts user-facing `GisButtonConfiguration` into the JS-Interop `id.GsiButtonConfigurat... | packages/packages/google_sign_in/google_sign_in_web/lib/src/button_configuration.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/lib/src/button_configuration.dart",
"repo_id": "packages",
"token_count": 1833
} | 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.
package io.flutter.plugins.imagepickerexample;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.res.As... | packages/packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/DummyContentProvider.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/example/android/app/src/main/java/io/flutter/plugins/imagepickerexample/DummyContentProvider.java",
"repo_id": "packages",
"token_count": 589
} | 996 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:image_picker_platform_interface/image_picker_platform_in... | packages/packages/image_picker/image_picker_android/lib/image_picker_android.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/lib/image_picker_android.dart",
"repo_id": "packages",
"token_count": 4034
} | 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 "FLTImagePickerMetaDataUtil.h"
#import <Photos/Photos.h>
static const uint8_t kFirstByteJPEG = 0xFF;
static const uint8_t kFirstBytePNG = 0x89;
st... | packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerMetaDataUtil.m/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerMetaDataUtil.m",
"repo_id": "packages",
"token_count": 1216
} | 998 |
# image_picker_platform_interface
A common platform interface for the [`image_picker`][1] plugin.
This interface allows platform-specific implementations of the `image_picker`
plugin, as well as the plugin itself, to ensure they are supporting the
same interface.
# Usage
To implement a new platform-specific impleme... | packages/packages/image_picker/image_picker_platform_interface/README.md/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/README.md",
"repo_id": "packages",
"token_count": 246
} | 999 |
name: example
description: Example for image_picker_windows implementation.
publish_to: 'none'
version: 1.0.0
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
flutter:
sdk: flutter
image_picker_platform_interface: ^2.8.0
image_picker_windows:
# When depending on this package from a real ap... | packages/packages/image_picker/image_picker_windows/example/pubspec.yaml/0 | {
"file_path": "packages/packages/image_picker/image_picker_windows/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 274
} | 1,000 |
# in\_app\_purchase\_android
The Android implementation of [`in_app_purchase`][1].
## Usage
This package is [endorsed][2], which means you can simply use `in_app_purchase`
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 ... | packages/packages/in_app_purchase/in_app_purchase_android/README.md/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/README.md",
"repo_id": "packages",
"token_count": 417
} | 1,001 |
# Platform Implementation Test App
This is a test app for manual testing and automated integration testing
of this platform implementation. It is not intended to demonstrate actual use of
this package, since the intent is that plugin clients use the app-facing
package.
Unless you are making changes to this implementa... | packages/packages/in_app_purchase/in_app_purchase_android/example/README.md/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/example/README.md",
"repo_id": "packages",
"token_count": 780
} | 1,002 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/in_app_purchase/in_app_purchase_android/example/android/gradle.properties/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 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.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:json_annotation/json_annotation.dar... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_wrapper.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_wrapper.dart",
"repo_id": "packages",
"token_count": 10039
} | 1,004 |
// 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:json_annotation/json_annotation.dart';
import '../../billing_client_wrappers.dart';
// WARNING:... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/user_choice_details_wrapper.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/user_choice_details_wrapper.dart",
"repo_id": "packages",
"token_count": 1436
} | 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 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_android/bill... | packages/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/billing_client_wrapper_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/billing_client_wrapper_test.dart",
"repo_id": "packages",
"token_count": 12955
} | 1,006 |
## 0.3.13+1
* Handle translation of errors nested in dictionaries.
## 0.3.13
* Added new native tests for more complete test coverage.
## 0.3.12+1
* Fixes type of error code returned from native code in SKReceiptManager.retrieveReceiptData.
## 0.3.12
* Converts `refreshReceipt()`, `startObservingPaymentQueue()`,... | packages/packages/in_app_purchase/in_app_purchase_storekit/CHANGELOG.md/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/CHANGELOG.md",
"repo_id": "packages",
"token_count": 1370
} | 1,007 |
// 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 <StoreKit/StoreKit.h>
#import "FIAPRequestHandler.h"
#import "InAppPurchasePlugin.h"
@interface InAppPurchasePlugin ()
// Holding strong referenc... | packages/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/InAppPurchasePlugin+TestOnly.h/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/InAppPurchasePlugin+TestOnly.h",
"repo_id": "packages",
"token_count": 409
} | 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.
import 'package:in_app_purchase_storekit/src/types/app_store_product_details.dart';
import 'package:in_app_purchase_storekit/src/types/app_store_purchase_d... | packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/sk_product_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/sk_product_test.dart",
"repo_id": "packages",
"token_count": 3417
} | 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 'dart:async';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_... | packages/packages/ios_platform_images/example/integration_test/ios_platform_images_test.dart/0 | {
"file_path": "packages/packages/ios_platform_images/example/integration_test/ios_platform_images_test.dart",
"repo_id": "packages",
"token_count": 429
} | 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.
package io.flutter.plugins.localauth;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.a... | packages/packages/local_auth/local_auth_android/android/src/main/java/io/flutter/plugins/localauth/AuthenticationHelper.java/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/android/src/main/java/io/flutter/plugins/localauth/AuthenticationHelper.java",
"repo_id": "packages",
"token_count": 3187
} | 1,011 |
// 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.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_c... | packages/packages/local_auth/local_auth_android/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 4050
} | 1,012 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 1.0.10
* Updates minimum required plugin_platform_interface version to 2.1.7.
## 1.0.9
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
* Fixes new lint warnings.
## 1.0.8
* Adds pub topics to package metadata.
* Update... | packages/packages/local_auth/local_auth_platform_interface/CHANGELOG.md/0 | {
"file_path": "packages/packages/local_auth/local_auth_platform_interface/CHANGELOG.md",
"repo_id": "packages",
"token_count": 378
} | 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.
#include <winstring.h>
#include "local_auth.h"
#include "messages.g.h"
namespace {
// Returns the window's HWND for a given FlutterView.
HWND GetRootWind... | packages/packages/local_auth/local_auth_windows/windows/local_auth_plugin.cpp/0 | {
"file_path": "packages/packages/local_auth/local_auth_windows/windows/local_auth_plugin.cpp",
"repo_id": "packages",
"token_count": 2469
} | 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.
// ignore_for_file: avoid_print
import 'package:googleapis/storage/v1.dart';
/// Global (in terms of earth) mutex using Google Cloud Storage.
class GcsLo... | packages/packages/metrics_center/lib/src/gcs_lock.dart/0 | {
"file_path": "packages/packages/metrics_center/lib/src/gcs_lock.dart",
"repo_id": "packages",
"token_count": 1320
} | 1,015 |
# Multicast DNS package
[](
https://pub.dartlang.org/packages/multicast_dns)
A Dart package to do service discovery over multicast DNS (mDNS), Bonjour, and Avahi.
## Usage
To use this package, add `multicast_dns` as a
[dependency in your pubspec.yaml fil... | packages/packages/multicast_dns/README.md/0 | {
"file_path": "packages/packages/multicast_dns/README.md",
"repo_id": "packages",
"token_count": 177
} | 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.
// ignore_for_file: avoid_print
// Support code to generate the hex-lists in test/decode_test.dart from
// a hex-stream.
import 'dart:io';
void formatHex... | packages/packages/multicast_dns/tool/packet_gen.dart/0 | {
"file_path": "packages/packages/multicast_dns/tool/packet_gen.dart",
"repo_id": "packages",
"token_count": 730
} | 1,017 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.pathproviderexample">
<uses-permission android:name="android.permission.INTERNET"/>
<application android:label="path_provider_example" android:icon="@mipmap/ic_launcher">
<activity android:name="io.flu... | packages/packages/path_provider/path_provider/example/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/path_provider/path_provider/example/android/app/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 434
} | 1,018 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/path_provider/path_provider_android/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,019 |
name: path_provider_foundation
description: iOS and macOS implementation of the path_provider plugin
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_foundation
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
... | packages/packages/path_provider/path_provider_foundation/pubspec.yaml/0 | {
"file_path": "packages/packages/path_provider/path_provider_foundation/pubspec.yaml",
"repo_id": "packages",
"token_count": 396
} | 1,020 |
# pigeon_example_app
This demonstrates using Pigeon for platform communication directly in an
application, rather than in a plugin.
To update the generated code, run:
```sh
cd ../..
dart tool/generate.dart
```
| packages/packages/pigeon/example/app/README.md/0 | {
"file_path": "packages/packages/pigeon/example/app/README.md",
"repo_id": "packages",
"token_count": 62
} | 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.
// Autogenerated from Pigeon, do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_constant_id... | packages/packages/pigeon/example/app/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/pigeon/example/app/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 2961
} | 1,022 |
name: pigeon_example_app
description: An example of using Pigeon in an application.
publish_to: 'none'
version: 1.0.0
environment:
sdk: ^3.1.0
dependencies:
flutter:
sdk: flutter
dev_dependencies:
build_runner: ^2.1.10
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
# When dependi... | packages/packages/pigeon/example/app/pubspec.yaml/0 | {
"file_path": "packages/packages/pigeon/example/app/pubspec.yaml",
"repo_id": "packages",
"token_count": 249
} | 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 'ast.dart';
import 'functional.dart';
import 'generator.dart';
import 'generator_tools.dart';
import 'pigeon_lib.dart' show Error, TaskQueueType;
/... | packages/packages/pigeon/lib/objc_generator.dart/0 | {
"file_path": "packages/packages/pigeon/lib/objc_generator.dart",
"repo_id": "packages",
"token_count": 21387
} | 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:pigeon/pigeon.dart';
@HostApi()
abstract class PrimitiveHostApi {
int anInt(int value);
bool aBool(bool value);
String aString(Strin... | packages/packages/pigeon/pigeons/primitive.dart/0 | {
"file_path": "packages/packages/pigeon/pigeons/primitive.dart",
"repo_id": "packages",
"token_count": 390
} | 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.
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/ListTest.java/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/ListTest.java",
"repo_id": "packages",
"token_count": 928
} | 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 Flutter;
@import XCTest;
@import alternate_language_test_plugin;
#import "EchoMessenger.h"
/////////////////////////////////////////////////////... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/NullFieldsTest.m/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/NullFieldsTest.m",
"repo_id": "packages",
"token_count": 2618
} | 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 Cocoa
import FlutterMacOS
import XCTest
@testable import alternate_language_test_plugin
class RunnerTests: XCTestCase {
// Currently there are n... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/RunnerTests/RunnerTests.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/RunnerTests/RunnerTests.swift",
"repo_id": "packages",
"token_count": 137
} | 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.
//
// Autogenerated from Pigeon, do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import "CoreTests.gen.h"
#if TARGET_OS_OSX
#import <F... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/CoreTests.gen.m/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/CoreTests.gen.m",
"repo_id": "packages",
"token_count": 66528
} | 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.
//
// 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/null_fields.gen.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/null_fields.gen.dart",
"repo_id": "packages",
"token_count": 2905
} | 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.
//
// 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/test/test_message.gen.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/test_message.gen.dart",
"repo_id": "packages",
"token_count": 2554
} | 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.
package com.example.test_plugin
import io.flutter.plugin.common.BinaryMessenger
import io.mockk.every
import io.mockk.mockk
import java.nio.ByteBuffer
imp... | packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/ListTest.kt/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/ListTest.kt",
"repo_id": "packages",
"token_count": 489
} | 1,032 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <gtest/gtest.h>
#include "pigeon/multiple_arity.gen.h"
#include "test/utils/fake_host_messenger.h"
namespace multiple_arity_pigeontest {
namesp... | packages/packages/pigeon/platform_tests/test_plugin/windows/test/multiple_arity_test.cpp/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/test/multiple_arity_test.cpp",
"repo_id": "packages",
"token_count": 540
} | 1,033 |
// 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/dart_generator.dart';
import 'package:test/test.dart';
const String DEFAULT_PACKAGE_NAME = 'test_... | packages/packages/pigeon/test/dart/proxy_api_test.dart/0 | {
"file_path": "packages/packages/pigeon/test/dart/proxy_api_test.dart",
"repo_id": "packages",
"token_count": 18117
} | 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' show Process, ProcessStartMode, stderr, stdout;
Future<int> runProcess(String command, List<String> arguments,
{... | packages/packages/pigeon/tool/shared/process_utils.dart/0 | {
"file_path": "packages/packages/pigeon/tool/shared/process_utils.dart",
"repo_id": "packages",
"token_count": 467
} | 1,035 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/platform/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/platform/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 1,036 |
name: pointer_interceptor_example
description: An example app for the pointer_interceptor package.
publish_to: 'none'
version: 1.0.0
environment:
sdk: ">=3.1.0 <4.0.0"
flutter: ">=3.13.0"
dependencies:
flutter:
sdk: flutter
pointer_interceptor:
path: ../
dev_dependencies:
flutter_test:
sdk: flu... | packages/packages/pointer_interceptor/pointer_interceptor/example/pubspec.yaml/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 214
} | 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 'dart:convert';
import 'dart:io'
show
Process,
ProcessException,
ProcessResult,
ProcessSignal,
ProcessSt... | packages/packages/process/lib/src/interface/local_process_manager.dart/0 | {
"file_path": "packages/packages/process/lib/src/interface/local_process_manager.dart",
"repo_id": "packages",
"token_count": 1652
} | 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.
package io.flutter.plugins.quickactions;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.... | packages/packages/quick_actions/quick_actions_android/android/src/main/java/io/flutter/plugins/quickactions/QuickActions.java/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/android/src/main/java/io/flutter/plugins/quickactions/QuickActions.java",
"repo_id": "packages",
"token_count": 2383
} | 1,039 |
name: quick_actions_android
description: An implementation for the Android platform of the Flutter `quick_actions` plugin.
repository: https://github.com/flutter/packages/tree/main/packages/quick_actions/quick_actions_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3... | packages/packages/quick_actions/quick_actions_android/pubspec.yaml/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/pubspec.yaml",
"repo_id": "packages",
"token_count": 346
} | 1,040 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import UIKit
/// Provides the capability to get and set the app's home screen shortcut items.
protocol ShortcutItemProviding: AnyObject {
/// An array ... | packages/packages/quick_actions/quick_actions_ios/ios/Classes/ShortcutItemProviding.swift/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_ios/ios/Classes/ShortcutItemProviding.swift",
"repo_id": "packages",
"token_count": 141
} | 1,041 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/rfw/example/remote/android/gradle.properties/0 | {
"file_path": "packages/packages/rfw/example/remote/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 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.
// 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/argument_decoders.dart/0 | {
"file_path": "packages/packages/rfw/lib/src/flutter/argument_decoders.dart",
"repo_id": "packages",
"token_count": 21603
} | 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.
// This file is hand-formatted.
// ignore_for_file: use_raw_strings, avoid_escaping_inner_quotes
import 'package:flutter/widgets.dart';
import 'package:fl... | packages/packages/rfw/test/source_locations_test.dart/0 | {
"file_path": "packages/packages/rfw/test/source_locations_test.dart",
"repo_id": "packages",
"token_count": 1167
} | 1,044 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/shared_preferences/shared_preferences/example/android/gradle.properties/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 1,045 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
* Updates compileSdk version to 34.
## 2.2.1
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
* Deletes deprecated splash screen meta-data element.
## 2.2.0
* Adds `clearWithParameters`... | packages/packages/shared_preferences/shared_preferences_android/CHANGELOG.md/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_android/CHANGELOG.md",
"repo_id": "packages",
"token_count": 580
} | 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 Foundation
#if os(iOS)
import Flutter
#elseif os(macOS)
import FlutterMacOS
#endif
public class SharedPreferencesPlugin: NSObject, FlutterPlug... | packages/packages/shared_preferences/shared_preferences_foundation/darwin/Classes/SharedPreferencesPlugin.swift/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_foundation/darwin/Classes/SharedPreferencesPlugin.swift",
"repo_id": "packages",
"token_count": 766
} | 1,047 |
name: shared_preferences_foundation
description: iOS and macOS implementation of the shared_preferences plugin.
repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences_foundation
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p... | packages/packages/shared_preferences/shared_preferences_foundation/pubspec.yaml/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_foundation/pubspec.yaml",
"repo_id": "packages",
"token_count": 377
} | 1,048 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Filter options used to get and clear preferences.
class PreferencesFilter {
/// Constructor.
PreferencesFilter({
required this.prefix,
this... | packages/packages/shared_preferences/shared_preferences_platform_interface/lib/types.dart/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_platform_interface/lib/types.dart",
"repo_id": "packages",
"token_count": 261
} | 1,049 |
name: shared_preferences_web
description: Web platform implementation of shared_preferences
repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
v... | packages/packages/shared_preferences/shared_preferences_web/pubspec.yaml/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_web/pubspec.yaml",
"repo_id": "packages",
"token_count": 325
} | 1,050 |
name: standard_message_codec
description: An efficient and schemaless binary encoding format for Flutter and Dart.
version: 0.0.1+4
repository: https://github.com/flutter/packages/tree/main/packages/standard_message_codec
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3Astandard_... | packages/packages/standard_message_codec/pubspec.yaml/0 | {
"file_path": "packages/packages/standard_message_codec/pubspec.yaml",
"repo_id": "packages",
"token_count": 160
} | 1,051 |
#include "Generated.xcconfig"
| packages/packages/two_dimensional_scrollables/example/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "packages/packages/two_dimensional_scrollables/example/ios/Flutter/Debug.xcconfig",
"repo_id": "packages",
"token_count": 12
} | 1,052 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/two_dimensional_scrollables/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/two_dimensional_scrollables/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 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 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:url_launcher_android/src/messages.g.dart';
import ... | packages/packages/url_launcher/url_launcher_android/test/url_launcher_android_test.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_android/test/url_launcher_android_test.dart",
"repo_id": "packages",
"token_count": 6412
} | 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.
// Autogenerated from Pigeon (v11.0.1), do not edit directly.
// See also: https://pub.dev/packages/pigeon
import Foundation
#if os(iOS)
import Flutter
... | packages/packages/url_launcher/url_launcher_ios/ios/Classes/messages.g.swift/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_ios/ios/Classes/messages.g.swift",
"repo_id": "packages",
"token_count": 2042
} | 1,055 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/url_launcher/url_launcher_macos/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_macos/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 1,056 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/src/messages.g.dart',
swiftOut: 'macos/Classes/messages.g.swift',
... | packages/packages/url_launcher/url_launcher_macos/pigeons/messages.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_macos/pigeons/messages.dart",
"repo_id": "packages",
"token_count": 349
} | 1,057 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <flutter/method_channel.h>
#include <flutter/plugin_registrar_windows.h>
#include <windows.h>
#include <memory>
#include <optional>
#include <sstr... | packages/packages/url_launcher/url_launcher_windows/windows/url_launcher_plugin.h/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_windows/windows/url_launcher_plugin.h",
"repo_id": "packages",
"token_count": 390
} | 1,058 |
WEBVTT
00:00:00.200 --> 00:00:01.750
[ Birds chirping ]
00:00:02.300 --> 00:00:05.000
[ Buzzing ]
| packages/packages/video_player/video_player/example/assets/bumble_bee_captions.vtt/0 | {
"file_path": "packages/packages/video_player/video_player/example/assets/bumble_bee_captions.vtt",
"repo_id": "packages",
"token_count": 51
} | 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.
package io.flutter.plugins.videoplayer;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.any;
import static org.moc... | packages/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java/0 | {
"file_path": "packages/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java",
"repo_id": "packages",
"token_count": 4058
} | 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 "FVPVideoPlayerPlugin.h"
#import <AVFoundation/AVFoundation.h>
#import "FVPDisplayLink.h"
#import "messages.g.h"
// Protocol for AVFoundation ob... | packages/packages/video_player/video_player_avfoundation/darwin/Classes/FVPVideoPlayerPlugin_Test.h/0 | {
"file_path": "packages/packages/video_player/video_player_avfoundation/darwin/Classes/FVPVideoPlayerPlugin_Test.h",
"repo_id": "packages",
"token_count": 698
} | 1,061 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io' as io;
import 'package:logging/logging.dart';
import 'src/benchmark_result.dart';
import 'src/common.dart';
import ... | packages/packages/web_benchmarks/lib/server.dart/0 | {
"file_path": "packages/packages/web_benchmarks/lib/server.dart",
"repo_id": "packages",
"token_count": 711
} | 1,062 |
# test_app
An example app for web benchmarks testing.
| packages/packages/web_benchmarks/testing/test_app/README.md/0 | {
"file_path": "packages/packages/web_benchmarks/testing/test_app/README.md",
"repo_id": "packages",
"token_count": 15
} | 1,063 |
name: webview_flutter
description: A Flutter plugin that provides a WebView widget on Android and iOS.
repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22
version: 4.... | packages/packages/webview_flutter/webview_flutter/pubspec.yaml/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter/pubspec.yaml",
"repo_id": "packages",
"token_count": 369
} | 1,064 |
group 'io.flutter.plugins.webviewflutter'
version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.0'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
... | packages/packages/webview_flutter/webview_flutter_android/android/build.gradle/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/android/build.gradle",
"repo_id": "packages",
"token_count": 720
} | 1,065 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.webviewflutter;
import android.webkit.HttpAuthHandler;
import androidx.annotation.NonNull;
import io.flutter.plugin.common.Bina... | packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/HttpAuthHandlerFlutterApiImpl.java/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/HttpAuthHandlerFlutterApiImpl.java",
"repo_id": "packages",
"token_count": 566
} | 1,066 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.webviewflutter;
import android.webkit.WebView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import ... | packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewFlutterAndroidExternalApi.java/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewFlutterAndroidExternalApi.java",
"repo_id": "packages",
"token_count": 612
} | 1,067 |
// 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/webview_flutter/webview_flutter_android/lib/src/android_webview.g.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_android/lib/src/android_webview.g.dart",
"repo_id": "packages",
"token_count": 50587
} | 1,068 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.