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.camerax;
import androidx.annotation.NonNull;
import androidx.camera.video.Recorder;
import androidx.camera.video.VideoCapture;
... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/VideoCaptureFlutterApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/VideoCaptureFlutterApiImpl.java",
"repo_id": "packages",
"token_count": 273
} | 925 |
// Copyright 2013 The Flutter 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.any;
import static org.mockito... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/DeviceOrientationManagerWrapperTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/DeviceOrientationManagerWrapperTest.java",
"repo_id": "packages",
"token_count": 1382
} | 926 |
// Copyright 2013 The Flutter 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, PlatformException;
import 'package:meta/meta.dart' show immutable;
import 'android_camera_cam... | packages/packages/camera/camera_android_camerax/lib/src/camera_control.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/camera_control.dart",
"repo_id": "packages",
"token_count": 2834
} | 927 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Maintains instances used to communicate with the native objects they
/// represent.
///
/// Added instances are stored as weak references and their cop... | packages/packages/camera/camera_android_camerax/lib/src/instance_manager.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/instance_manager.dart",
"repo_id": "packages",
"token_count": 2197
} | 928 |
// Mocks generated by Mockito 5.4.4 from annotations
// in camera_android_camerax/test/camera_info_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i5;
import 'package:camera_android_camerax/src/camera_state.dart' as _i4;
import 'pac... | packages/packages/camera/camera_android_camerax/test/camera_info_test.mocks.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/camera_info_test.mocks.dart",
"repo_id": "packages",
"token_count": 1911
} | 929 |
// Mocks generated by Mockito 5.4.4 from annotations
// in camera_android_camerax/test/fallback_strategy_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:camera_android_camerax/src/camerax_library.g.dart' as _i3;
import 'package:mockito/mocki... | packages/packages/camera/camera_android_camerax/test/fallback_strategy_test.mocks.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/fallback_strategy_test.mocks.dart",
"repo_id": "packages",
"token_count": 806
} | 930 |
// Copyright 2013 The Flutter 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_state.dart';
import 'package:camera_android_camerax/src/camerax_library.g.dart';
import 'package:camera_a... | packages/packages/camera/camera_android_camerax/test/observer_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/observer_test.dart",
"repo_id": "packages",
"token_count": 1374
} | 931 |
// Copyright 2013 The Flutter 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:camera_android_camerax/src/aspect_ratio_strategy.dart';
import 'package:camera_android_camerax/src/instance_manager.dart... | packages/packages/camera/camera_android_camerax/test/resolution_selector_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/resolution_selector_test.dart",
"repo_id": "packages",
"token_count": 1600
} | 932 |
name: camera_windows
description: A Flutter plugin for getting information about and controlling the camera on Windows.
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
versi... | packages/packages/camera/camera_windows/pubspec.yaml/0 | {
"file_path": "packages/packages/camera/camera_windows/pubspec.yaml",
"repo_id": "packages",
"token_count": 294
} | 933 |
// Copyright 2013 The Flutter 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:dynamic_layouts/dynamic_layouts.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const StaggeredExample());
}
/// A ... | packages/packages/dynamic_layouts/example/lib/staggered_layout_example.dart/0 | {
"file_path": "packages/packages/dynamic_layouts/example/lib/staggered_layout_example.dart",
"repo_id": "packages",
"token_count": 1038
} | 934 |
// Copyright 2013 The Flutter 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:math' as math;
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'base_grid_layout.dart';
/// A sli... | packages/packages/dynamic_layouts/lib/src/render_dynamic_grid.dart/0 | {
"file_path": "packages/packages/dynamic_layouts/lib/src/render_dynamic_grid.dart",
"repo_id": "packages",
"token_count": 5885
} | 935 |
group 'com.example.espresso'
version '1.0'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.1'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'co... | packages/packages/espresso/android/build.gradle/0 | {
"file_path": "packages/packages/espresso/android/build.gradle",
"repo_id": "packages",
"token_count": 1179
} | 936 |
// Copyright 2013 The Flutter 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.api;
import android.graphics.Rect;
import androidx.test.espresso.flutter.model.WidgetInfo;
import com.google.common... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/api/FlutterTestingProtocol.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/api/FlutterTestingProtocol.java",
"repo_id": "packages",
"token_count": 1010
} | 937 |
// Copyright 2013 The Flutter 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.jsonrpc.message;
import com.google.gson.JsonObject;
import java.util.Objects;
/**
* A class for holding ... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/jsonrpc/message/ErrorObject.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/jsonrpc/message/ErrorObject.java",
"repo_id": "packages",
"token_count": 536
} | 938 |
// Copyright 2013 The Flutter 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;
import android.util.Log;
... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/WidgetInfoFactory.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/WidgetInfoFactory.java",
"repo_id": "packages",
"token_count": 1179
} | 939 |
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == ... | packages/packages/espresso/example/android/app/build.gradle/0 | {
"file_path": "packages/packages/espresso/example/android/app/build.gradle",
"repo_id": "packages",
"token_count": 1109
} | 940 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/espresso/example/android/gradle.properties/0 | {
"file_path": "packages/packages/espresso/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 941 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/extension_google_sign_in_as_googleapis_auth/example/android/gradle.properties/0 | {
"file_path": "packages/packages/extension_google_sign_in_as_googleapis_auth/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 942 |
// Copyright 2013 The Flutter 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 dev.flutter.packages.file_selector_android_example;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.c... | packages/packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/TestContentProvider.java/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/example/android/app/src/main/java/dev/flutter/packages/file_selector_android_example/TestContentProvider.java",
"repo_id": "packages",
"token_count": 651
} | 943 |
// Mocks generated by Mockito 5.4.4 from annotations
// in file_selector_android/test/file_selector_android_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'package:file_selector_android/src/file_selector_api.g.dart' as _... | packages/packages/file_selector/file_selector_android/test/file_selector_android_test.mocks.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/test/file_selector_android_test.mocks.dart",
"repo_id": "packages",
"token_count": 991
} | 944 |
// Copyright 2013 The Flutter 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 immutable;
/// Configuration options for any file selector dialog.
@immutable
class FileDialogOptions {
//... | packages/packages/file_selector/file_selector_platform_interface/lib/src/types/file_dialog_options.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_platform_interface/lib/src/types/file_dialog_options.dart",
"repo_id": "packages",
"token_count": 249
} | 945 |
name: file_selector_windows
description: Windows implementation of the file_selector plugin.
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_windows
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_windows/pubspec.yaml/0 | {
"file_path": "packages/packages/file_selector/file_selector_windows/pubspec.yaml",
"repo_id": "packages",
"token_count": 334
} | 946 |
// Copyright 2013 The Flutter 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 "file_selector_plugin.h"
#include <flutter/method_call.h>
#include <flutter/method_result_functions.h>
#include <flutter/plugin_registrar_windows.... | packages/packages/file_selector/file_selector_windows/windows/test/file_selector_plugin_test.cpp/0 | {
"file_path": "packages/packages/file_selector/file_selector_windows/windows/test/file_selector_plugin_test.cpp",
"repo_id": "packages",
"token_count": 9095
} | 947 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/flutter_adaptive_scaffold/example/android/gradle.properties/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 948 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io' show HttpOverrides;
import 'package:flutter/foundation.dart';
import 'package:flutter/painting.dart';
import 'packag... | packages/packages/flutter_image/test/network_test.dart/0 | {
"file_path": "packages/packages/flutter_image/test/network_test.dart",
"repo_id": "packages",
"token_count": 2245
} | 949 |
#include "Generated.xcconfig"
| packages/packages/flutter_markdown/example/ios/Flutter/Release.xcconfig/0 | {
"file_path": "packages/packages/flutter_markdown/example/ios/Flutter/Release.xcconfig",
"repo_id": "packages",
"token_count": 12
} | 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.
import 'package:flutter/widgets.dart';
// ignore_for_file: public_member_api_docs
abstract class MarkdownDemoWidget extends Widget {
const MarkdownDemo... | packages/packages/flutter_markdown/example/lib/shared/markdown_demo_widget.dart/0 | {
"file_path": "packages/packages/flutter_markdown/example/lib/shared/markdown_demo_widget.dart",
"repo_id": "packages",
"token_count": 399
} | 951 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'pa... | packages/packages/flutter_markdown/lib/src/widget.dart/0 | {
"file_path": "packages/packages/flutter_markdown/lib/src/widget.dart",
"repo_id": "packages",
"token_count": 5825
} | 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.
import 'package:flutter/widgets.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:flutter_test/flutter_test.dart';
import 'u... | packages/packages/flutter_markdown/test/line_break_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/line_break_test.dart",
"repo_id": "packages",
"token_count": 5016
} | 953 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 0.0.1+3
* Removes obsolete null checks on non-nullable values.
## 0.0.1+2
* Removes use of `runtimeType.toString()`.
## 0.0.1+1
* Updates code to fix strict-cast violations.
## 0.0.1
* Initial version.
| packages/packages/flutter_migrate/CHANGELOG.md/0 | {
"file_path": "packages/packages/flutter_migrate/CHANGELOG.md",
"repo_id": "packages",
"token_count": 110
} | 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.
import 'dart:io';
import 'package:process/process.dart';
import 'base/common.dart';
import 'base/file_system.dart';
import 'base/io.dart';
import 'base/l... | packages/packages/flutter_migrate/lib/src/base_dependencies.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/base_dependencies.dart",
"repo_id": "packages",
"token_count": 867
} | 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.
import 'package:flutter_migrate/src/base/context.dart';
import 'package:flutter_migrate/src/base/file_system.dart';
import 'package:flutter_migrate/src/bas... | packages/packages/flutter_migrate/test/apply_test.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/apply_test.dart",
"repo_id": "packages",
"token_count": 2677
} | 956 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io' as io show Directory, File, IOOverrides, Link;
import 'package:flutter_migrate/src/base/file_system.dart';
/// An [IOOverrides] that can... | packages/packages/flutter_migrate/test/src/io.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/src/io.dart",
"repo_id": "packages",
"token_count": 1338
} | 957 |
group 'io.flutter.plugins.flutter_plugin_android_lifecycle'
version '1.0'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentr... | packages/packages/flutter_plugin_android_lifecycle/android/build.gradle/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/android/build.gradle",
"repo_id": "packages",
"token_count": 695
} | 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.
package io.flutter.plugins.flutter_plugin_android_lifecycle_example;
import android.util.Log;
import androidx.lifecycle.Lifecycle;
import dev.flutter.plug... | packages/packages/flutter_plugin_android_lifecycle/example/android/app/src/main/java/io/flutter/plugins/flutter_plugin_android_lifecycle_example/MainActivity.java/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/example/android/app/src/main/java/io/flutter/plugins/flutter_plugin_android_lifecycle_example/MainActivity.java",
"repo_id": "packages",
"token_count": 714
} | 959 |
name: flutter_plugin_android_lifecycle
description: Flutter plugin for accessing an Android Lifecycle within other plugins.
repository: https://github.com/flutter/packages/tree/main/packages/flutter_plugin_android_lifecycle
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+... | packages/packages/flutter_plugin_android_lifecycle/pubspec.yaml/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/pubspec.yaml",
"repo_id": "packages",
"token_count": 276
} | 960 |
Create a GoRouter configuration by calling the [GoRouter][] constructor and
providing list of [GoRoute][] objects:
```dart
GoRouter(
routes: [
GoRoute(
path: '/',
builder: (context, state) => const Page1Screen(),
),
GoRoute(
path: '/page2',
builder: (context, state) => const Page2... | packages/packages/go_router/doc/configuration.md/0 | {
"file_path": "packages/packages/go_router/doc/configuration.md",
"repo_id": "packages",
"token_count": 1739
} | 961 |
// Copyright 2013 The Flutter 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';
import '../data.dart';
import '../widgets/book_list.dart';
/// The aut... | packages/packages/go_router/example/lib/books/src/screens/author_details.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/books/src/screens/author_details.dart",
"repo_id": "packages",
"token_count": 498
} | 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:flutter/material.dart';
import 'package:go_router/go_router.dart';
/// Family data class.
class Family {
/// Create a family.
const Fa... | packages/packages/go_router/example/lib/others/extra_param.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/others/extra_param.dart",
"repo_id": "packages",
"token_count": 1373
} | 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:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router_examples/path_and_query_parameters.dart'... | packages/packages/go_router/example/test/path_and_query_params_test.dart/0 | {
"file_path": "packages/packages/go_router/example/test/path_and_query_params_test.dart",
"repo_id": "packages",
"token_count": 616
} | 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 'dart:async';
import 'package:collection/collection.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import... | packages/packages/go_router/lib/src/information_provider.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/information_provider.dart",
"repo_id": "packages",
"token_count": 2928
} | 965 |
name: go_router
description: A declarative router for Flutter based on Navigation 2 supporting
deep linking, data-driven routes and more
version: 13.2.1
repository: https://github.com/flutter/packages/tree/main/packages/go_router
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A... | packages/packages/go_router/pubspec.yaml/0 | {
"file_path": "packages/packages/go_router/pubspec.yaml",
"repo_id": "packages",
"token_count": 290
} | 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 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
const String initialRou... | packages/packages/go_router/test/information_provider_test.dart/0 | {
"file_path": "packages/packages/go_router/test/information_provider_test.dart",
"repo_id": "packages",
"token_count": 1064
} | 967 |
## Directory contents
The Dart files and golden master `.expect` files in this directory are used to
test the [`dart fix` framework](https://dart.dev/tools/dart-fix) refactorings
used by the go_router package
See the packages/packages/go_router/lib/fix_data.yaml directory for the current
package:go_router data-driven... | packages/packages/go_router/test_fixes/README.md/0 | {
"file_path": "packages/packages/go_router/test_fixes/README.md",
"repo_id": "packages",
"token_count": 177
} | 968 |
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: always_specify_types, public_member_api_docs
part of 'all_types.dart';
// **************************************************************************
// GoRouterGenerator
// **************************************************************************
List<R... | packages/packages/go_router_builder/example/lib/all_types.g.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/all_types.g.dart",
"repo_id": "packages",
"token_count": 11246
} | 969 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs, unreachable_from_main
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
part... | packages/packages/go_router_builder/example/lib/stateful_shell_route_initial_location_example.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/stateful_shell_route_initial_location_example.dart",
"repo_id": "packages",
"token_count": 2620
} | 970 |
name: go_router_builder
description: >-
A builder that supports generated strongly-typed route helpers for
package:go_router
version: 2.4.1
repository: https://github.com/flutter/packages/tree/main/packages/go_router_builder
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22... | packages/packages/go_router_builder/pubspec.yaml/0 | {
"file_path": "packages/packages/go_router_builder/pubspec.yaml",
"repo_id": "packages",
"token_count": 333
} | 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.
import 'package:go_router/go_router.dart';
@TypedShellRoute<ShellRouteNoConstConstructor>(
routes: <TypedRoute<RouteData>>[],
)
class ShellRouteNoConstC... | packages/packages/go_router_builder/test_inputs/shell_route_data.dart/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/shell_route_data.dart",
"repo_id": "packages",
"token_count": 160
} | 972 |
<!DOCTYPE html>
<!-- Copyright 2013 The Flutter Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<html>
<!--#docregion script-tag-->
<head>
<!--#enddocregion script-tag-->
<base href="$FLUTTER_BASE_HREF">
<meta charset="UTF-8">
<met... | packages/packages/google_identity_services_web/example/web/index-with-script-tag.html/0 | {
"file_path": "packages/packages/google_identity_services_web/example/web/index-with-script-tag.html",
"repo_id": "packages",
"token_count": 595
} | 973 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@TestOn('browser') // Uses package:web
library;
import 'dart:async';
import 'dart:js_interop';
import 'package:google_identity_services_web/loader.dart';... | packages/packages/google_identity_services_web/test/js_loader_test.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/test/js_loader_test.dart",
"repo_id": "packages",
"token_count": 753
} | 974 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'pa... | packages/packages/google_maps_flutter/google_maps_flutter/example/lib/map_map_id.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/example/lib/map_map_id.dart",
"repo_id": "packages",
"token_count": 1567
} | 975 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
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/polygon_updates_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/test/polygon_updates_test.dart",
"repo_id": "packages",
"token_count": 6557
} | 976 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.Context;
import android.con... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/GoogleMapController.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/GoogleMapController.java",
"repo_id": "packages",
"token_count": 11863
} | 977 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import com.google.android.gms.maps.model.Cap;
import com.google.android.gms.maps.model.LatLng;
import com.google.an... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolylineController.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolylineController.java",
"repo_id": "packages",
"token_count": 736
} | 978 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import static junit.framework.TestCase.assertEquals;
import com.google.android.gms.maps.model.PolylineOptions;
imp... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/PolylineBuilderTest.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/PolylineBuilderTest.java",
"repo_id": "packages",
"token_count": 224
} | 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:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter_android/google_maps_flutter_an... | packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart",
"repo_id": "packages",
"token_count": 499
} | 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:flutter/foundation.dart' show immutable, objectRuntimeType;
/// Uniquely identifies object an among [GoogleMap] collections of a specific
... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/maps_object.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/maps_object.dart",
"repo_id": "packages",
"token_count": 415
} | 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 '../types.dart';
import 'maps_object.dart';
/// Converts an [Iterable] of Circles in a Map of CircleId -> Circle.
Map<CircleId, Circle> keyByCircle... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/circle.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/circle.dart",
"repo_id": "packages",
"token_count": 182
} | 982 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart';
voi... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/cluster_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/cluster_test.dart",
"repo_id": "packages",
"token_count": 784
} | 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.
part of '../google_maps_flutter_web.dart';
/// This class manages all the [TileOverlayController]s associated to a [GoogleMapController].
class TileOverla... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/overlays.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/overlays.dart",
"repo_id": "packages",
"token_count": 1159
} | 984 |
[](https://pub.dev/packages/google_sign_in)
A Flutter plugin for [Google Sign In](https://developers.google.com/identity/).
| | Android | iOS | macOS | Web |
|-------------|---------|-------|--------|-----|
| **Support** | SDK 16+ | 12.0+ |... | packages/packages/google_sign_in/google_sign_in/README.md/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/README.md",
"repo_id": "packages",
"token_count": 1966
} | 985 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/google_sign_in/google_sign_in/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 986 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v10.1.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
package io.flutter.plugins.googlesignin;
import... | packages/packages/google_sign_in/google_sign_in_android/android/src/main/java/io/flutter/plugins/googlesignin/Messages.java/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/android/src/main/java/io/flutter/plugins/googlesignin/Messages.java",
"repo_id": "packages",
"token_count": 10392
} | 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:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/src/messages.g.dart',
javaOut:
'android/src/main/java/io/flut... | packages/packages/google_sign_in/google_sign_in_android/pigeons/messages.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/pigeons/messages.dart",
"repo_id": "packages",
"token_count": 855
} | 988 |
# google_sign_in_platform_interface
A common platform interface for the [`google_sign_in`][1] plugin.
This interface allows platform-specific implementations of the `google_sign_in`
plugin, as well as the plugin itself, to ensure they are supporting the
same interface.
# Usage
To implement a new platform-specific i... | packages/packages/google_sign_in/google_sign_in_platform_interface/README.md/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_platform_interface/README.md",
"repo_id": "packages",
"token_count": 252
} | 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 'dart:js_interop';
import 'dart:ui_web' as ui_web;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package... | packages/packages/google_sign_in/google_sign_in_web/lib/src/flexible_size_html_element_view.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/lib/src/flexible_size_html_element_view.dart",
"repo_id": "packages",
"token_count": 1676
} | 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.
package io.flutter.plugins.imagepicker;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import androidx.... | packages/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerCache.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerCache.java",
"repo_id": "packages",
"token_count": 2669
} | 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.
// Autogenerated from Pigeon (v9.2.5), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_co... | packages/packages/image_picker/image_picker_android/lib/src/messages.g.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/lib/src/messages.g.dart",
"repo_id": "packages",
"token_count": 4429
} | 992 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "ImagePickerTestImages.h"
@import image_picker_ios;
@import image_picker_ios.Test;
@import UniformTypeIdentifiers;
@import XCTest;
#import <OCMoc... | packages/packages/image_picker/image_picker_ios/example/ios/RunnerTests/ImagePickerPluginTests.m/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/example/ios/RunnerTests/ImagePickerPluginTests.m",
"repo_id": "packages",
"token_count": 10950
} | 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 <Foundation/Foundation.h>
#import <Photos/Photos.h>
#import <PhotosUI/PhotosUI.h>
#import "FLTImagePickerImageUtil.h"
NS_ASSUME_NONNULL_BEGIN
@i... | packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerPhotoAssetUtil.h/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerPhotoAssetUtil.h",
"repo_id": "packages",
"token_count": 575
} | 994 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/image_picker/image_picker_macos/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/image_picker/image_picker_macos/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 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 './base.dart';
/// A PickedFile is a cross-platform, simplified File abstraction.
///
/// It wraps the bytes of a selected file, and its (platform-... | packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/unsupported.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/unsupported.dart",
"repo_id": "packages",
"token_count": 192
} | 996 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'package:file_selector_windows/file_s... | packages/packages/image_picker/image_picker_windows/lib/image_picker_windows.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_windows/lib/image_picker_windows.dart",
"repo_id": "packages",
"token_count": 2351
} | 997 |
{
"products" : [
{
"displayPrice" : "0.99",
"familyShareable" : false,
"internalID" : "AE10D05D",
"localizations" : [
{
"description" : "A consumable product.",
"displayName" : "Consumable",
"locale" : "en_US"
}
],
"productID" : "co... | packages/packages/in_app_purchase/in_app_purchase/example/ios/Runner/Configuration.storekit/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase/example/ios/Runner/Configuration.storekit",
"repo_id": "packages",
"token_count": 1317
} | 998 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/in_app_purchase/in_app_purchase/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 999 |
group 'io.flutter.plugins.inapppurchase'
version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}... | packages/packages/in_app_purchase/in_app_purchase_android/android/build.gradle/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/android/build.gradle",
"repo_id": "packages",
"token_count": 886
} | 1,000 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'user_choice_details_wrapper.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
UserChoiceDetailsWrapper _$UserChoiceDetailsWr... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/user_choice_details_wrapper.g.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/user_choice_details_wrapper.g.dart",
"repo_id": "packages",
"token_count": 612
} | 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:in_app_purchase_android/billing_client_wrappers.dart';
import 'package:in_app_purchase_android/src/types/google_play_product_details.dart';... | packages/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/product_details_wrapper_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/product_details_wrapper_test.dart",
"repo_id": "packages",
"token_count": 4388
} | 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 'package:in_app_purchase_storekit/src/messages.g.dart';
import 'package:in_app_purchase_storekit/store_kit_wrappers.dart';
const SKPaymentWrapper d... | packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/sk_test_stub_objects.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/sk_test_stub_objects.dart",
"repo_id": "packages",
"token_count": 2980
} | 1,003 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/local_auth/local_auth/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/local_auth/local_auth/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,004 |
include ':app'
| packages/packages/local_auth/local_auth/example/android/settings_aar.gradle/0 | {
"file_path": "packages/packages/local_auth/local_auth/example/android/settings_aar.gradle",
"repo_id": "packages",
"token_count": 6
} | 1,005 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.localauth;
import static android.app.Activity.RESULT_OK;
import static android.content.Context.KEYGUARD_SERVICE;
import androi... | packages/packages/local_auth/local_auth_android/android/src/main/java/io/flutter/plugins/localauth/LocalAuthPlugin.java/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/android/src/main/java/io/flutter/plugins/localauth/LocalAuthPlugin.java",
"repo_id": "packages",
"token_count": 3201
} | 1,006 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import LocalAuthentication;
@import XCTest;
@import local_auth_darwin;
#import <OCMock/OCMock.h>
// Set a long timeout to avoid flake due to slow CI.
st... | packages/packages/local_auth/local_auth_darwin/darwin/Tests/FLALocalAuthPluginTests.m/0 | {
"file_path": "packages/packages/local_auth/local_auth_darwin/darwin/Tests/FLALocalAuthPluginTests.m",
"repo_id": "packages",
"token_count": 10634
} | 1,007 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'dart:io';
import 'common.dart';
import 'constants.dart';
const String _kTimeUnitKey = 'time_unit';
const List<String> _kN... | packages/packages/metrics_center/lib/src/google_benchmark.dart/0 | {
"file_path": "packages/packages/metrics_center/lib/src/google_benchmark.dart",
"repo_id": "packages",
"token_count": 1108
} | 1,008 |
test_on: vm
| packages/packages/multicast_dns/dart_test.yaml/0 | {
"file_path": "packages/packages/multicast_dns/dart_test.yaml",
"repo_id": "packages",
"token_count": 6
} | 1,009 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:palette_generator/palette_generator.dart';
void... | packages/packages/palette_generator/example/lib/main.dart/0 | {
"file_path": "packages/packages/palette_generator/example/lib/main.dart",
"repo_id": "packages",
"token_count": 3825
} | 1,010 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v10.1.3), do not edit directly.
// See also: https://pub.dev/packages/pigeon
import Foundation
#if os(iOS)
import Flutter
... | packages/packages/path_provider/path_provider_foundation/darwin/Classes/messages.g.swift/0 | {
"file_path": "packages/packages/path_provider/path_provider_foundation/darwin/Classes/messages.g.swift",
"repo_id": "packages",
"token_count": 1026
} | 1,011 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v10.1.3), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_c... | packages/packages/path_provider/path_provider_foundation/test/messages_test.g.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_foundation/test/messages_test.g.dart",
"repo_id": "packages",
"token_count": 1329
} | 1,012 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 2.1.2
* Updates minimum required plugin_platform_interface version to 2.1.7.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
## 2.1.1
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flut... | packages/packages/path_provider/path_provider_platform_interface/CHANGELOG.md/0 | {
"file_path": "packages/packages/path_provider/path_provider_platform_interface/CHANGELOG.md",
"repo_id": "packages",
"token_count": 475
} | 1,013 |
## 17.2.0
* [dart] Adds implementation for `@ProxyApi`.
## 17.1.3
* [objc] Fixes double prefixes added to enum names.
## 17.1.2
* [swift] Separates message call code generation into separate methods.
## 17.1.1
* Removes heap allocation in generated C++ code.
## 17.1.0
* [kotlin] Adds `includeErrorClass` to `Ko... | packages/packages/pigeon/CHANGELOG.md/0 | {
"file_path": "packages/packages/pigeon/CHANGELOG.md",
"repo_id": "packages",
"token_count": 7735
} | 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.
export 'dart:typed_data' show Float64List, Int32List, Int64List, Uint8List;
export 'cpp_generator.dart' show CppOptions;
export 'dart_generator.dart' show... | packages/packages/pigeon/lib/pigeon.dart/0 | {
"file_path": "packages/packages/pigeon/lib/pigeon.dart",
"repo_id": "packages",
"token_count": 182
} | 1,015 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:pigeon/pigeon.dart';
enum ProxyApiTestEnum {
one,
two,
three,
}
/// The core ProxyApi test class that each supported host language ... | packages/packages/pigeon/pigeons/proxy_api_tests.dart/0 | {
"file_path": "packages/packages/pigeon/pigeons/proxy_api_tests.dart",
"repo_id": "packages",
"token_count": 4622
} | 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.
package com.example.alternate_language_test_plugin;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import com.example.alternate_l... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/MultipleArityTest.java/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/MultipleArityTest.java",
"repo_id": "packages",
"token_count": 846
} | 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 XCTest;
@import alternate_language_test_plugin;
#import "EchoMessenger.h"
#import "MockBinaryMessenger.h"
//////////////////////////////////////... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/NullableReturnsTest.m/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/NullableReturnsTest.m",
"repo_id": "packages",
"token_count": 808
} | 1,018 |
name: alternate_language_test_plugin_example
description: Pigeon test harness for alternate plugin languages.
publish_to: 'none'
environment:
sdk: ^3.1.0
dependencies:
alternate_language_test_plugin:
path: ../
flutter:
sdk: flutter
shared_test_plugin_code:
path: ../../shared_test_plugin_code
dev_... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/pubspec.yaml/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 164
} | 1,019 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint alternate_language_test_plugin.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'alternate_language_test_plugin'
s.version = '0.0.1'
s.summary = 'Alternat... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/macos/alternate_language_test_plugin.podspec/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/macos/alternate_language_test_plugin.podspec",
"repo_id": "packages",
"token_count": 424
} | 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.
//
// Autogenerated from Pigeon, do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_constant... | packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/nullable_returns.gen.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/nullable_returns.gen.dart",
"repo_id": "packages",
"token_count": 4845
} | 1,021 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:mockito/mockito.dart';
void echoOneArgument(
BinaryMessenger mockMessenger,
String channel,
... | packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/test_util.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/test_util.dart",
"repo_id": "packages",
"token_count": 224
} | 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 com.example.test_plugin
import io.flutter.plugin.common.BinaryMessenger
import io.mockk.every
import io.mockk.mockk
import io.mockk.slot
import ja... | packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/MultipleArityTests.kt/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/MultipleArityTests.kt",
"repo_id": "packages",
"token_count": 906
} | 1,023 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Flutter
import XCTest
@testable import test_plugin
class AllDatatypesTests: XCTestCase {
func testAllNull() throws {
let everything = AllNu... | packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/AllDatatypesTests.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/AllDatatypesTests.swift",
"repo_id": "packages",
"token_count": 1525
} | 1,024 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.