text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
... | packages/packages/file_selector/file_selector_platform_interface/test/x_type_group_test.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_platform_interface/test/x_type_group_test.dart",
"repo_id": "packages",
"token_count": 2132
} | 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.
#include "file_selector_plugin.h"
#include <comdef.h>
#include <comip.h>
#include <flutter/flutter_view.h>
#include <flutter/method_channel.h>
#include <fl... | packages/packages/file_selector/file_selector_windows/windows/file_selector_plugin.cpp/0 | {
"file_path": "packages/packages/file_selector/file_selector_windows/windows/file_selector_plugin.cpp",
"repo_id": "packages",
"token_count": 4004
} | 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/material.dart';
import 'package:flutter_adaptive_scaffold_example/adaptive_scaffold_demo.dart'
as example;
import 'package:flut... | packages/packages/flutter_adaptive_scaffold/example/test/main_test.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/example/test/main_test.dart",
"repo_id": "packages",
"token_count": 619
} | 1,041 |
// Copyright 2013 The Flutter 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'simulated_layout.... | packages/packages/flutter_adaptive_scaffold/test/breakpoint_test.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/test/breakpoint_test.dart",
"repo_id": "packages",
"token_count": 826
} | 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.
// The code in this file (and all other dart files in the package) is
// analyzed using the rules activated in `analysis_options.yaml`.
// The following s... | packages/packages/flutter_lints/example/lib/main.dart/0 | {
"file_path": "packages/packages/flutter_lints/example/lib/main.dart",
"repo_id": "packages",
"token_count": 305
} | 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.
// TODO(goderbauer): Restructure the examples to avoid this ignore, https://github.com/flutter/flutter/issues/110208.
// ignore_for_file: avoid_implementin... | packages/packages/flutter_markdown/example/lib/demos/subscript_syntax_demo.dart/0 | {
"file_path": "packages/packages/flutter_markdown/example/lib/demos/subscript_syntax_demo.dart",
"repo_id": "packages",
"token_count": 1745
} | 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 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:flu... | packages/packages/flutter_markdown/test/emphasis_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/emphasis_test.dart",
"repo_id": "packages",
"token_count": 73591
} | 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.
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:flutter_test/flutter_test.dart';
import '... | packages/packages/flutter_markdown/test/table_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/table_test.dart",
"repo_id": "packages",
"token_count": 9157
} | 1,046 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'file_system.dart';
/// Throw a specialized exception for expected situations
/// where the tool should exi... | packages/packages/flutter_migrate/lib/src/base/common.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/base/common.dart",
"repo_id": "packages",
"token_count": 3088
} | 1,047 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:yaml/yaml.dart';
import 'base/common.dart';
import 'base/file_system.dart';
import 'base/logger.dart';
import 'base/project.dart';
/// Re... | packages/packages/flutter_migrate/lib/src/flutter_project_metadata.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/flutter_project_metadata.dart",
"repo_id": "packages",
"token_count": 4722
} | 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.
import 'package:file/memory.dart';
import 'package:flutter_migrate/src/base/file_system.dart';
import 'package:flutter_migrate/src/base/logger.dart';
impo... | packages/packages/flutter_migrate/test/custom_merge_test.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/custom_merge_test.dart",
"repo_id": "packages",
"token_count": 2775
} | 1,049 |
// Copyright 2013 The Flutter 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/common.dart';
import 'package:flutter_migrate/src/base/file_system.dart';
import 'package:flutter_migrate/src/base... | packages/packages/flutter_migrate/test/utils_test.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/utils_test.dart",
"repo_id": "packages",
"token_count": 4494
} | 1,050 |
Instead of using URL strings to navigate, go_router supports
type-safe routes using the go_router_builder package.
To get started, add [go_router_builder][], [build_runner][], and
[build_verify][] to the dev_dependencies section of your pubspec.yaml:
```yaml
dev_dependencies:
go_router_builder: any
build_runner:... | packages/packages/go_router/doc/type-safe-routes.md/0 | {
"file_path": "packages/packages/go_router/doc/type-safe-routes.md",
"repo_id": "packages",
"token_count": 634
} | 1,051 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../data.dart';
/// The book list view.
class BookList extends StatelessWidget {
/// Creates an [BookLis... | packages/packages/go_router/example/lib/books/src/widgets/book_list.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/books/src/widgets/book_list.dart",
"repo_id": "packages",
"token_count": 366
} | 1,052 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
// This scenario demonstrates how to use path parameters and query para... | packages/packages/go_router/example/lib/path_and_query_parameters.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/path_and_query_parameters.dart",
"repo_id": "packages",
"token_count": 1791
} | 1,053 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
/// Page with custom transition functionality.
///
/// To be used instead of MaterialPage or CupertinoPage, which p... | packages/packages/go_router/lib/src/pages/custom_transition_page.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/pages/custom_transition_page.dart",
"repo_id": "packages",
"token_count": 1787
} | 1,054 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
import 'test_helpers.d... | packages/packages/go_router/test/exception_handling_test.dart/0 | {
"file_path": "packages/packages/go_router/test/exception_handling_test.dart",
"repo_id": "packages",
"token_count": 1517
} | 1,055 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
import 'test_helpers.d... | packages/packages/go_router/test/parser_test.dart/0 | {
"file_path": "packages/packages/go_router/test/parser_test.dart",
"repo_id": "packages",
"token_count": 6868
} | 1,056 |
## Usage
### Dependencies
To use `go_router_builder`, you need to have the following dependencies in
`pubspec.yaml`.
```yaml
dependencies:
# ...along with your other dependencies
go_router: ^9.0.3
dev_dependencies:
# ...along with your other dev-dependencies
build_runner: ^2.0.0
go_router_builder: ^2.3.0
... | packages/packages/go_router_builder/README.md/0 | {
"file_path": "packages/packages/go_router_builder/README.md",
"repo_id": "packages",
"token_count": 3206
} | 1,057 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// 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/shell_route_with_keys_example.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/shell_route_with_keys_example.dart",
"repo_id": "packages",
"token_count": 1739
} | 1,058 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router_builder_example/stateful_shell_route_initial_location_example.dart';
void main(... | packages/packages/go_router_builder/example/test/stateful_shell_route_initial_location_test.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/test/stateful_shell_route_initial_location_test.dart",
"repo_id": "packages",
"token_count": 233
} | 1,059 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
/// A codec that can encode/decode JWT payloads.
///
/// See https://www.rfc-editor.org/rfc/rfc7519#section-3
final Codec<Object?, ... | packages/packages/google_identity_services_web/example/lib/src/jwt.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/example/lib/src/jwt.dart",
"repo_id": "packages",
"token_count": 581
} | 1,060 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Authentication. API reference:
// https://developers.google.com/identity/gsi/web/reference/js-reference
// ignore_for_file: non_constant_identifier_nam... | packages/packages/google_identity_services_web/lib/src/js_interop/google_accounts_id.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/lib/src/js_interop/google_accounts_id.dart",
"repo_id": "packages",
"token_count": 7326
} | 1,061 |
# Google Maps for Flutter
<?code-excerpt path-base="example/lib"?>
[](https://pub.dev/packages/google_maps_flutter)
A Flutter plugin that provides a [Google Maps](https://developers.google.com/maps/) widget.
| | Android | iOS | Web ... | packages/packages/google_maps_flutter/google_maps_flutter/README.md/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/README.md",
"repo_id": "packages",
"token_count": 1914
} | 1,062 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import ... | packages/packages/google_maps_flutter/google_maps_flutter/example/lib/place_polygon.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/example/lib/place_polygon.dart",
"repo_id": "packages",
"token_count": 4855
} | 1,063 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: library_private_types_in_public_api
part of '../google_maps_flutter.dart';
/// Controller for a single GoogleMap instance running on ... | packages/packages/google_maps_flutter/google_maps_flutter/lib/src/controller.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/lib/src/controller.dart",
"repo_id": "packages",
"token_count": 3553
} | 1,064 |
rootProject.name = 'google_maps_flutter_android'
| packages/packages/google_maps_flutter/google_maps_flutter_android/android/settings.gradle/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/settings.gradle",
"repo_id": "packages",
"token_count": 16
} | 1,065 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import com.google.android.gms.maps.model.BitmapDescriptor;
import com.google.android.gms.maps.model.LatLng;
import ... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/MarkerController.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/MarkerController.java",
"repo_id": "packages",
"token_count": 799
} | 1,066 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import static junit.framework.TestCase.assertEquals;
import com.google.android.gms.maps.model.CircleOptions;
impor... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/CircleBuilderTest.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/CircleBuilderTest.java",
"repo_id": "packages",
"token_count": 226
} | 1,067 |
maps.key=SomeKeyHere
| packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/secrets.properties/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/secrets.properties",
"repo_id": "packages",
"token_count": 8
} | 1,068 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'package:flutter/material.dart';
import 'package:flutter/services.dart' show rootBundle;
import 'package... | packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/map_ui.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/map_ui.dart",
"repo_id": "packages",
"token_count": 4192
} | 1,069 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'package:flutter/material.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flut... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/animate_camera.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/animate_camera.dart",
"repo_id": "packages",
"token_count": 3309
} | 1,070 |
// Copyright 2013 The Flutter 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 'package:flutter/gestures.dart';
import 'package:flutter/mater... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/scrolling_map.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/scrolling_map.dart",
"repo_id": "packages",
"token_count": 2220
} | 1,071 |
// Copyright 2013 The Flutter 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 "GoogleMapController.h"
#import "FLTGoogleMapJSONConversions.h"
#import "FLTGoogleMapTileOverlayController.h"
#pragma mark - Conversion of JSON-li... | packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapController.m/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapController.m",
"repo_id": "packages",
"token_count": 11472
} | 1,072 |
// Copyright 2013 The Flutter 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, listEquals, objectRuntimeType;
import 'types.dart';
/// A cluster containing multiple markers... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/cluster.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/cluster.dart",
"repo_id": "packages",
"token_count": 494
} | 1,073 |
// Copyright 2013 The Flutter 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';
/// [Polyline] update events to be applied to the [GoogleMap].
///
/// Used in [GoogleMapController] when the map is updated.
// (Do ... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/polyline_updates.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/polyline_updates.dart",
"repo_id": "packages",
"token_count": 282
} | 1,074 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// This setting controls how the API handles gestures on the map
enum WebGestureHandling {
/// Scroll events and one-finger touch gestures scroll the pa... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/web_gesture_handling.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/web_gesture_handling.dart",
"repo_id": "packages",
"token_count": 217
} | 1,075 |
// Copyright 2013 The Flutter 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/src/types/tile_overlay.dart';
import 'package:googl... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/tile_overlay_updates_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/tile_overlay_updates_test.dart",
"repo_id": "packages",
"token_count": 2382
} | 1,076 |
// Copyright 2013 The Flutter 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:js_interop';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps/google_maps.dart' as gmaps;
... | packages/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/overlay_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/overlay_test.dart",
"repo_id": "packages",
"token_count": 1512
} | 1,077 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(srujzs): Needed for https://github.com/dart-lang/sdk/issues/54801. Once
// we publish a version with a min SDK constraint that contains this fix,
/... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/dom_window_extension.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/dom_window_extension.dart",
"repo_id": "packages",
"token_count": 459
} | 1,078 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:google_maps/google_maps.dart' as gmaps;
import '../../google_maps_flutter_web.dart';
/// A void function that handles a [gmaps.LatLng] as... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/types.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/types.dart",
"repo_id": "packages",
"token_count": 338
} | 1,079 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.googlesigninexample">
<!-- Flutter needs internet permission to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="... | packages/packages/google_sign_in/google_sign_in/example/android/app/src/debug/AndroidManifest.xml/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/android/app/src/debug/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 331
} | 1,080 |
// Copyright 2013 The Flutter 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 'stub.dart';
/// Renders a SIGN IN button that calls `handleSignIn` onclick.
Widget buildSignInButton({Han... | packages/packages/google_sign_in/google_sign_in/example/lib/src/sign_in_button/mobile.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/lib/src/sign_in_button/mobile.dart",
"repo_id": "packages",
"token_count": 138
} | 1,081 |
<!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>
<head>
<meta charset="UTF-8">
<meta name="google-signin-client_id" content="your-client_id.apps.googleusercontent.com">
<title>... | packages/packages/google_sign_in/google_sign_in/example/web/index.html/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/web/index.html",
"repo_id": "packages",
"token_count": 245
} | 1,082 |
// Copyright 2013 The Flutter 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, avoid_print
import 'dart:async';
import 'dart:convert' show json;
import 'package:flutter/material.dart';
imp... | packages/packages/google_sign_in/google_sign_in_ios/example/lib/main.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/example/lib/main.dart",
"repo_id": "packages",
"token_count": 2073
} | 1,083 |
// Copyright 2013 The Flutter 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:google_sign_in_platform_interface/google_sign_in_platform_interface.dart';
import 'package:google_s... | packages/packages/google_sign_in/google_sign_in_web/example/lib/button_tester.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/example/lib/button_tester.dart",
"repo_id": "packages",
"token_count": 1170
} | 1,084 |
<?code-excerpt path-base="example/lib"?>
# image\_picker\_android
The Android implementation of [`image_picker`][1].
## Usage
This package is [endorsed][2], which means you can simply use `image_picker`
normally. This package will be automatically included in your app when you do,
so you do not need to add it to yo... | packages/packages/image_picker/image_picker_android/README.md/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/README.md",
"repo_id": "packages",
"token_count": 381
} | 1,085 |
// Copyright 2013 The Flutter 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 static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.m... | packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/ExifDataCopierTest.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/ExifDataCopierTest.java",
"repo_id": "packages",
"token_count": 1523
} | 1,086 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/image_picker/image_picker_android/example/android/gradle.properties/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 1,087 |
// Copyright 2013 The Flutter 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/XCTest.h>
#import <os/log.h>
const int kElementWaitingTime = 30;
@interface ImagePickerFromGalleryUITests : XCTestCase
@property(nonatom... | packages/packages/image_picker/image_picker_ios/example/ios/RunnerUITests/ImagePickerFromGalleryUITests.m/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/example/ios/RunnerUITests/ImagePickerFromGalleryUITests.m",
"repo_id": "packages",
"token_count": 4369
} | 1,088 |
// Copyright 2013 The Flutter 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_macos/file_selector_macos.dart';
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
imp... | packages/packages/image_picker/image_picker_macos/lib/image_picker_macos.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_macos/lib/image_picker_macos.dart",
"repo_id": "packages",
"token_count": 2262
} | 1,089 |
// Copyright 2013 The Flutter 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 '../../image_picker_platform_interface.dart';
/// Specifies options for selecting items when using [Imag... | packages/packages/image_picker/image_picker_platform_interface/lib/src/types/media_options.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/media_options.dart",
"repo_id": "packages",
"token_count": 184
} | 1,090 |
// Copyright 2013 The Flutter 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('vm') // Uses dart:io
library;
import 'dart:convert';
import 'dart:io';
import 'dart:typed_data';
import 'package:flutter_test/flutter_test.dart'... | packages/packages/image_picker/image_picker_platform_interface/test/picked_file_io_test.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/test/picked_file_io_test.dart",
"repo_id": "packages",
"token_count": 476
} | 1,091 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.inapppurchase;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.android.billingclient.api.Ac... | packages/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/Translator.java/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/Translator.java",
"repo_id": "packages",
"token_count": 3839
} | 1,092 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'product_details_wrapper.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ProductDetailsWrapper _$ProductDetailsWrapperFromJ... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/product_details_wrapper.g.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/product_details_wrapper.g.dart",
"repo_id": "packages",
"token_count": 751
} | 1,093 |
// Copyright 2013 The Flutter 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';
/// Data structure representing a UserChoiceDetails.
///
/// This wraps [`com.android.billingclient.api.UserChoi... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/types/google_play_user_choice_details.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/types/google_play_user_choice_details.dart",
"repo_id": "packages",
"token_count": 989
} | 1,094 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 1.3.7
* Updates minimum required plugin_platform_interface version to 2.1.7.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
## 1.3.6
* Updates documentation reference of `finishPurchase` to `completePurchase`.
## 1.3.5... | packages/packages/in_app_purchase/in_app_purchase_platform_interface/CHANGELOG.md/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_platform_interface/CHANGELOG.md",
"repo_id": "packages",
"token_count": 409
} | 1,095 |
// Copyright 2013 The Flutter 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 'product_details.dart';
export 'product_details_response.dart';
export 'purchase_details.dart';
export 'purchase_param.dart';
export 'purchase_statu... | packages/packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/types/types.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/types/types.dart",
"repo_id": "packages",
"token_count": 111
} | 1,096 |
// Copyright 2013 The Flutter 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 "FIAPReceiptManager.h"
#if TARGET_OS_OSX
#import <FlutterMacOS/FlutterMacOS.h>
#else
#import <Flutter/Flutter.h>
#endif
#import "FIAObjectTranslato... | packages/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPReceiptManager.m/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPReceiptManager.m",
"repo_id": "packages",
"token_count": 590
} | 1,097 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:in_app_purchase_platform_interface/in_app_purchase_platform_interface.dart';
... | packages/packages/in_app_purchase/in_app_purchase_storekit/example/lib/main.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/example/lib/main.dart",
"repo_id": "packages",
"token_count": 5552
} | 1,098 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#import "Stubs.h"
@import in_app_purchase_storekit;
@interface PaymentQueueTest : XCTestCase
@proper... | packages/packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/PaymentQueueTests.m/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/PaymentQueueTests.m",
"repo_id": "packages",
"token_count": 6996
} | 1,099 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'sk_payment_queue_wrapper.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
SKError _$SKErrorFromJson(Map json) => SKError(
... | packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_payment_queue_wrapper.g.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_payment_queue_wrapper.g.dart",
"repo_id": "packages",
"token_count": 734
} | 1,100 |
name: in_app_purchase_storekit
description: An implementation for the iOS and macOS platforms of the Flutter `in_app_purchase` plugin. This uses the StoreKit Framework.
repository: https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase_storekit
issue_tracker: https://github.com/flutter/f... | packages/packages/in_app_purchase/in_app_purchase_storekit/pubspec.yaml/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/pubspec.yaml",
"repo_id": "packages",
"token_count": 424
} | 1,101 |
hello
| packages/packages/ios_platform_images/example/ios/Runner/textfile/0 | {
"file_path": "packages/packages/ios_platform_images/example/ios/Runner/textfile",
"repo_id": "packages",
"token_count": 2
} | 1,102 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/local_auth/local_auth_android/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,103 |
include ':app'
| packages/packages/local_auth/local_auth_android/example/android/settings_aar.gradle/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/example/android/settings_aar.gradle",
"repo_id": "packages",
"token_count": 6
} | 1,104 |
// Copyright 2013 The Flutter 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:intl/intl.dart';
import 'package:local_auth_platform_interface/types/auth_messages.dart';
/// Cl... | packages/packages/local_auth/local_auth_darwin/lib/types/auth_messages_ios.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_darwin/lib/types/auth_messages_ios.dart",
"repo_id": "packages",
"token_count": 1193
} | 1,105 |
name: local_auth_platform_interface
description: A common platform interface for the local_auth plugin.
repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%2... | packages/packages/local_auth/local_auth_platform_interface/pubspec.yaml/0 | {
"file_path": "packages/packages/local_auth/local_auth_platform_interface/pubspec.yaml",
"repo_id": "packages",
"token_count": 273
} | 1,106 |
// Copyright 2013 The Flutter 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:metrics_center/src/common.dart';
import 'package:metrics_center/src/constants.dart';
import 'package:metrics_center/src/google_benchmark.da... | packages/packages/metrics_center/test/google_benchmark_test.dart/0 | {
"file_path": "packages/packages/metrics_center/test/google_benchmark_test.dart",
"repo_id": "packages",
"token_count": 643
} | 1,107 |
// Copyright 2013 The Flutter 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 'constants.dart';
import 'resource_record.dart';
// Offsets into the header. Se... | packages/packages/multicast_dns/lib/src/packet.dart/0 | {
"file_path": "packages/packages/multicast_dns/lib/src/packet.dart",
"repo_id": "packages",
"token_count": 4890
} | 1,108 |
#Tue Jan 07 08:46:39 PST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
| packages/packages/palette_generator/example/android/gradle/wrapper/gradle-wrapper.properties/0 | {
"file_path": "packages/packages/palette_generator/example/android/gradle/wrapper/gradle-wrapper.properties",
"repo_id": "packages",
"token_count": 85
} | 1,109 |
# path_provider
<?code-excerpt path-base="example/lib"?>
[](https://pub.dev/packages/path_provider)
A Flutter plugin for finding commonly used locations on the filesystem.
Supports Android, iOS, Linux, macOS and Windows.
Not all methods are supported on al... | packages/packages/path_provider/path_provider/README.md/0 | {
"file_path": "packages/packages/path_provider/path_provider/README.md",
"repo_id": "packages",
"token_count": 663
} | 1,110 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.network.server</key... | packages/packages/path_provider/path_provider/example/macos/Runner/DebugProfile.entitlements/0 | {
"file_path": "packages/packages/path_provider/path_provider/example/macos/Runner/DebugProfile.entitlements",
"repo_id": "packages",
"token_count": 184
} | 1,111 |
group 'io.flutter.plugins.pathprovider'
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/path_provider/path_provider_android/android/build.gradle/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/android/build.gradle",
"repo_id": "packages",
"token_count": 629
} | 1,112 |
// Copyright 2013 The Flutter 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/path_provider/path_provider_android/test/messages_test.g.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/test/messages_test.g.dart",
"repo_id": "packages",
"token_count": 2716
} | 1,113 |
// Copyright 2013 The Flutter 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:path_provider_platform_interface/path_provider_platform_interface.dart';
import 'package:p... | packages/packages/path_provider/path_provider_platform_interface/test/path_provider_platform_interface_test.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_platform_interface/test/path_provider_platform_interface_test.dart",
"repo_id": "packages",
"token_count": 314
} | 1,114 |
// Copyright 2013 The Flutter 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:win32/win32.dart';
// ignore_for_file: non_constant_identifier_names
// ignore: avoid_classes_with_only_static_members
/// A class contai... | packages/packages/path_provider/path_provider_windows/lib/src/folders.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_windows/lib/src/folders.dart",
"repo_id": "packages",
"token_count": 2895
} | 1,115 |
#!/bin/bash
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
###############################################################################
# A tool that helps you check the Pigeon output for a given file a... | packages/packages/pigeon/diff_tool.sh/0 | {
"file_path": "packages/packages/pigeon/diff_tool.sh",
"repo_id": "packages",
"token_count": 438
} | 1,116 |
// Copyright 2013 The Flutter 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 '../generator_tools.dart';
/// Creates the `InstanceManager` with the passed string values.
String instanceManagerTemplate({
required Iterable<St... | packages/packages/pigeon/lib/dart/templates.dart/0 | {
"file_path": "packages/packages/pigeon/lib/dart/templates.dart",
"repo_id": "packages",
"token_count": 4491
} | 1,117 |
// Copyright 2013 The Flutter 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(
objcOptions: ObjcOptions(prefix: 'PGN'),
))
/// This comment is to test enum docum... | packages/packages/pigeon/pigeons/enum.dart/0 | {
"file_path": "packages/packages/pigeon/pigeons/enum.dart",
"repo_id": "packages",
"token_count": 353
} | 1,118 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import Flutter;
@import Foundation;
NS_ASSUME_NONNULL_BEGIN
typedef id _Nullable (^HandlerBinaryMessengerHandler)(NSArray *_Nonnull args);
/// A Flutte... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/HandlerBinaryMessenger.h/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/HandlerBinaryMessenger.h",
"repo_id": "packages",
"token_count": 224
} | 1,119 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 1,120 |
#
# 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/ios/alternate_language_test_plugin.podspec/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/ios/alternate_language_test_plugin.podspec",
"repo_id": "packages",
"token_count": 552
} | 1,121 |
// Copyright 2013 The Flutter 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/background_platform_channels.gen.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/background_platform_channels.gen.dart",
"repo_id": "packages",
"token_count": 890
} | 1,122 |
// Mocks generated by Mockito 5.4.1 from annotations
// in shared_test_plugin_code/test/multiple_arity_test.dart.
// Do not manually edit this file.
// @dart=2.19
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'dart:typed_data' as _i4;
import 'dart:ui' as _i5;
impo... | packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/multiple_arity_test.mocks.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/multiple_arity_test.mocks.dart",
"repo_id": "packages",
"token_count": 942
} | 1,123 |
// Copyright 2013 The Flutter 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' show Platform;
import 'package:shared_test_plugin_code/integration_tests.dart';
void main() => runPigeonIntegrationTests(_getTarget());
... | packages/packages/pigeon/platform_tests/test_plugin/example/integration_test/test.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/integration_test/test.dart",
"repo_id": "packages",
"token_count": 201
} | 1,124 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import XCTest
@testable import test_plugin
/// Tests NSNull is correctly handled by `nilOrValue` helper, by manually setting nullable fields to NSNull.
f... | packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/NSNullFieldTests.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/NSNullFieldTests.swift",
"repo_id": "packages",
"token_count": 642
} | 1,125 |
name: test_plugin
description: Pigeon test harness for primary plugin languages.
version: 0.0.1
publish_to: none
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
flutter:
plugin:
platforms:
android:
package: com.example.test_plugin
pluginClass: TestPlugin
ios:
pluginClass: Te... | packages/packages/pigeon/platform_tests/test_plugin/pubspec.yaml/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/pubspec.yaml",
"repo_id": "packages",
"token_count": 225
} | 1,126 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PLATFORM_TESTS_TEST_PLUGIN_WINDOWS_TEST_UTILS_FAKE_HOST_MESSENGER_H_
#define PLATFORM_TESTS_TEST_PLUGIN_WINDOWS_TEST_UTILS_FAKE_HOST_MESSENGER_H_
... | packages/packages/pigeon/platform_tests/test_plugin/windows/test/utils/fake_host_messenger.h/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/test/utils/fake_host_messenger.h",
"repo_id": "packages",
"token_count": 670
} | 1,127 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:pigeon/ast.dart';
import 'package:pigeon/swift_generator.dart';
import 'package:test/test.dart';
import 'dart_generator_test.dart';
final... | packages/packages/pigeon/test/swift_generator_test.dart/0 | {
"file_path": "packages/packages/pigeon/test/swift_generator_test.dart",
"repo_id": "packages",
"token_count": 22759
} | 1,128 |
test_on: vm
| packages/packages/platform/dart_test.yaml/0 | {
"file_path": "packages/packages/platform/dart_test.yaml",
"repo_id": "packages",
"token_count": 6
} | 1,129 |
// Copyright 2013 The Flutter 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 UIKit
/// A simple factory that creates a dummy platform view for testing.
public class DummyPlatformViewFactory: NSObject, Flutter... | packages/packages/pointer_interceptor/pointer_interceptor/example/ios/Runner/DummyPlatformViewFactory.swift/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor/example/ios/Runner/DummyPlatformViewFactory.swift",
"repo_id": "packages",
"token_count": 797
} | 1,130 |
name: pointer_interceptor
description: A widget to prevent clicks from being swallowed by underlying HtmlElementViews on the web.
repository: https://github.com/flutter/packages/tree/main/packages/pointer_interceptor/pointer_interceptor
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+lab... | packages/packages/pointer_interceptor/pointer_interceptor/pubspec.yaml/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor/pubspec.yaml",
"repo_id": "packages",
"token_count": 366
} | 1,131 |
name: pointer_interceptor_ios
description: iOS implementation of the pointer_interceptor plugin.
repository: https://github.com/flutter/packages/tree/main/packages/pointer_interceptor/pointer_interceptor_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3Apointer_interceptor
vers... | packages/packages/pointer_interceptor/pointer_interceptor_ios/pubspec.yaml/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/pubspec.yaml",
"repo_id": "packages",
"token_count": 296
} | 1,132 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 5.0.2
* Removes mention of the removed record/replay feature from README.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
* Fixes new lint warnings.
## 5.0.1
* Transfers the package source from https://github.com/google/... | packages/packages/process/CHANGELOG.md/0 | {
"file_path": "packages/packages/process/CHANGELOG.md",
"repo_id": "packages",
"token_count": 1388
} | 1,133 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
* Updates compileSdk version to 34.
## 1.0.10
* Updates minimum required plugin_platform_interface version to 2.1.7.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
## 1.0.9
* Changes method channels to pigeon.
## 1.0.8
*... | packages/packages/quick_actions/quick_actions_android/CHANGELOG.md/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/CHANGELOG.md",
"repo_id": "packages",
"token_count": 545
} | 1,134 |
// Copyright 2013 The Flutter 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.quickactionsexample;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org... | packages/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/java/io/flutter/plugins/quickactionsexample/QuickActionsTest.java/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/example/android/app/src/androidTest/java/io/flutter/plugins/quickactionsexample/QuickActionsTest.java",
"repo_id": "packages",
"token_count": 2041
} | 1,135 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'package:flutter/material.dart';
import 'package:quick_actions_android/quick_actions_android.dart';
voi... | packages/packages/quick_actions/quick_actions_android/example/lib/main.dart/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/example/lib/main.dart",
"repo_id": "packages",
"token_count": 776
} | 1,136 |
// Copyright 2013 The Flutter 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:quick_actions_ios/messages.g.dart';
import 'package:quick_actions_ios/quick_actions_ios.da... | packages/packages/quick_actions/quick_actions_ios/test/quick_actions_ios_test.dart/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_ios/test/quick_actions_ios_test.dart",
"repo_id": "packages",
"token_count": 944
} | 1,137 |
#include "Generated.xcconfig"
| packages/packages/rfw/example/hello/ios/Flutter/Release.xcconfig/0 | {
"file_path": "packages/packages/rfw/example/hello/ios/Flutter/Release.xcconfig",
"repo_id": "packages",
"token_count": 12
} | 1,138 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.