text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_adaptive_scaffold/flutter_adaptive_scaffold.dart';
import 'package:flutter_test/flutter_tes... | packages/packages/flutter_adaptive_scaffold/test/simulated_layout.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/test/simulated_layout.dart",
"repo_id": "packages",
"token_count": 2645
} | 1,022 |
name: example
description: A project that showcases how to enable the recommended lints for Flutter apps, packages, and plugins.
publish_to: none
environment:
sdk: ^3.1.0
# Add the latest version of `package:flutter_lints` as a dev_dependency. The
# lint set provided by this package is activated in the `analysis_o... | packages/packages/flutter_lints/example/pubspec.yaml/0 | {
"file_path": "packages/packages/flutter_lints/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 154
} | 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 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:ma... | packages/packages/flutter_markdown/example/lib/demos/wrap_alignment_demo.dart/0 | {
"file_path": "packages/packages/flutter_markdown/example/lib/demos/wrap_alignment_demo.dart",
"repo_id": "packages",
"token_count": 2724
} | 1,024 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:flu... | packages/packages/flutter_markdown/test/footnote_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/footnote_test.dart",
"repo_id": "packages",
"token_count": 3918
} | 1,025 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:flutter_test/flutter_test.dart';
import 'u... | packages/packages/flutter_markdown/test/text_alignment_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/text_alignment_test.dart",
"repo_id": "packages",
"token_count": 1644
} | 1,026 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:collection';
import 'package:meta/meta.dart';
/// Generates an [AppContext] value.
///
/// Generators are allowed to re... | packages/packages/flutter_migrate/lib/src/base/context.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/base/context.dart",
"repo_id": "packages",
"token_count": 2175
} | 1,027 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:yaml/yaml.dart';
import 'base/file_system.dart';
import 'base/logger.dart';
import 'base/terminal.dart';
import 'result.dart';
import 'ut... | packages/packages/flutter_migrate/lib/src/manifest.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/manifest.dart",
"repo_id": "packages",
"token_count": 3412
} | 1,028 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'package:flutter_migrate/src/base/common.dart';
import 'package:flutter_migrate/src/base/context.dart';
import 'package:flut... | packages/packages/flutter_migrate/test/environment_test.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/environment_test.dart",
"repo_id": "packages",
"token_count": 1639
} | 1,029 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/flutter_plugin_android_lifecycle/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,030 |
You can upgrade an existing app to go_router gradually, by starting with the
home screen and creating a GoRoute for each screen you would like to be
deep-linkable.
# Upgrade an app that uses Navigator
To upgrade an app that is already using the Navigator for routing, start with
a single route for the home screen:
```... | packages/packages/go_router/doc/upgrading.md/0 | {
"file_path": "packages/packages/go_router/doc/upgrading.md",
"repo_id": "packages",
"token_count": 575
} | 1,031 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
// This scenario demonstrates how to use redirect... | packages/packages/go_router/example/lib/async_redirection.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/async_redirection.dart",
"repo_id": "packages",
"token_count": 2574
} | 1,032 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
/// This sample app shows how to use `GoRouter.onException` to redirect... | packages/packages/go_router/example/lib/exception_handling.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/exception_handling.dart",
"repo_id": "packages",
"token_count": 795
} | 1,033 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
// This scenario demonstrates the behavior when pushing ShellRoute in v... | packages/packages/go_router/example/lib/push_with_shell_route.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/push_with_shell_route.dart",
"repo_id": "packages",
"token_count": 1822
} | 1,034 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: diagnostic_describe_all_properties
import 'package:flutter/material.dart';
import '../misc/extensions.dart';
/// Checks for Material... | packages/packages/go_router/lib/src/pages/material.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/pages/material.dart",
"repo_id": "packages",
"token_count": 622
} | 1,035 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
void main() {
group(... | packages/packages/go_router/test/extension_test.dart/0 | {
"file_path": "packages/packages/go_router/test/extension_test.dart",
"repo_id": "packages",
"token_count": 782
} | 1,036 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/src/path_utils.dart';
void main() {
test('patternToRegExp without path parame... | packages/packages/go_router/test/path_utils_test.dart/0 | {
"file_path": "packages/packages/go_router/test/path_utils_test.dart",
"repo_id": "packages",
"token_count": 1329
} | 1,037 |
# Read about `build.yaml` at https://pub.dev/packages/build_config
builders:
go_router_builder:
import: "package:go_router_builder/go_router_builder.dart"
builder_factories: ["goRouterBuilder"]
build_extensions: {".dart": ["go_router.g.part"]}
auto_apply: dependents
build_to: cache
applies_bui... | packages/packages/go_router_builder/build.yaml/0 | {
"file_path": "packages/packages/go_router_builder/build.yaml",
"repo_id": "packages",
"token_count": 137
} | 1,038 |
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: always_specify_types, public_member_api_docs
part of 'shell_route_with_keys_example.dart';
// **************************************************************************
// GoRouterGenerator
// **************************************************************... | packages/packages/go_router_builder/example/lib/shell_route_with_keys_example.g.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/shell_route_with_keys_example.g.dart",
"repo_id": "packages",
"token_count": 984
} | 1,039 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router_builder_example/stateful_shell_route_example.dart';
void main() {
testWidgets... | packages/packages/go_router_builder/example/test/stateful_shell_route_test.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/test/stateful_shell_route_test.dart",
"repo_id": "packages",
"token_count": 327
} | 1,040 |
RouteBase get $extraValueRoute => GoRouteData.$route(
path: '/default-value-route',
factory: $ExtraValueRouteExtension._fromState,
);
extension $ExtraValueRouteExtension on ExtraValueRoute {
static ExtraValueRoute _fromState(GoRouterState state) => ExtraValueRoute(
param:
_$conver... | packages/packages/go_router_builder/test_inputs/extra_value.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/extra_value.dart.expect",
"repo_id": "packages",
"token_count": 434
} | 1,041 |
RouteBase get $requiredNullableTypeArgumentsExtraValueRoute =>
GoRouteData.$route(
path: '/default-value-route',
factory:
$RequiredNullableTypeArgumentsExtraValueRouteExtension._fromState,
);
extension $RequiredNullableTypeArgumentsExtraValueRouteExtension
on RequiredNullableTypeArgum... | packages/packages/go_router_builder/test_inputs/required_nullable_type_arguments_extra_value.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/required_nullable_type_arguments_extra_value.dart.expect",
"repo_id": "packages",
"token_count": 336
} | 1,042 |
The @TypedGoRoute annotation can only be applied to classes that extend or implement `GoRouteData`.
| packages/packages/go_router_builder/test_inputs/wrong_class_type.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/wrong_class_type.dart.expect",
"repo_id": "packages",
"token_count": 23
} | 1,043 |
name: google_identity_services_web_example
description: An example for the google_identity_services_web package, OneTap.
publish_to: 'none'
environment:
sdk: ^3.3.0
flutter: ">=3.19.0"
dependencies:
flutter:
sdk: flutter
google_identity_services_web:
path: ../
http: ">=0.13.0 <2.0.0"
web: ^0.5.1
... | packages/packages/google_identity_services_web/example/pubspec.yaml/0 | {
"file_path": "packages/packages/google_identity_services_web/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 210
} | 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.
// Authorization. API reference:
// https://developers.google.com/identity/oauth2/web/reference/js-reference
// ignore_for_file: non_constant_identifier_n... | packages/packages/google_identity_services_web/lib/src/js_interop/google_accounts_oauth2.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/lib/src/js_interop/google_accounts_oauth2.dart",
"repo_id": "packages",
"token_count": 5968
} | 1,045 |
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifi... | packages/packages/google_maps_flutter/google_maps_flutter/example/ios/Runner/Info.plist/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/example/ios/Runner/Info.plist",
"repo_id": "packages",
"token_count": 674
} | 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.
part of '../google_maps_flutter.dart';
/// Callback method for when the map is ready to be used.
///
/// Pass to [GoogleMap.onMapCreated] to receive a [Go... | packages/packages/google_maps_flutter/google_maps_flutter/lib/src/google_map.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/lib/src/google_map.dart",
"repo_id": "packages",
"token_count": 6510
} | 1,047 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.googlemaps">
</manifest>
| packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 45
} | 1,048 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import com.google.android.gms.maps.model.BitmapDescriptor;
import com.google.android.gms.maps.model.LatLng;
/** Re... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/MarkerOptionsSink.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/MarkerOptionsSink.java",
"repo_id": "packages",
"token_count": 269
} | 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.
package io.flutter.plugins.googlemaps;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.spy;
import com.google.android.gms.inter... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/CircleControllerTest.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/CircleControllerTest.java",
"repo_id": "packages",
"token_count": 286
} | 1,050 |
// Copyright 2013 The Flutter 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.googlemapsexample;
import static org.junit.Assert.assertTrue;
import androidx.test.core.app.ActivityScenario;
import io.flutte... | packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/googlemapsexample/GoogleMapsTest.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/androidTest/java/io/flutter/plugins/googlemapsexample/GoogleMapsTest.java",
"repo_id": "packages",
"token_count": 236
} | 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.
// ignore_for_file: public_member_api_docs
// ignore_for_file: unawaited_futures
import 'package:flutter/material.dart';
import 'package:google_maps_flutt... | packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/marker_icons.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/marker_icons.dart",
"repo_id": "packages",
"token_count": 1084
} | 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 'dart:async';
import 'dart:typed_data';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.d... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/integration_test/google_maps_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/integration_test/google_maps_test.dart",
"repo_id": "packages",
"token_count": 15454
} | 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 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'pac... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/example_google_map.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/example_google_map.dart",
"repo_id": "packages",
"token_count": 6339
} | 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.
// ignore_for_file: public_member_api_docs
import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:google_maps_flutter_platform... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/snapshot.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/snapshot.dart",
"repo_id": "packages",
"token_count": 898
} | 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 <Flutter/Flutter.h>
#import <GoogleMaps/GoogleMaps.h>
NS_ASSUME_NONNULL_BEGIN
@interface FLTGoogleMapController (Test)
/// Initializes a map con... | packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapController_Test.h/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapController_Test.h",
"repo_id": "packages",
"token_count": 298
} | 1,056 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart' show immutable;
import 'types.dart';
/// Uniquely identifies a [ClusterManager] among [GoogleMap] clusters.
///
/... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/cluster_manager.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/cluster_manager.dart",
"repo_id": "packages",
"token_count": 752
} | 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.
import 'package:flutter/foundation.dart' show immutable, objectRuntimeType;
/// Represents a point coordinate in the [GoogleMap]'s view.
///
/// The scree... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/screen_coordinate.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/screen_coordinate.dart",
"repo_id": "packages",
"token_count": 410
} | 1,058 |
name: google_maps_flutter_platform_interface
description: A common platform interface for the google_maps_flutter plugin.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/pubspec.yaml/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/pubspec.yaml",
"repo_id": "packages",
"token_count": 318
} | 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:typed_data';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_plat... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/tile_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/tile_test.dart",
"repo_id": "packages",
"token_count": 386
} | 1,060 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps/google_maps.dart... | packages/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/overlays_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/overlays_test.dart",
"repo_id": "packages",
"token_count": 2363
} | 1,061 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of '../google_maps_flutter_web.dart';
/// Type used when passing an override to the _createMap function.
@visibleForTesting
typedef DebugCreateMapFun... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/google_maps_controller.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/google_maps_controller.dart",
"repo_id": "packages",
"token_count": 6462
} | 1,062 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.googlesigninexample">
<uses-permission android:name="android.permission.INTERNET"/>
<application>
<activity android:name="io.flutter.embedding.android.FlutterActivity"
android:theme="... | packages/packages/google_sign_in/google_sign_in/example/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/android/app/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 388
} | 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.
import 'dart:async';
import 'package:flutter/material.dart';
/// The type of the onClick callback for the (mobile) Sign In Button.
typedef HandleSignInFn... | packages/packages/google_sign_in/google_sign_in/example/lib/src/sign_in_button/stub.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/lib/src/sign_in_button/stub.dart",
"repo_id": "packages",
"token_count": 148
} | 1,064 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart' show PlatformException;
import 'package:google_sign_... | packages/packages/google_sign_in/google_sign_in/lib/google_sign_in.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/lib/google_sign_in.dart",
"repo_id": "packages",
"token_count": 5145
} | 1,065 |
group 'io.flutter.plugins.googlesignin'
version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
... | packages/packages/google_sign_in/google_sign_in_android/android/build.gradle/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/android/build.gradle",
"repo_id": "packages",
"token_count": 689
} | 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.
import 'package:flutter_test/flutter_test.dart';
import 'package:google_sign_in_platform_interface/google_sign_in_platform_interface.dart';
import 'package... | packages/packages/google_sign_in/google_sign_in_android/example/integration_test/google_sign_in_test.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/example/integration_test/google_sign_in_test.dart",
"repo_id": "packages",
"token_count": 297
} | 1,067 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if TARGET_OS_OSX
#import <FlutterMacOS/FlutterMacOS.h>
#else
#import <Flutter/Flutter.h>
#endif
#import "messages.g.h"
@interface FLTGoogleSignInPlugin ... | packages/packages/google_sign_in/google_sign_in_ios/darwin/Classes/FLTGoogleSignInPlugin.h/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/darwin/Classes/FLTGoogleSignInPlugin.h",
"repo_id": "packages",
"token_count": 145
} | 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.
import 'package:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/src/messages.g.dart',
objcOptions: ObjcOptions(prefix: 'FSI'),
ob... | packages/packages/google_sign_in/google_sign_in_ios/pigeons/messages.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/pigeons/messages.dart",
"repo_id": "packages",
"token_count": 814
} | 1,069 |
## 0.12.4
* Updates dependencies to `web: ^0.5.0` and `google_identity_services_web: ^0.3.1`.
## 0.12.3+3
* Updates SDK version to Dart `^3.3.0`. Flutter `^3.19.0`.
* Prepares update to package `web: ^0.5.0`.
## 0.12.3+2
* Fixes new lint warnings.
## 0.12.3+1
* Updates `FlexHtmlElementView` (the widget backing `... | packages/packages/google_sign_in/google_sign_in_web/CHANGELOG.md/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/CHANGELOG.md",
"repo_id": "packages",
"token_count": 1864
} | 1,070 |
group 'io.flutter.plugins.imagepicker'
version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}... | packages/packages/image_picker/image_picker_android/android/build.gradle/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/build.gradle",
"repo_id": "packages",
"token_count": 943
} | 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.
package io.flutter.plugins.imagepicker;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.junit.Assert.assertEquals;
import static ... | packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/FileUtilTest.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/FileUtilTest.java",
"repo_id": "packages",
"token_count": 2446
} | 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.
package io.flutter.plugins.imagepickerexample;
import static androidx.test.espresso.flutter.EspressoFlutter.onFlutterWidget;
import static androidx.test.e... | packages/packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/imagepickerexample/ImagePickerPickTest.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/imagepickerexample/ImagePickerPickTest.java",
"repo_id": "packages",
"token_count": 640
} | 1,073 |
# image\_picker\_for\_web
A web implementation of [`image_picker`][1].
## Limitations on the web platform
### `XFile`
This plugin uses `XFile` objects to abstract files picked/created by the user.
Read more about `XFile` on the web in
[`package:cross_file`'s README](https://pub.dev/packages/cross_file).
### input... | packages/packages/image_picker/image_picker_for_web/README.md/0 | {
"file_path": "packages/packages/image_picker/image_picker_for_web/README.md",
"repo_id": "packages",
"token_count": 971
} | 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.
#import <XCTest/XCTest.h>
#import <os/log.h>
const int kLimitedElementWaitingTime = 30;
@interface ImagePickerFromLimitedGalleryUITests : XCTestCase
@pr... | packages/packages/image_picker/image_picker_ios/example/ios/RunnerUITests/ImagePickerFromLimitedGalleryUITests.m/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/example/ios/RunnerUITests/ImagePickerFromLimitedGalleryUITests.m",
"repo_id": "packages",
"token_count": 2591
} | 1,075 |
name: image_picker_example
description: Demonstrates how to use the image_picker plugin.
publish_to: none
environment:
sdk: ^3.2.3
flutter: ">=3.16.6"
dependencies:
flutter:
sdk: flutter
image_picker_ios:
# When depending on this package from a real application you should use:
# image_picker_ios... | packages/packages/image_picker/image_picker_ios/example/pubspec.yaml/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 288
} | 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.
// Autogenerated from Pigeon (v13.0.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import <Foundation/Foundation.h>
@protocol Flu... | packages/packages/image_picker/image_picker_ios/ios/Classes/messages.g.h/0 | {
"file_path": "packages/packages/image_picker/image_picker_ios/ios/Classes/messages.g.h",
"repo_id": "packages",
"token_count": 1495
} | 1,077 |
# image\_picker\_macos
A macOS implementation of [`image_picker`][1].
## Limitations
`ImageSource.camera` is not supported unless a `cameraDelegate` is set.
### pickImage()
The arguments `maxWidth`, `maxHeight`, and `imageQuality` are not currently supported.
### pickVideo()
The argument `maxDuration` is not curre... | packages/packages/image_picker/image_picker_macos/README.md/0 | {
"file_path": "packages/packages/image_picker/image_picker_macos/README.md",
"repo_id": "packages",
"token_count": 390
} | 1,078 |
name: image_picker_macos
description: macOS platform implementation of image_picker
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_macos
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
version: 0.2.1+1
environ... | packages/packages/image_picker/image_picker_macos/pubspec.yaml/0 | {
"file_path": "packages/packages/image_picker/image_picker_macos/pubspec.yaml",
"repo_id": "packages",
"token_count": 334
} | 1,079 |
// Copyright 2013 The Flutter 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 type of media to allow the user to select with [ImagePickerPlatform.getMedia].
enum MediaSelectionType {
/// Static pictures.
image,
/// Vid... | packages/packages/image_picker/image_picker_platform_interface/lib/src/types/media_selection_type.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/media_selection_type.dart",
"repo_id": "packages",
"token_count": 92
} | 1,080 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/in_app_purchase/in_app_purchase/example/android/gradle.properties/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 1,081 |
// Copyright 2013 The Flutter 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:in_app_purchase_android/in_app_purchase_android.dart';
import 'package:in_app_purchase_platform_i... | packages/packages/in_app_purchase/in_app_purchase/lib/in_app_purchase.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase/lib/in_app_purchase.dart",
"repo_id": "packages",
"token_count": 2535
} | 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.
export 'src/billing_client_wrappers/alternative_billing_only_reporting_details_wrapper.dart';
export 'src/billing_client_wrappers/billing_client_manager.da... | packages/packages/in_app_purchase/in_app_purchase_android/lib/billing_client_wrappers.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/billing_client_wrappers.dart",
"repo_id": "packages",
"token_count": 282
} | 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/foundation.dart';
import 'package:json_annotation/json_annotation.dart';
import '../../billing_client_wrappers.dart';
// WARNING:... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/product_wrapper.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/product_wrapper.dart",
"repo_id": "packages",
"token_count": 486
} | 1,084 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:in_app_purchase_platform_interface/in_app_purchase_platform_interface.dart';
import 'types.dart';
/// The response object for fetching th... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/types/query_purchase_details_response.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/types/query_purchase_details_response.dart",
"repo_id": "packages",
"token_count": 292
} | 1,085 |
name: in_app_purchase_platform_interface
description: A common platform interface for the in_app_purchase plugin.
repository: https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A... | packages/packages/in_app_purchase/in_app_purchase_platform_interface/pubspec.yaml/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_platform_interface/pubspec.yaml",
"repo_id": "packages",
"token_count": 285
} | 1,086 |
// Copyright 2013 The Flutter 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 "Stubs.h"
@import in_app_purchase_storekit;
#pragma tests start here
@interface RequestHandlerTest : XCTestCase
@end
... | packages/packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/ProductRequestHandlerTests.m/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/ProductRequestHandlerTests.m",
"repo_id": "packages",
"token_count": 1158
} | 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 'package:flutter/foundation.dart';
import 'package:json_annotation/json_annotation.dart';
import '../messages.g.dart';
import 'enum_converters.dart... | packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_payment_transaction_wrappers.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_payment_transaction_wrappers.dart",
"repo_id": "packages",
"token_count": 2684
} | 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:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_storekit/in_app_purchase_storekit.... | packages/packages/in_app_purchase/in_app_purchase_storekit/test/fakes/fake_storekit_platform.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/test/fakes/fake_storekit_platform.dart",
"repo_id": "packages",
"token_count": 3220
} | 1,089 |
# iOS Platform Images
A Flutter plugin to share images between Flutter and iOS.
This allows Flutter to load images from Images.xcassets and iOS code to load
Flutter images.
When loading images from Image.xcassets the device specific variant is chosen
([iOS documentation](https://developer.apple.com/design/human-inte... | packages/packages/ios_platform_images/README.md/0 | {
"file_path": "packages/packages/ios_platform_images/README.md",
"repo_id": "packages",
"token_count": 353
} | 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.
import 'package:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/src/messages.g.dart',
swiftOut: 'ios/Classes/messages.g.swift',
c... | packages/packages/ios_platform_images/pigeons/messages.dart/0 | {
"file_path": "packages/packages/ios_platform_images/pigeons/messages.dart",
"repo_id": "packages",
"token_count": 287
} | 1,091 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 1.0.37
* Adds compatibility with `intl` 0.19.0.
* Updates compileSdk version to 34.
## 1.0.36
* Updates androidx.fragment version to 1.6.2.
## 1.0.35
* Updates androidx.fragment version to 1.6.1.
## 1.0.34
* Updates pigeon to 11.0.0 a... | packages/packages/local_auth/local_auth_android/CHANGELOG.md/0 | {
"file_path": "packages/packages/local_auth/local_auth_android/CHANGELOG.md",
"repo_id": "packages",
"token_count": 1180
} | 1,092 |
// Copyright 2013 The Flutter 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:local_auth_platform_interface/default_method_chann... | packages/packages/local_auth/local_auth_platform_interface/test/default_method_channel_platform_test.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_platform_interface/test/default_method_channel_platform_test.dart",
"repo_id": "packages",
"token_count": 2703
} | 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:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/src/messages.g.dart',
cppOptions: CppOptions(namespace: 'local_auth... | packages/packages/local_auth/local_auth_windows/pigeons/messages.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_windows/pigeons/messages.dart",
"repo_id": "packages",
"token_count": 283
} | 1,094 |
# Metrics Center
Metrics center is a minimal set of code and services to support multiple perf
metrics generators (e.g., Cocoon device lab, Cirrus bots, LUCI bots, Firebase
Test Lab) and destinations (e.g., old Cocoon perf dashboard, Skia perf
dashboard). The work and maintenance it requires is very close to that of j... | packages/packages/metrics_center/README.md/0 | {
"file_path": "packages/packages/metrics_center/README.md",
"repo_id": "packages",
"token_count": 130
} | 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.
@Timeout(Duration(seconds: 3600))
library;
import 'dart:async';
import 'dart:convert';
import 'package:gcloud/storage.dart';
import 'package:googleapis/s... | packages/packages/metrics_center/test/skiaperf_test.dart/0 | {
"file_path": "packages/packages/metrics_center/test/skiaperf_test.dart",
"repo_id": "packages",
"token_count": 9234
} | 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 'dart:convert';
import 'dart:io';
import 'dart:typed_data';
import 'package:meta/meta.dart';
import 'constants.dart';
import 'packet.dart';
/// En... | packages/packages/multicast_dns/lib/src/resource_record.dart/0 | {
"file_path": "packages/packages/multicast_dns/lib/src/resource_record.dart",
"repo_id": "packages",
"token_count": 3544
} | 1,097 |
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/palette_generator/example/android/app/build.gradle/0 | {
"file_path": "packages/packages/palette_generator/example/android/app/build.gradle",
"repo_id": "packages",
"token_count": 667
} | 1,098 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/path_provider/path_provider/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/path_provider/path_provider/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,099 |
// Copyright 2013 The Flutter 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:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:path_provider/p... | packages/packages/path_provider/path_provider/example/integration_test/path_provider_test.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider/example/integration_test/path_provider_test.dart",
"repo_id": "packages",
"token_count": 1533
} | 1,100 |
// Copyright 2013 The Flutter 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 path_provider;
@import XCTest;
@interface PathProviderTests : XCTestCase
@end
@implementation PathProviderTests
- (void)testPlugin {
FLTPathPr... | packages/packages/path_provider/path_provider/example/ios/RunnerTests/PathProviderTests.m/0 | {
"file_path": "packages/packages/path_provider/path_provider/example/ios/RunnerTests/PathProviderTests.m",
"repo_id": "packages",
"token_count": 129
} | 1,101 |
rootProject.name = 'path_provider_android'
| packages/packages/path_provider/path_provider_android/android/settings.gradle/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/android/settings.gradle",
"repo_id": "packages",
"token_count": 14
} | 1,102 |
// Copyright 2013 The Flutter 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_android/messages.g.dart' as messages;
import 'package:path_provider_android/... | packages/packages/path_provider/path_provider_android/test/path_provider_android_test.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/test/path_provider_android_test.dart",
"repo_id": "packages",
"token_count": 1268
} | 1,103 |
// Copyright 2013 The Flutter 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:ffi';
import 'package:ffi/ffi.dart';
import 'package:flutter/foundation.dart' show visibleForTesting;
// GApplication* g_application_get_defa... | packages/packages/path_provider/path_provider_linux/lib/src/get_application_id_real.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_linux/lib/src/get_application_id_real.dart",
"repo_id": "packages",
"token_count": 813
} | 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:code_builder/code_builder.dart' as cb;
import 'package:dart_style/dart_style.dart';
import 'package:path/path.dart' as path;
import 'ast.d... | packages/packages/pigeon/lib/dart_generator.dart/0 | {
"file_path": "packages/packages/pigeon/lib/dart_generator.dart",
"repo_id": "packages",
"token_count": 33121
} | 1,105 |
// Copyright 2013 The Flutter 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';
class FlutterSearchRequest {
String? query;
}
class FlutterSearchReply {
String? result;
String? error;
}
cla... | packages/packages/pigeon/pigeons/flutter_unittests.dart/0 | {
"file_path": "packages/packages/pigeon/pigeons/flutter_unittests.dart",
"repo_id": "packages",
"token_count": 238
} | 1,106 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.alternate_language_test_plugin">
</manifest>
| packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 48
} | 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 "HandlerBinaryMessenger.h"
@interface HandlerBinaryMessenger ()
@property(nonatomic, strong) NSObject<FlutterMessageCodec> *codec;
@property(nonat... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/HandlerBinaryMessenger.m/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/HandlerBinaryMessenger.m",
"repo_id": "packages",
"token_count": 528
} | 1,108 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 1,109 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// There is intentionally no code here; tests use generated Pigeon APIs
// directly, as wrapping them in a plugin would just add maintenance burden
// when... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/lib/alternate_language_test_plugin.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/lib/alternate_language_test_plugin.dart",
"repo_id": "packages",
"token_count": 79
} | 1,110 |
// Copyright 2013 The Flutter 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/core_tests.gen.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/core_tests.gen.dart",
"repo_id": "packages",
"token_count": 55419
} | 1,111 |
// Copyright 2013 The Flutter 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
package com.example.test_plugin
import android.util.Lo... | packages/packages/pigeon/platform_tests/test_plugin/android/src/main/kotlin/com/example/test_plugin/CoreTests.gen.kt/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/src/main/kotlin/com/example/test_plugin/CoreTests.gen.kt",
"repo_id": "packages",
"token_count": 54249
} | 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.
import XCTest
@testable import test_plugin
class NonNullFieldsTests: XCTestCase {
func testMake() {
let request = NonNullFieldSearchRequest(query: ... | packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/NonNullFieldsTest.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/NonNullFieldsTest.swift",
"repo_id": "packages",
"token_count": 118
} | 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.
#include "test_plugin.h"
// This must be included before many other Windows headers.
#include <flutter/plugin_registrar_windows.h>
#include <windows.h>
#... | packages/packages/pigeon/platform_tests/test_plugin/windows/test_plugin.cpp/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/test_plugin.cpp",
"repo_id": "packages",
"token_count": 7220
} | 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 'dart:io';
import 'package:pigeon/generator_tools.dart';
import 'package:test/test.dart';
void main() {
test('pigeon version matches pubspec', (... | packages/packages/pigeon/test/version_test.dart/0 | {
"file_path": "packages/packages/pigeon/test/version_test.dart",
"repo_id": "packages",
"token_count": 227
} | 1,115 |
// Copyright 2013 The Flutter 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 Platform, stdin, stdout;
import 'platform.dart';
/// `Platform` implementation that delegates directly to `dart:io`.
class Lo... | packages/packages/platform/lib/src/interface/local_platform.dart/0 | {
"file_path": "packages/packages/platform/lib/src/interface/local_platform.dart",
"repo_id": "packages",
"token_count": 439
} | 1,116 |
## test
This package uses integration tests for testing.
See `example/README.md` for more info.
| packages/packages/pointer_interceptor/pointer_interceptor/test/README.md/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor/test/README.md",
"repo_id": "packages",
"token_count": 28
} | 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:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pointer_interceptor_ios/pointer_interceptor_ios.da... | packages/packages/pointer_interceptor/pointer_interceptor_ios/test/pointer_interceptor_ios_test.dart/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/test/pointer_interceptor_ios_test.dart",
"repo_id": "packages",
"token_count": 522
} | 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.
// ignore_for_file: avoid_print
// Imports the Flutter Driver API.
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter_test/flutt... | packages/packages/pointer_interceptor/pointer_interceptor_web/example/integration_test/widget_test.dart/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_web/example/integration_test/widget_test.dart",
"repo_id": "packages",
"token_count": 2194
} | 1,119 |
# quick_actions
This Flutter plugin allows you to manage and interact with the application's
home screen quick actions.
Quick actions refer to the [eponymous
concept](https://developer.apple.com/design/human-interface-guidelines/home-screen-quick-actions)
on iOS and to the [App
Shortcuts](https://developer.android.co... | packages/packages/quick_actions/quick_actions/README.md/0 | {
"file_path": "packages/packages/quick_actions/quick_actions/README.md",
"repo_id": "packages",
"token_count": 536
} | 1,120 |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">@drawable/ic_launcher_background</item>
</style>
</resources> | packages/packages/quick_actions/quick_actions/example/android/app/src/main/res/values/styles.xml/0 | {
"file_path": "packages/packages/quick_actions/quick_actions/example/android/app/src/main/res/values/styles.xml",
"repo_id": "packages",
"token_count": 84
} | 1,121 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.