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.
part of '../google_maps_flutter_web.dart';
// Default values for when the gmaps objects return null/undefined values.
final gmaps.LatLng _nullGmapsLatLng ... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/convert.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/convert.dart",
"repo_id": "packages",
"token_count": 7568
} | 1,200 |
// The MIT License (MIT)
//
// Copyright (c) 2008 Krasimir Tsonev
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use,... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/third_party/to_screen_location/to_screen_location.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/third_party/to_screen_location/to_screen_location.dart",
"repo_id": "packages",
"token_count": 769
} | 1,201 |
// 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.googlesigninexample;
import androidx.test.rule.ActivityTestRule;
import dev.flutter.plugins.integration_test.FlutterTestRunner;... | packages/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/java/io/flutter/plugins/googlesigninexample/FlutterActivityTest.java/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/android/app/src/androidTest/java/io/flutter/plugins/googlesigninexample/FlutterActivityTest.java",
"repo_id": "packages",
"token_count": 203
} | 1,202 |
# google\_sign\_in\_ios
The iOS and macOS implementation of [`google_sign_in`][1].
## Usage
This package is [endorsed][2], which means you can simply use `google_sign_in`
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 y... | packages/packages/google_sign_in/google_sign_in_ios/README.md/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/README.md",
"repo_id": "packages",
"token_count": 1147
} | 1,203 |
#include "Generated.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
| packages/packages/google_sign_in/google_sign_in_ios/example/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/example/ios/Flutter/Debug.xcconfig",
"repo_id": "packages",
"token_count": 40
} | 1,204 |
// 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/google_sign_in/google_sign_in_ios/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 4460
} | 1,205 |
// Mocks generated by Mockito 5.4.4 from annotations
// in google_sign_in_web_integration_tests/integration_test/web_only_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i4;
import 'package:google_sign_in_platform_interface/google_s... | packages/packages/google_sign_in/google_sign_in_web/example/integration_test/web_only_test.mocks.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/example/integration_test/web_only_test.mocks.dart",
"repo_id": "packages",
"token_count": 2496
} | 1,206 |
// 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_test/flutter_test.dart';
void main() {
test('Tell the user where to find the real tests', () {
... | packages/packages/google_sign_in/google_sign_in_web/test/tests_exist_elsewhere_test.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/test/tests_exist_elsewhere_test.dart",
"repo_id": "packages",
"token_count": 152
} | 1,207 |
// 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_window.h"
#include <optional>
#include "flutter/generated_plugin_registrant.h"
FlutterWindow::FlutterWindow(const flutter::DartProject... | packages/packages/image_picker/image_picker/example/windows/runner/flutter_window.cpp/0 | {
"file_path": "packages/packages/image_picker/image_picker/example/windows/runner/flutter_window.cpp",
"repo_id": "packages",
"token_count": 727
} | 1,208 |
<?xml version="1.0" encoding="utf-8"?>
<paths>
<cache-path name="cached_files" path="."/>
</paths>
| packages/packages/image_picker/image_picker_android/android/src/main/res/xml/flutter_image_picker_file_paths.xml/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/src/main/res/xml/flutter_image_picker_file_paths.xml",
"repo_id": "packages",
"token_count": 45
} | 1,209 |
// 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;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
i... | packages/packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java",
"repo_id": "packages",
"token_count": 208
} | 1,210 |
## 3.0.3
* Migrates package and tests to `package:web`.
* Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
## 3.0.2
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
* Removes input element after completion
## 3.0.1
* Adds pub topics to package metadata.
* Updates minimum supported S... | packages/packages/image_picker/image_picker_for_web/CHANGELOG.md/0 | {
"file_path": "packages/packages/image_picker/image_picker_for_web/CHANGELOG.md",
"repo_id": "packages",
"token_count": 802
} | 1,211 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'package:flutter_test/flutter_test.dart';
import 'package:image_picker_for_web/src/image_resizer_utils.dart';
void main() {
gro... | packages/packages/image_picker/image_picker_for_web/test/image_resizer_utils_test.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_for_web/test/image_resizer_utils_test.dart",
"repo_id": "packages",
"token_count": 1351
} | 1,212 |
// 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 <OCMock/OCMock.h>
@import image_picker_ios;
@import image_picker_ios.Test;
@import UniformTypeIdentifiers;
@import XCTest;
@interface PickerSaveI... | packages/packages/image_picker/image_picker_ios/example/ios/RunnerTests/PickerSaveImageToPathOperationTests.m/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/example/ios/RunnerTests/PickerSaveImageToPathOperationTests.m",
"repo_id": "packages",
"token_count": 5397
} | 1,213 |
framework module image_picker_ios {
umbrella header "image_picker_ios-umbrella.h"
export *
module * { export * }
explicit module Test {
header "FLTImagePickerPlugin_Test.h"
header "FLTImagePickerImageUtil.h"
header "FLTImagePickerMetaDataUtil.h"
header "FLTImagePickerPhotoAssetUtil.h"
head... | packages/packages/image_picker/image_picker_ios/ios/Classes/ImagePickerPlugin.modulemap/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/ios/Classes/ImagePickerPlugin.modulemap",
"repo_id": "packages",
"token_count": 138
} | 1,214 |
# image\_picker\_linux
A Linux implementation of [`image_picker`][1].
## Limitations
`ImageSource.camera` is not supported unless a `cameraDelegate` is set.
### pickImage()
The arguments `maxWidth`, `maxHeight`, and `imageQuality` are not currently supported.
### pickVideo()
The argument `maxDuration` is not curre... | packages/packages/image_picker/image_picker_linux/README.md/0 | {
"file_path": "packages/packages/image_picker/image_picker_linux/README.md",
"repo_id": "packages",
"token_count": 254
} | 1,215 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 0.2.1+1
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
## 0.2.1
* Adds `getMedia` method.
## 0.2.0
* Implements initial macOS support.
| packages/packages/image_picker/image_picker_macos/CHANGELOG.md/0 | {
"file_path": "packages/packages/image_picker/image_picker_macos/CHANGELOG.md",
"repo_id": "packages",
"token_count": 100
} | 1,216 |
name: example
description: Example for image_picker_macos implementation.
publish_to: 'none'
version: 1.0.0
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
flutter:
sdk: flutter
image_picker_macos:
# When depending on this package from a real application you should use:
# image_picker... | packages/packages/image_picker/image_picker_macos/example/pubspec.yaml/0 | {
"file_path": "packages/packages/image_picker/image_picker_macos/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 277
} | 1,217 |
// 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:cross_file/cross_file.dart';
import 'package:flutter/services.dart';
import 'types.dart';
/// The response object of [ImagePicker.getLost... | packages/packages/image_picker/image_picker_platform_interface/lib/src/types/lost_data_response.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/lost_data_response.dart",
"repo_id": "packages",
"token_count": 699
} | 1,218 |
// 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.
@TestOn('chrome') // Uses web-only Flutter SDK
library;
import 'dart:convert';
import 'dart:html' as html;
import 'package:flutter_test/flutter_test.dart... | packages/packages/image_picker/image_picker_platform_interface/test/picked_file_html_test.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/test/picked_file_html_test.dart",
"repo_id": "packages",
"token_count": 434
} | 1,219 |
A storefront-independent API for purchases in Flutter apps.
<!-- If this package were in its own repo, we'd put badges here -->
This plugin supports in-app purchases (_IAP_) through an _underlying store_,
which can be the App Store (on iOS and macOS) or Google Play (on Android).
| | Android | iOS | mac... | packages/packages/in_app_purchase/in_app_purchase/README.md/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase/README.md",
"repo_id": "packages",
"token_count": 5238
} | 1,220 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.inapppurchase;
import static io.flutter.plugins.inapppurchase.Translator.fromBillingResult;
import static io.flutter.plugins.in... | packages/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/PluginPurchaseListener.java/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/PluginPurchaseListener.java",
"repo_id": "packages",
"token_count": 474
} | 1,221 |
name: in_app_purchase_android_example
description: Demonstrates how to use the in_app_purchase_android plugin.
publish_to: none
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
flutter:
sdk: flutter
in_app_purchase_android:
# When depending on this package from a real application you should ... | packages/packages/in_app_purchase/in_app_purchase_android/example/pubspec.yaml/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 305
} | 1,222 |
// 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/product_details_wrapper.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/product_details_wrapper.dart",
"repo_id": "packages",
"token_count": 1905
} | 1,223 |
// 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_platform_interface/in_app_purchase_platform_interface.dart';
import '../../in_app_purchase_android.dart';
/// Google Play... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/types/google_play_purchase_param.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/types/google_play_purchase_param.dart",
"repo_id": "packages",
"token_count": 212
} | 1,224 |
# Below is a list of people and organizations that have contributed
# to the Flutter project. Names should be added to the list like so:
#
# Name/Organization <email address>
Google Inc.
The Chromium Authors
German Saprykin <saprykin.h@gmail.com>
Benjamin Sauer <sauer.benjamin@gmail.com>
larsenthomasj@gmail.com
Ali ... | packages/packages/in_app_purchase/in_app_purchase_platform_interface/AUTHORS/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_platform_interface/AUTHORS",
"repo_id": "packages",
"token_count": 1045
} | 1,225 |
// 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.
/// Represents the data that is used to verify purchases.
///
/// The property [source] helps you to determine the method to verify purchases.
/// Differen... | packages/packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/types/purchase_verification_data.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/types/purchase_verification_data.dart",
"repo_id": "packages",
"token_count": 342
} | 1,226 |
// 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/store_kit_wrappers.dart';
/// Example implementation of the
/// [`SKPaymentQueueDelegate`](https://developer.appl... | packages/packages/in_app_purchase/in_app_purchase_storekit/example/lib/example_payment_queue_delegate.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/example/lib/example_payment_queue_delegate.dart",
"repo_id": "packages",
"token_count": 224
} | 1,227 |
// 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:collection/collection.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import '... | packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_payment_queue_wrapper.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_payment_queue_wrapper.dart",
"repo_id": "packages",
"token_count": 8478
} | 1,228 |
// 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',
objcHe... | packages/packages/in_app_purchase/in_app_purchase_storekit/pigeons/messages.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/pigeons/messages.dart",
"repo_id": "packages",
"token_count": 2078
} | 1,229 |
## NEXT
* Updates minimum iOS version to 12.0 and minimum Flutter version to 3.16.6.
## 0.2.3+2
* Adds privacy manifest.
## 0.2.3+1
* Improves example code in README.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
## 0.2.3
* Migrates to a Swift implementation.
## 0.2.2+3
* Converts platform ... | packages/packages/ios_platform_images/CHANGELOG.md/0 | {
"file_path": "packages/packages/ios_platform_images/CHANGELOG.md",
"repo_id": "packages",
"token_count": 887
} | 1,230 |
// 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/ios_platform_images/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/ios_platform_images/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 1478
} | 1,231 |
// 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:local_auth/local_auth.dart';
import 'package:local_... | packages/packages/local_auth/local_auth/test/local_auth_test.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth/test/local_auth_test.dart",
"repo_id": "packages",
"token_count": 1537
} | 1,232 |
// 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 static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Ass... | packages/packages/local_auth/local_auth_android/android/src/test/java/io/flutter/plugins/localauth/LocalAuthTest.java/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/android/src/test/java/io/flutter/plugins/localauth/LocalAuthTest.java",
"repo_id": "packages",
"token_count": 5911
} | 1,233 |
include ':app'
def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
def plugins = new Properties()
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
if (pluginsFile.exists()) {
pluginsFile.withInputStream { stream -> plugins.load(stream) }
}
plugins.each { name, path ->
... | packages/packages/local_auth/local_auth_android/example/android/settings.gradle/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/example/android/settings.gradle",
"repo_id": "packages",
"token_count": 305
} | 1,234 |
// 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.1.2), 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_darwin/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_darwin/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 3572
} | 1,235 |
// 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:local_auth_platform_interface/types/auth_messages.dart';
/// Windows side authentication message... | packages/packages/local_auth/local_auth_windows/lib/types/auth_messages_windows.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_windows/lib/types/auth_messages_windows.dart",
"repo_id": "packages",
"token_count": 169
} | 1,236 |
## 1.0.13
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
* Updates dependency on `package:googleapis` to `^12.0.0`.
## 1.0.12
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
## 1.0.11
* Removes the dependency on `package:equatable`.
## 1.... | packages/packages/metrics_center/CHANGELOG.md/0 | {
"file_path": "packages/packages/metrics_center/CHANGELOG.md",
"repo_id": "packages",
"token_count": 675
} | 1,237 |
// Mocks generated by Mockito 5.4.4 from annotations
// in metrics_center/test/gcs_lock_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i6;
import 'dart:convert' as _i7;
import 'dart:typed_data' as _i9;
import 'package:_discoveryapi... | packages/packages/metrics_center/test/gcs_lock_test.mocks.dart/0 | {
"file_path": "packages/packages/metrics_center/test/gcs_lock_test.mocks.dart",
"repo_id": "packages",
"token_count": 26108
} | 1,238 |
// 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:collection';
import 'resource_record.dart';
/// Cache for resource records that have been received.
///
/// There can be multiple entries fo... | packages/packages/multicast_dns/lib/src/native_protocol_client.dart/0 | {
"file_path": "packages/packages/multicast_dns/lib/src/native_protocol_client.dart",
"repo_id": "packages",
"token_count": 947
} | 1,239 |
# image_colors
A sample app for demonstrating the PaletteGenerator
This app will show you what kinds of palettes the generator creates, and one
way to create them from existing image providers. | packages/packages/palette_generator/example/README.md/0 | {
"file_path": "packages/packages/palette_generator/example/README.md",
"repo_id": "packages",
"token_count": 45
} | 1,240 |
org.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/palette_generator/example/android/gradle.properties/0 | {
"file_path": "packages/packages/palette_generator/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 39
} | 1,241 |
// 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/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "run_loop.h"
#inc... | packages/packages/path_provider/path_provider/example/windows/runner/main.cpp/0 | {
"file_path": "packages/packages/path_provider/path_provider/example/windows/runner/main.cpp",
"repo_id": "packages",
"token_count": 434
} | 1,242 |
# path\_provider\_android
The Android implementation of [`path_provider`][1].
## Usage
This package is [endorsed][2], which means you can simply use `path_provider`
normally. This package will be automatically included in your app when you do,
so you do not need to add it to your `pubspec.yaml`.
However, if you `im... | packages/packages/path_provider/path_provider_android/README.md/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/README.md",
"repo_id": "packages",
"token_count": 177
} | 1,243 |
name: path_provider_android
description: Android implementation of the path_provider plugin.
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
version: 2.... | packages/packages/path_provider/path_provider_android/pubspec.yaml/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/pubspec.yaml",
"repo_id": "packages",
"token_count": 339
} | 1,244 |
// 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:path_provider_platform_interface/src/enums.dart';
... | packages/packages/path_provider/path_provider_platform_interface/test/method_channel_path_provider_test.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_platform_interface/test/method_channel_path_provider_test.dart",
"repo_id": "packages",
"token_count": 2806
} | 1,245 |
// 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.
// path_provider_windows is implemented using FFI; export a stub for platforms
// that don't support FFI (e.g., web) to avoid having transitive dependencie... | packages/packages/path_provider/path_provider_windows/lib/path_provider_windows.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_windows/lib/path_provider_windows.dart",
"repo_id": "packages",
"token_count": 168
} | 1,246 |
test_on: vm
| packages/packages/pigeon/dart_test.yaml/0 | {
"file_path": "packages/packages/pigeon/dart_test.yaml",
"repo_id": "packages",
"token_count": 6
} | 1,247 |
// 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_window.h"
#include <memory>
#include <optional>
#include "flutter/generated_plugin_registrant.h"
#include "messages.g.h"
namespace {
u... | packages/packages/pigeon/example/app/windows/runner/flutter_window.cpp/0 | {
"file_path": "packages/packages/pigeon/example/app/windows/runner/flutter_window.cpp",
"repo_id": "packages",
"token_count": 1252
} | 1,248 |
// 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;
/// General comm... | packages/packages/pigeon/lib/cpp_generator.dart/0 | {
"file_path": "packages/packages/pigeon/lib/cpp_generator.dart",
"repo_id": "packages",
"token_count": 26914
} | 1,249 |
// 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';
enum AnEnum {
one,
two,
three,
fortyTwo,
fourHundredTwentyTwo,
}
/// A class containing all supported type... | packages/packages/pigeon/pigeons/core_tests.dart/0 | {
"file_path": "packages/packages/pigeon/pigeons/core_tests.dart",
"repo_id": "packages",
"token_count": 7491
} | 1,250 |
rootProject.name = 'alternate_language_test_plugin'
| packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/settings.gradle/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/settings.gradle",
"repo_id": "packages",
"token_count": 16
} | 1,251 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/gradle.properties/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 1,252 |
// 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/EnumTest.m/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/EnumTest.m",
"repo_id": "packages",
"token_count": 408
} | 1,253 |
// 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/ios/Classes/CoreTests.gen.m/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/CoreTests.gen.m",
"repo_id": "packages",
"token_count": 67623
} | 1,254 |
// 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:flutter_test/flutter_test.dart';
import 'package:integrat... | packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/integration_tests.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/integration_tests.dart",
"repo_id": "packages",
"token_count": 20750
} | 1,255 |
// 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:mockito/annotations.dart';
import 'package:mockito... | packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/multiple_arity_test.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/multiple_arity_test.dart",
"repo_id": "packages",
"token_count": 519
} | 1,256 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.test_plugin">
</manifest>
| packages/packages/pigeon/platform_tests/test_plugin/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 43
} | 1,257 |
// 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
@testable import test_plugin
class MockMultipleArityHostApi: MultipleArityHostApi {
func subtract(x: Int64, y: Int64) -> I... | packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/MultipleArityTests.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/MultipleArityTests.swift",
"repo_id": "packages",
"token_count": 744
} | 1,258 |
#
# 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/macos/test_plugin.podspec/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/macos/test_plugin.podspec",
"repo_id": "packages",
"token_count": 402
} | 1,259 |
// 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 "fake_host_messenger.h"
#include <flutter/encodable_value.h>
#include <flutter/message_codec.h>
#include <memory>
#include <vector>
namespace t... | packages/packages/pigeon/platform_tests/test_plugin/windows/test/utils/fake_host_messenger.cpp/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/test/utils/fake_host_messenger.cpp",
"repo_id": "packages",
"token_count": 682
} | 1,260 |
// 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';
import 'package:test/test.dart';
void main() {
test('Should be able to import JavaOptions', () async {
const Ja... | packages/packages/pigeon/test/pigeon_test.dart/0 | {
"file_path": "packages/packages/pigeon/test/pigeon_test.dart",
"repo_id": "packages",
"token_count": 267
} | 1,261 |
[](https://pub.dartlang.org/packages/platform)
A generic platform abstraction for Dart.
Like `dart:io`, `package:platform` supplies a rich, Dart-idiomatic API for
accessing platform-specific information.
`package:platform` provides a lightweight wrapper around the sta... | packages/packages/platform/README.md/0 | {
"file_path": "packages/packages/platform/README.md",
"repo_id": "packages",
"token_count": 129
} | 1,262 |
// 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:plaform_example/main.dart';
void main() {
testWidgets('smoke test', (WidgetTester test... | packages/packages/platform/example/test/widget_test.dart/0 | {
"file_path": "packages/packages/platform/example/test/widget_test.dart",
"repo_id": "packages",
"token_count": 200
} | 1,263 |
// 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.
// Unreachable code is used in docregion.
// ignore_for_file: unreachable_from_main
import 'package:mockito/mockito.dart';
import 'package:plugin_platform... | packages/packages/plugin_platform_interface/test/plugin_platform_interface_test.dart/0 | {
"file_path": "packages/packages/plugin_platform_interface/test/plugin_platform_interface_test.dart",
"repo_id": "packages",
"token_count": 1717
} | 1,264 |
// 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:pointer_interceptor_platform_interface/pointer_interceptor_platform_interface.dart';
/// A [Widget]... | packages/packages/pointer_interceptor/pointer_interceptor/lib/src/pointer_interceptor.dart/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor/lib/src/pointer_interceptor.dart",
"repo_id": "packages",
"token_count": 386
} | 1,265 |
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id... | packages/packages/pointer_interceptor/pointer_interceptor_ios/example/ios/Runner/Base.lproj/Main.storyboard/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/example/ios/Runner/Base.lproj/Main.storyboard",
"repo_id": "packages",
"token_count": 822
} | 1,266 |
// 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/widgets.dart';
import 'package:pointer_interceptor_platform_interface/pointer_interceptor_p... | packages/packages/pointer_interceptor/pointer_interceptor_ios/lib/pointer_interceptor_ios.dart/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/lib/pointer_interceptor_ios.dart",
"repo_id": "packages",
"token_count": 353
} | 1,267 |
# pointer\_interceptor\_web
The web implementation of [`pointer interceptor`][1].
## Usage
This package is [endorsed][2], which means you can simply use `pointer_interceptor`
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, ... | packages/packages/pointer_interceptor/pointer_interceptor_web/README.md/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_web/README.md",
"repo_id": "packages",
"token_count": 175
} | 1,268 |
# Below is a list of people and organizations that have contributed
# to the Process project. Names should be added to the list like so:
#
# Name/Organization <email address>
Google Inc.
| packages/packages/process/AUTHORS/0 | {
"file_path": "packages/packages/process/AUTHORS",
"repo_id": "packages",
"token_count": 49
} | 1,269 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 1.0.7
* 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.6
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flut... | packages/packages/quick_actions/quick_actions/CHANGELOG.md/0 | {
"file_path": "packages/packages/quick_actions/quick_actions/CHANGELOG.md",
"repo_id": "packages",
"token_count": 1996
} | 1,270 |
// 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:integration_test/integration_test.dart';
import 'pa... | packages/packages/quick_actions/quick_actions_android/example/integration_test/quick_actions_test.dart/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/example/integration_test/quick_actions_test.dart",
"repo_id": "packages",
"token_count": 238
} | 1,271 |
// 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
@testable import quick_actions_ios
class MockFlutterApi: IOSQuickActionsFlutterApiProtocol {
/// Method to allow for async... | packages/packages/quick_actions/quick_actions_ios/example/ios/RunnerTests/QuickActionsPluginTests.swift/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_ios/example/ios/RunnerTests/QuickActionsPluginTests.swift",
"repo_id": "packages",
"token_count": 2611
} | 1,272 |
name: quick_actions_ios
description: An implementation for the iOS platform of the Flutter `quick_actions` plugin.
repository: https://github.com/flutter/packages/tree/main/packages/quick_actions/quick_actions_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_pur... | packages/packages/quick_actions/quick_actions_ios/pubspec.yaml/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_ios/pubspec.yaml",
"repo_id": "packages",
"token_count": 329
} | 1,273 |
#include "Generated.xcconfig"
| packages/packages/rfw/example/hello/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "packages/packages/rfw/example/hello/ios/Flutter/Debug.xcconfig",
"repo_id": "packages",
"token_count": 12
} | 1,274 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/rfw/example/hello/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/rfw/example/hello/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 1,275 |
# Example of new custom local widgets for RFW
This example shows how one can create custom widgets in an RFW client,
for use by remote widgets.
| packages/packages/rfw/example/local/README.md/0 | {
"file_path": "packages/packages/rfw/example/local/README.md",
"repo_id": "packages",
"token_count": 35
} | 1,276 |
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
//... | packages/packages/rfw/example/local/android/build.gradle/0 | {
"file_path": "packages/packages/rfw/example/local/android/build.gradle",
"repo_id": "packages",
"token_count": 410
} | 1,277 |
// 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.
// internals
enum Ops { opNone, opAdd };
int _pending = 0;
Ops _pendingOp = opNone;
int _display = 0;
bool _displayLocked = false;
void _resolve() {
s... | packages/packages/rfw/example/wasm/logic/calculator.cc/0 | {
"file_path": "packages/packages/rfw/example/wasm/logic/calculator.cc",
"repo_id": "packages",
"token_count": 348
} | 1,278 |
name: rfw_wasm
description: Example of using Wasm with RFW
publish_to: none # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ^3.2.0
flutter: ">=3.16.0"
dependencies:
flutter:
sdk: flutter
path: ^1.8.0
path_provider: ^2.0.2
rfw:
path: ../../
wasm: ">=0.1.0+1... | packages/packages/rfw/example/wasm/pubspec.yaml/0 | {
"file_path": "packages/packages/rfw/example/wasm/pubspec.yaml",
"repo_id": "packages",
"token_count": 170
} | 1,279 |
// 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:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package... | packages/packages/rfw/test/argument_decoders_test.dart/0 | {
"file_path": "packages/packages/rfw/test/argument_decoders_test.dart",
"repo_id": "packages",
"token_count": 9415
} | 1,280 |
// 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 "utils.h"
#include <flutter_windows.h>
#include <io.h>
#include <stdio.h>
#include <windows.h>
#include <iostream>
void CreateAndAttachConsole(... | packages/packages/shared_preferences/shared_preferences/example/windows/runner/utils.cpp/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences/example/windows/runner/utils.cpp",
"repo_id": "packages",
"token_count": 257
} | 1,281 |
// 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.sharedpreferences;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Base64;
import... | packages/packages/shared_preferences/shared_preferences_android/android/src/main/java/io/flutter/plugins/sharedpreferences/SharedPreferencesPlugin.java/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_android/android/src/main/java/io/flutter/plugins/sharedpreferences/SharedPreferencesPlugin.java",
"repo_id": "packages",
"token_count": 2841
} | 1,282 |
name: shared_preferences_linux
description: Linux implementation of the shared_preferences plugin
repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences_linux
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferen... | packages/packages/shared_preferences/shared_preferences_linux/pubspec.yaml/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_linux/pubspec.yaml",
"repo_id": "packages",
"token_count": 339
} | 1,283 |
# 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/shared_preferences/shared_preferences_web/example/README.md/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_web/example/README.md",
"repo_id": "packages",
"token_count": 186
} | 1,284 |
// 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.
#ifndef RUNNER_FLUTTER_WINDOW_H_
#define RUNNER_FLUTTER_WINDOW_H_
#include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include... | packages/packages/shared_preferences/shared_preferences_windows/example/windows/runner/flutter_window.h/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences_windows/example/windows/runner/flutter_window.h",
"repo_id": "packages",
"token_count": 437
} | 1,285 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 0.0.1+4
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
## 0.0.1+3
* Minor README updates.
## 0.0.1+2
* Fixes lint warnings.
## 0.0.1+1
* Fixes minimum version of `test` depende... | packages/packages/standard_message_codec/CHANGELOG.md/0 | {
"file_path": "packages/packages/standard_message_codec/CHANGELOG.md",
"repo_id": "packages",
"token_count": 146
} | 1,286 |
name: table_view_example
description: 'A sample application that uses TableView'
publish_to: 'none'
# The following defines the version and build number for your application.
version: 1.0.0+1
environment:
sdk: '>=3.2.0 <4.0.0'
flutter: ">=3.16.0"
dependencies:
flutter:
sdk: flutter
two_dimensional_scroll... | packages/packages/two_dimensional_scrollables/example/pubspec.yaml/0 | {
"file_path": "packages/packages/two_dimensional_scrollables/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 191
} | 1,287 |
// 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:two_dimensional_scrollables/two_dimensional_scrolla... | packages/packages/two_dimensional_scrollables/test/table_view/table_delegate_test.dart/0 | {
"file_path": "packages/packages/two_dimensional_scrollables/test/table_view/table_delegate_test.dart",
"repo_id": "packages",
"token_count": 7454
} | 1,288 |
{
"name": "url_launcher example",
"short_name": "url_launcher",
"start_url": ".",
"display": "minimal-ui",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "An example of the url_launcher on the web.",
"orientation": "portrait-primary",
"prefer_related_applicat... | packages/packages/url_launcher/url_launcher/example/web/manifest.json/0 | {
"file_path": "packages/packages/url_launcher/url_launcher/example/web/manifest.json",
"repo_id": "packages",
"token_count": 316
} | 1,289 |
// 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.
#ifndef RUNNER_UTILS_H_
#define RUNNER_UTILS_H_
// Creates a console for the process, and redirects stdout and stderr to
// it for both the runner and the... | packages/packages/url_launcher/url_launcher/example/windows/runner/utils.h/0 | {
"file_path": "packages/packages/url_launcher/url_launcher/example/windows/runner/utils.h",
"repo_id": "packages",
"token_count": 121
} | 1,290 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:url_launcher/src/types.dart';
import 'package:url_launcher/src/url_launcher_string.dart';
... | packages/packages/url_launcher/url_launcher/test/src/url_launcher_string_test.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher/test/src/url_launcher_string_test.dart",
"repo_id": "packages",
"token_count": 3710
} | 1,291 |
// 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 'package:flutter/material.dart';
import 'package:url_launcher_platform_interface/u... | packages/packages/url_launcher/url_launcher_android/example/lib/main.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_android/example/lib/main.dart",
"repo_id": "packages",
"token_count": 3524
} | 1,292 |
// 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
class URLLauncherUITests: XCTestCase {
var app: XCUIApplication!
override func setUp() {
continueAfterFailure = false
app = XC... | packages/packages/url_launcher/url_launcher_ios/example/ios/RunnerUITests/URLLauncherUITests.swift/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_ios/example/ios/RunnerUITests/URLLauncherUITests.swift",
"repo_id": "packages",
"token_count": 558
} | 1,293 |
// 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:mockito/annotations.dart';
import 'package:mockito... | packages/packages/url_launcher/url_launcher_ios/test/url_launcher_ios_test.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_ios/test/url_launcher_ios_test.dart",
"repo_id": "packages",
"token_count": 5600
} | 1,294 |
#
# Generated file, do not edit.
#
list(APPEND FLUTTER_PLUGIN_LIST
url_launcher_linux
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
)
set(PLUGIN_BUNDLED_LIBRARIES)
foreach(plugin ${FLUTTER_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
target_link_libraries(${BINA... | packages/packages/url_launcher/url_launcher_linux/example/linux/flutter/generated_plugins.cmake/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_linux/example/linux/flutter/generated_plugins.cmake",
"repo_id": "packages",
"token_count": 320
} | 1,295 |
name: url_launcher_example
description: Demonstrates how to use the url_launcher plugin.
publish_to: none
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
flutter:
sdk: flutter
url_launcher_macos:
# When depending on this package from a real application you should use:
# url_launcher_m... | packages/packages/url_launcher/url_launcher_macos/example/pubspec.yaml/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_macos/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 267
} | 1,296 |
// 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 'link.dart';
import 'url_launcher_platform_interface.dart';
const MethodChannel _cha... | packages/packages/url_launcher/url_launcher_platform_interface/lib/method_channel_url_launcher.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_platform_interface/lib/method_channel_url_launcher.dart",
"repo_id": "packages",
"token_count": 553
} | 1,297 |
// 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:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:mockit... | packages/packages/url_launcher/url_launcher_web/example/integration_test/url_launcher_web_test.dart/0 | {
"file_path": "packages/packages/url_launcher/url_launcher_web/example/integration_test/url_launcher_web_test.dart",
"repo_id": "packages",
"token_count": 3978
} | 1,298 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/video_player/video_player/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/video_player/video_player/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.