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.
package io.flutter.plugins.camera;
import static org.mockito.ArgumentMatchers.anyFloat;
import static org.mockito.ArgumentMatchers.anyInt;
import static o... | packages/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/CameraCaptureCallbackTest.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/CameraCaptureCallbackTest.java",
"repo_id": "packages",
"token_count": 1219
} | 950 |
// Copyright 2013 The Flutter 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.camerax;
import android.app.Activity;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annot... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraAndroidCameraxPlugin.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraAndroidCameraxPlugin.java",
"repo_id": "packages",
"token_count": 3919
} | 951 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import android.app.Activity;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/DeviceOrientationManagerHostApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/DeviceOrientationManagerHostApiImpl.java",
"repo_id": "packages",
"token_count": 1337
} | 952 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.anno... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/ObserverFlutterApiWrapper.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/ObserverFlutterApiWrapper.java",
"repo_id": "packages",
"token_count": 1347
} | 953 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import androidx.annotation.NonNull;
import io.flutter.plugin.common.BinaryMessenger;
import io.flutter.plugins.camerax... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/SystemServicesFlutterApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/SystemServicesFlutterApiImpl.java",
"repo_id": "packages",
"token_count": 209
} | 954 |
// Copyright 2013 The Flutter 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.camerax;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/CaptureRequestOptionsTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/CaptureRequestOptionsTest.java",
"repo_id": "packages",
"token_count": 1368
} | 955 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mocki... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/PlaneProxyTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/PlaneProxyTest.java",
"repo_id": "packages",
"token_count": 646
} | 956 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.cameraexample;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit... | packages/packages/camera/camera_android_camerax/example/android/app/src/androidTest/java/io/flutter/plugins/cameraxexample/InstanceManagerTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/example/android/app/src/androidTest/java/io/flutter/plugins/cameraxexample/InstanceManagerTest.java",
"repo_id": "packages",
"token_count": 448
} | 957 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/camera/camera_android_camerax/example/android/gradle.properties/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 958 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart' show BinaryMessenger;
import 'package:meta/meta.dart' show immutable;
import 'android_camera_camerax_flutter_api_im... | packages/packages/camera/camera_android_camerax/lib/src/camera.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/camera.dart",
"repo_id": "packages",
"token_count": 1341
} | 959 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart' show BinaryMessenger;
import 'package:meta/meta.dart' show immutable;
import 'camerax_library.g.dart';
import 'inst... | packages/packages/camera/camera_android_camerax/lib/src/image_capture.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/image_capture.dart",
"repo_id": "packages",
"token_count": 2255
} | 960 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:meta/meta.dart' show immutable;
import 'java_object.dart';
/// Handle onto the raw buffer managed by screen compositor.
///
/// See https... | packages/packages/camera/camera_android_camerax/lib/src/surface.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/surface.dart",
"repo_id": "packages",
"token_count": 396
} | 961 |
// Mocks generated by Mockito 5.4.4 from annotations
// in camera_android_camerax/test/camera_control_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'package:camera_android_camerax/src/focus_metering_action.dart' as _i4;... | packages/packages/camera/camera_android_camerax/test/camera_control_test.mocks.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/camera_control_test.mocks.dart",
"repo_id": "packages",
"token_count": 1789
} | 962 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:camera_android_camerax/src/camera_info.dart';
import 'package:camera_android_camerax/src/instance_manager.dart';
import 'package:camera_and... | packages/packages/camera/camera_android_camerax/test/metering_point_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/metering_point_test.dart",
"repo_id": "packages",
"token_count": 1187
} | 963 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:camera_android_camerax/src/camerax_library.g.dart';
import 'package:camera_android_camerax/src/instance_manager.dart';
import 'package:came... | packages/packages/camera/camera_android_camerax/test/recording_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/recording_test.dart",
"repo_id": "packages",
"token_count": 1477
} | 964 |
// Copyright 2013 The Flutter 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 "CameraTestUtils.h"
#import <OCMock/OCMock.h>
@import AVFoundation;
FLTCam *FLTCreateCamWithCaptureSessionQueue(dispatch_queue_t captureSessionQue... | packages/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraTestUtils.m/0 | {
"file_path": "packages/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraTestUtils.m",
"repo_id": "packages",
"token_count": 2254
} | 965 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:camera_platform_interface/camera_platform_interface.dart';
import 'package:flutter/foundation.dart';
import 'package:flu... | packages/packages/camera/camera_web/example/lib/readme_excerpts.dart/0 | {
"file_path": "packages/packages/camera/camera_web/example/lib/readme_excerpts.dart",
"repo_id": "packages",
"token_count": 220
} | 966 |
// Copyright 2013 The Flutter 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';
import 'dart:typed_data';
import './base.dart';
// ignore_for_file: avoid_unused_constructor_parameters
/// A C... | packages/packages/cross_file/lib/src/types/io.dart/0 | {
"file_path": "packages/packages/cross_file/lib/src/types/io.dart",
"repo_id": "packages",
"token_count": 1383
} | 967 |
// Copyright 2013 The Flutter 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/rendering.dart';
/// Describes the placement of a child in a [RenderDynamicSliverGrid].
... | packages/packages/dynamic_layouts/lib/src/base_grid_layout.dart/0 | {
"file_path": "packages/packages/dynamic_layouts/lib/src/base_grid_layout.dart",
"repo_id": "packages",
"token_count": 1381
} | 968 |
# espresso
Provides bindings for Espresso tests of Flutter Android apps.
| | Android |
|-------------|---------|
| **Support** | SDK 16+ |
## Installation
Add the `espresso` package as a `dev_dependency` in your app's pubspec.yaml. If you're testing the example app of a package, add it as a dev_dependen... | packages/packages/espresso/README.md/0 | {
"file_path": "packages/packages/espresso/README.md",
"repo_id": "packages",
"token_count": 1369
} | 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.
package androidx.test.espresso.flutter.action;
import android.view.View;
import androidx.test.espresso.UiController;
import androidx.test.espresso.flutter... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/action/WidgetInfoFetcher.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/action/WidgetInfoFetcher.java",
"repo_id": "packages",
"token_count": 345
} | 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.
package androidx.test.espresso.flutter.internal.idgenerator;
import static com.google.common.base.Preconditions.checkArgument;
import java.util.UUID;
imp... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/idgenerator/IdGenerators.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/idgenerator/IdGenerators.java",
"repo_id": "packages",
"token_count": 743
} | 971 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package androidx.test.espresso.flutter.internal.protocol.impl;
import static com.google.common.base.Preconditions.checkNotNull;
/** The base class that r... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/WaitCondition.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/WaitCondition.java",
"repo_id": "packages",
"token_count": 168
} | 972 |
# espresso_example
Demonstrates how to use the espresso package.
The espresso package only runs tests on Android. The example runs on iOS, but this is only to keep our continuous integration bots green.
## Getting Started
To run the Espresso tests:
```java
flutter build apk --debug
./gradlew app:connectedAndroidTe... | packages/packages/espresso/example/README.md/0 | {
"file_path": "packages/packages/espresso/example/README.md",
"repo_id": "packages",
"token_count": 86
} | 973 |
# extension_google_sign_in_example
Demonstrates how to use the google_sign_in plugin with the `googleapis` package.
| packages/packages/extension_google_sign_in_as_googleapis_auth/example/README.md/0 | {
"file_path": "packages/packages/extension_google_sign_in_as_googleapis_auth/example/README.md",
"repo_id": "packages",
"token_count": 35
} | 974 |
# file_selector_example
Demonstrates how to use the file_selector plugin.
| packages/packages/file_selector/file_selector/example/README.md/0 | {
"file_path": "packages/packages/file_selector/file_selector/example/README.md",
"repo_id": "packages",
"token_count": 23
} | 975 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/file_selector/file_selector/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/file_selector/file_selector/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 976 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
* Updates compileSdk version to 34.
## 0.5.0+7
* Bumps androidx.annotation:annotation from 1.7.0 to 1.7.1.
## 0.5.0+6
* Updates minimum required plugin_platform_interface version to 2.1.7.
## 0.5.0+5
* Updates minimum supported SDK version... | packages/packages/file_selector/file_selector_android/CHANGELOG.md/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/CHANGELOG.md",
"repo_id": "packages",
"token_count": 306
} | 977 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/file_selector/file_selector_android/example/android/gradle.properties/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 978 |
name: file_selector_android
description: Android implementation of the file_selector package.
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0... | packages/packages/file_selector/file_selector_android/pubspec.yaml/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/pubspec.yaml",
"repo_id": "packages",
"token_count": 360
} | 979 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file_selector_linux/file_selector_linux.dart';
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
imp... | packages/packages/file_selector/file_selector_linux/test/file_selector_linux_test.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_linux/test/file_selector_linux_test.dart",
"repo_id": "packages",
"token_count": 6615
} | 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.
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'src/messages.g.dart';
/// An implementation of [FileSele... | packages/packages/file_selector/file_selector_macos/lib/file_selector_macos.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_macos/lib/file_selector_macos.dart",
"repo_id": "packages",
"token_count": 2097
} | 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/foundation.dart' show visibleForTesting;
import 'package:flutter/services.dart';
import '../../file_selector_platform_interface.da... | packages/packages/file_selector/file_selector_platform_interface/lib/src/method_channel/method_channel_file_selector.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_platform_interface/lib/src/method_channel/method_channel_file_selector.dart",
"repo_id": "packages",
"token_count": 1174
} | 982 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:js_interop';
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'package:file_selector_web/src/d... | packages/packages/file_selector/file_selector_web/example/integration_test/dom_helper_test.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_web/example/integration_test/dom_helper_test.dart",
"repo_id": "packages",
"token_count": 1732
} | 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.
#include "string_utils.h"
#include <shobjidl.h>
#include <windows.h>
#include <string>
namespace file_selector_windows {
// Converts the given UTF-16 s... | packages/packages/file_selector/file_selector_windows/windows/string_utils.cpp/0 | {
"file_path": "packages/packages/file_selector/file_selector_windows/windows/string_utils.cpp",
"repo_id": "packages",
"token_count": 788
} | 984 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/flutter_adaptive_scaffold/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 985 |
#include "Generated.xcconfig"
| packages/packages/flutter_adaptive_scaffold/example/ios/Flutter/Release.xcconfig/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/example/ios/Flutter/Release.xcconfig",
"repo_id": "packages",
"token_count": 12
} | 986 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/flutter_adaptive_scaffold/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 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/material.dart';
import 'package:flutter_image/flutter_image.dart';
void main() => runApp(const MyApp());
/// The main app.
class ... | packages/packages/flutter_image/example/lib/main.dart/0 | {
"file_path": "packages/packages/flutter_image/example/lib/main.dart",
"repo_id": "packages",
"token_count": 838
} | 988 |
name: flutter_image
description: >
Image utilities for Flutter: improved network providers, effects, etc.
repository: https://github.com/flutter/packages/tree/main/packages/flutter_image
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_image%22
version: 4.1.11
e... | packages/packages/flutter_image/pubspec.yaml/0 | {
"file_path": "packages/packages/flutter_image/pubspec.yaml",
"repo_id": "packages",
"token_count": 212
} | 989 |
// Copyright 2013 The Flutter 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 '../demos/basic_markdown_demo.dart';
import '../demos/centered_header_demo.dart';
import '../demos/extended_... | packages/packages/flutter_markdown/example/lib/screens/home_screen.dart/0 | {
"file_path": "packages/packages/flutter_markdown/example/lib/screens/home_screen.dart",
"repo_id": "packages",
"token_count": 652
} | 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.
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:markdown/markdown.dart' as md;
import '_functions_io.dart'... | packages/packages/flutter_markdown/lib/src/builder.dart/0 | {
"file_path": "packages/packages/flutter_markdown/lib/src/builder.dart",
"repo_id": "packages",
"token_count": 12632
} | 991 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:mockito/mockito.dart';
class TestHttpOverrides extends HttpOverrides {
@o... | packages/packages/flutter_markdown/test/image_test_mocks.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/image_test_mocks.dart",
"repo_id": "packages",
"token_count": 6533
} | 992 |
name: flutter_migrate
description: A tool to migrate legacy flutter projects to modern versions.
version: 0.0.1+3
repository: https://github.com/flutter/packages/tree/main/packages/flutter_migrate
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3Ap%3A%20flutter_migrate
publish_to: ... | packages/packages/flutter_migrate/pubspec.yaml/0 | {
"file_path": "packages/packages/flutter_migrate/pubspec.yaml",
"repo_id": "packages",
"token_count": 270
} | 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_migrate/src/base/context.dart';
import 'package:flutter_migrate/src/base/file_system.dart';
import 'package:f... | packages/packages/flutter_migrate/test/src/context.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/src/context.dart",
"repo_id": "packages",
"token_count": 1748
} | 994 |
# Flutter Android Lifecycle Plugin
[](https://pub.dev/packages/flutter_plugin_android_lifecycle)
A Flutter plugin for Android to allow other Flutter plugins to access Android `Lifecycle` objects
in the plugin's binding.
The purpose of ... | packages/packages/flutter_plugin_android_lifecycle/README.md/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/README.md",
"repo_id": "packages",
"token_count": 504
} | 995 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
/// MyApp is the Main Application.
class MyApp extends StatelessWidget {
... | packages/packages/flutter_plugin_android_lifecycle/example/lib/main.dart/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/example/lib/main.dart",
"repo_id": "packages",
"token_count": 268
} | 996 |
# This custom rule set only exists to allow very targeted changes
# relative to the default repo settings, for specific use cases.
# Please do NOT add more changes here without consulting with
# #hackers-ecosystem on Discord.
include: ../../analysis_options.yaml
analyzer:
exclude:
# This directory deliberately ... | packages/packages/go_router/analysis_options.yaml/0 | {
"file_path": "packages/packages/go_router/analysis_options.yaml",
"repo_id": "packages",
"token_count": 100
} | 997 |
# Example Catalog
## [Get started](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/main.dart)
`flutter run lib/main.dart`
An example to demonstrate a simple two-page app.
## [Sub-routes](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/sub_routes.dart)
`flutte... | packages/packages/go_router/example/README.md/0 | {
"file_path": "packages/packages/go_router/example/README.md",
"repo_id": "packages",
"token_count": 766
} | 998 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'author.dart';
/// Book data class.
class Book {
/// Creates a book data object.
Book({
required this.id,
required this.title,
requ... | packages/packages/go_router/example/lib/books/src/data/book.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/books/src/data/book.dart",
"repo_id": "packages",
"token_count": 206
} | 999 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:collection/collection.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
final GlobalKey<NavigatorS... | packages/packages/go_router/example/lib/others/custom_stateful_shell_route.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/others/custom_stateful_shell_route.dart",
"repo_id": "packages",
"token_count": 6826
} | 1,000 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
final GlobalKey<NavigatorState> _rootNavigatorKey =
GlobalKey<Navig... | packages/packages/go_router/example/lib/stateful_shell_route.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/stateful_shell_route.dart",
"repo_id": "packages",
"token_count": 4764
} | 1,001 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router_examples/main.dart' as example;
void main() {
testWidgets('example works', (W... | packages/packages/go_router/example/test/main_test.dart/0 | {
"file_path": "packages/packages/go_router/example/test/main_test.dart",
"repo_id": "packages",
"token_count": 261
} | 1,002 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'logging.dart';
impor... | packages/packages/go_router/lib/src/configuration.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/configuration.dart",
"repo_id": "packages",
"token_count": 8105
} | 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 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'configuration.dart';... | packages/packages/go_router/lib/src/router.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/router.dart",
"repo_id": "packages",
"token_count": 6518
} | 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/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router... | packages/packages/go_router/test/helpers/error_screen_helpers.dart/0 | {
"file_path": "packages/packages/go_router/test/helpers/error_screen_helpers.dart",
"repo_id": "packages",
"token_count": 659
} | 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 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
void main() {
test('... | packages/packages/go_router/test/shell_route_observers_test.dart/0 | {
"file_path": "packages/packages/go_router/test/shell_route_observers_test.dart",
"repo_id": "packages",
"token_count": 315
} | 1,006 |
test_on: vm
| packages/packages/go_router_builder/example/dart_test.yaml/0 | {
"file_path": "packages/packages/go_router_builder/example/dart_test.yaml",
"repo_id": "packages",
"token_count": 6
} | 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.
// ignore_for_file: public_member_api_docs, unreachable_from_main
import 'package:collection/collection.dart';
import 'package:flutter/material.dart';
imp... | packages/packages/go_router_builder/example/lib/stateful_shell_route_example.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/stateful_shell_route_example.dart",
"repo_id": "packages",
"token_count": 2842
} | 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 'dart:collection';
import 'package:analyzer/dart/constant/value.dart';
import 'package:analyzer/dart/element/element.dart';
import 'package:analyze... | packages/packages/go_router_builder/lib/src/route_config.dart/0 | {
"file_path": "packages/packages/go_router_builder/lib/src/route_config.dart",
"repo_id": "packages",
"token_count": 8270
} | 1,009 |
# google_identity_services_web
A JS-interop layer for Google Identity's Sign In With Google SDK.
See the original JS SDK reference:
* [Sign In With Google](https://developers.google.com/identity/gsi/web)
## Usage
This package is the Dart JS-interop layer of the new **Sign In With Google**
SDK. Here's the API refer... | packages/packages/google_identity_services_web/README.md/0 | {
"file_path": "packages/packages/google_identity_services_web/README.md",
"repo_id": "packages",
"token_count": 1256
} | 1,010 |
name: google_identity_services_web
description: A Dart JS-interop layer for Google Identity Services. Google's new sign-in SDK for Web that supports multiple types of credentials.
repository: https://github.com/flutter/packages/tree/main/packages/google_identity_services_web
issue_tracker: https://github.com/flutter/fl... | packages/packages/google_identity_services_web/pubspec.yaml/0 | {
"file_path": "packages/packages/google_identity_services_web/pubspec.yaml",
"repo_id": "packages",
"token_count": 222
} | 1,011 |
name: google_maps_flutter_example
description: Demonstrates how to use the google_maps_flutter plugin.
publish_to: none
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
cupertino_icons: ^1.0.5
flutter:
sdk: flutter
flutter_plugin_android_lifecycle: ^2.0.1
google_maps_flutter:
# When depe... | packages/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 353
} | 1,012 |
// Copyright 2013 The Flutter 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/map_creation_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/test/map_creation_test.dart",
"repo_id": "packages",
"token_count": 792
} | 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.
package io.flutter.plugins.googlemaps;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Point;
import androi... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java",
"repo_id": "packages",
"token_count": 9199
} | 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.
package io.flutter.plugins.googlemaps;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.model.Polygon;
import com.google.a... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolygonsController.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolygonsController.java",
"repo_id": "packages",
"token_count": 1328
} | 1,015 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import static junit.framework.TestCase.assertEquals;
import com.google.android.gms.maps.model.PolygonOptions;
impo... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/PolygonBuilderTest.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/PolygonBuilderTest.java",
"repo_id": "packages",
"token_count": 230
} | 1,016 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Flutter/Flutter.h>
#import <GoogleMaps/GoogleMaps.h>
// Defines polyline controllable by Flutter.
@interface FLTGoogleMapPolylineController : NSO... | packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapPolylineController.h/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapPolylineController.h",
"repo_id": "packages",
"token_count": 372
} | 1,017 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../../google_maps_flutter_platform_interface.dart';
/// Generic Event coming from the native side of Maps.
///
/// All MapEvents contain the `mapI... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/events/map_event.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/events/map_event.dart",
"repo_id": "packages",
"token_count": 2191
} | 1,018 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'package:flutter/foundation.dart';
import 'types.dart';
/// A container object for all the types of ma... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/map_objects.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/map_objects.dart",
"repo_id": "packages",
"token_count": 336
} | 1,019 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// All the public types exposed by this package.
export 'bitmap.dart';
export 'callbacks.dart';
export 'camera.dart';
export 'cap.dart';
export 'circle.dar... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/types.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/types.dart",
"repo_id": "packages",
"token_count": 432
} | 1,020 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart';
void... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/camera_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/camera_test.dart",
"repo_id": "packages",
"token_count": 313
} | 1,021 |
name: google_sign_in
description: Flutter plugin for Google Sign-In, a secure authentication system
for signing in with a Google account.
repository: https://github.com/flutter/packages/tree/main/packages/google_sign_in/google_sign_in
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+lab... | packages/packages/google_sign_in/google_sign_in/pubspec.yaml/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/pubspec.yaml",
"repo_id": "packages",
"token_count": 571
} | 1,022 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlesignin;
import android.accounts.Account;
import android.annotation.SuppressLint;
import android.app.Activity;
import andr... | packages/packages/google_sign_in/google_sign_in_android/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java",
"repo_id": "packages",
"token_count": 13645
} | 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.
// Autogenerated from Pigeon (v10.1.0), 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_android/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 4609
} | 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.
// Autogenerated from Pigeon (v11.0.1), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import <Foundation/Foundation.h>
@protocol Flu... | packages/packages/google_sign_in/google_sign_in_ios/darwin/Classes/messages.g.h/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/darwin/Classes/messages.g.h",
"repo_id": "packages",
"token_count": 1600
} | 1,025 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 1,026 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 2.4.5
* Updates minimum required plugin_platform_interface version to 2.1.7.
## 2.4.4
* Updates `clearAuthCache` override to match base class declaration.
## 2.4.3
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
* Drop... | packages/packages/google_sign_in/google_sign_in_platform_interface/CHANGELOG.md/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_platform_interface/CHANGELOG.md",
"repo_id": "packages",
"token_count": 760
} | 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 'dart:async';
import 'dart:ui_web' as ui_web;
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'pack... | packages/packages/google_sign_in/google_sign_in_web/example/integration_test/flexible_size_html_element_view_test.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/example/integration_test/flexible_size_html_element_view_test.dart",
"repo_id": "packages",
"token_count": 2380
} | 1,028 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:js_interop';
import 'dart:ui_web' as ui_web;
import 'package:flutter/foundation.dart' show kDebugMode, visibleForTesting... | packages/packages/google_sign_in/google_sign_in_web/lib/google_sign_in_web.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/lib/google_sign_in_web.dart",
"repo_id": "packages",
"token_count": 3520
} | 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.
package io.flutter.plugins.imagepicker;
import androidx.exifinterface.media.ExifInterface;
import java.io.IOException;
import java.util.Arrays;
import jav... | packages/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ExifDataCopier.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ExifDataCopier.java",
"repo_id": "packages",
"token_count": 3283
} | 1,030 |
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 166 202">
<defs>
<linearGradient id="triangleGradient">
<stop offset="20%" stop-color="#000000" stop-opacity=".55" />
<stop offset="85%" stop-color="#616161" stop-opacity=".01" />
</linearGradient>
<li... | packages/packages/image_picker/image_picker_android/android/src/test/resources/flutter_image.svg/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/src/test/resources/flutter_image.svg",
"repo_id": "packages",
"token_count": 592
} | 1,031 |
name: image_picker_for_web_integration_tests
publish_to: none
environment:
sdk: ^3.3.0
flutter: ">=3.19.0"
dependencies:
flutter:
sdk: flutter
image_picker_for_web:
path: ../
image_picker_platform_interface: ^2.8.0
web: ^0.5.1
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:... | packages/packages/image_picker/image_picker_for_web/example/pubspec.yaml/0 | {
"file_path": "packages/packages/image_picker/image_picker_for_web/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 155
} | 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.
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef enum : NSUInteger {
FLTImagePickerMIMETypePNG,
FLTImagePick... | packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerMetaDataUtil.h/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerMetaDataUtil.h",
"repo_id": "packages",
"token_count": 608
} | 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.
// Autogenerated from Pigeon (v13.0.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_c... | packages/packages/image_picker/image_picker_ios/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 3063
} | 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 'package:flutter/services.dart';
import '../types.dart';
/// The response object of [ImagePicker.retrieveLostData].
///
/// Only applies to Androi... | packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/lost_data.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/lost_data.dart",
"repo_id": "packages",
"token_count": 530
} | 1,035 |
# See https://pub.dev/packages/build_config
targets:
$default:
builders:
json_serializable:
options:
any_map: true
create_to_json: false
| packages/packages/in_app_purchase/in_app_purchase_android/build.yaml/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/build.yaml",
"repo_id": "packages",
"token_count": 83
} | 1,036 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/widgets.dart';
import 'billing_client_wrapper.dart';
import 'purchase_wrapper.dart';
import 'user_choice_det... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_manager.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_manager.dart",
"repo_id": "packages",
"token_count": 2095
} | 1,037 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'subscription_offer_details_wrapper.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
SubscriptionOfferDetailsWrapper _$Subsc... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/subscription_offer_details_wrapper.g.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/subscription_offer_details_wrapper.g.dart",
"repo_id": "packages",
"token_count": 597
} | 1,038 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
impor... | packages/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/billing_client_manager_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/billing_client_manager_test.dart",
"repo_id": "packages",
"token_count": 2325
} | 1,039 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/services.dart';
import '../messages.g.dart';
import 'sk_product_wrapper.dart';
InAppPurchaseAPI _hostApi = ... | packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_request_maker.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_request_maker.dart",
"repo_id": "packages",
"token_count": 938
} | 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 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_storekit/store_kit_wrappers.dart';... | packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/sk_payment_queue_delegate_api_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/sk_payment_queue_delegate_api_test.dart",
"repo_id": "packages",
"token_count": 1456
} | 1,041 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.localauth">
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
</manifest>
| packages/packages/local_auth/local_auth_android/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 71
} | 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.
// Autogenerated from Pigeon (v13.1.2), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import "messages.g.h"
#if TARGET_OS_OSX
#impor... | packages/packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.m/0 | {
"file_path": "packages/packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.m",
"repo_id": "packages",
"token_count": 4807
} | 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.
#include <UserConsentVerifierInterop.h>
#include <flutter/encodable_value.h>
#include <flutter/method_channel.h>
#include <flutter/plugin_registrar_windows... | packages/packages/local_auth/local_auth_windows/windows/local_auth.h/0 | {
"file_path": "packages/packages/local_auth/local_auth_windows/windows/local_auth.h",
"repo_id": "packages",
"token_count": 931
} | 1,044 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'common.dart';
import 'constants.dart';
import 'skiaperf.dart';
/// Convenient class to capture the benchmarks in the Flutter engine repo.
class Fl... | packages/packages/metrics_center/lib/src/flutter.dart/0 | {
"file_path": "packages/packages/metrics_center/lib/src/flutter.dart",
"repo_id": "packages",
"token_count": 753
} | 1,045 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Test that the resource record cache works correctly. In particular, make
// sure that it removes all entries for a name before insertingrecords
// of t... | packages/packages/multicast_dns/test/resource_record_cache_test.dart/0 | {
"file_path": "packages/packages/multicast_dns/test/resource_record_cache_test.dart",
"repo_id": "packages",
"token_count": 941
} | 1,046 |
#include "Generated.xcconfig"
| packages/packages/palette_generator/example/ios/Flutter/Release.xcconfig/0 | {
"file_path": "packages/packages/palette_generator/example/ios/Flutter/Release.xcconfig",
"repo_id": "packages",
"token_count": 12
} | 1,047 |
name: palette_generator
description: Flutter package for generating palette colors from a source image.
repository: https://github.com/flutter/packages/tree/main/packages/palette_generator
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+palette_generator%22
version: 0.3.3... | packages/packages/palette_generator/pubspec.yaml/0 | {
"file_path": "packages/packages/palette_generator/pubspec.yaml",
"repo_id": "packages",
"token_count": 206
} | 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.
package io.flutter.plugins.pathprovider;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.A... | packages/packages/path_provider/path_provider_android/android/src/test/java/io/flutter/plugins/pathprovider/StorageDirectoryMapperTest.java/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/android/src/test/java/io/flutter/plugins/pathprovider/StorageDirectoryMapperTest.java",
"repo_id": "packages",
"token_count": 548
} | 1,049 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.