text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
## 13.2.1
- Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
- Fixes memory leaks.
## 13.2.0
- Exposes full `Uri` on `GoRouterState` in `GoRouterRedirect`
## 13.1.0
- Adds `topRoute` to `GoRouterState`
- Adds `lastOrNull` to `RouteMatchList`
## 13.0.1
* Fixes new lint warnings.
## 13.0.0
- Refac... | packages/packages/go_router/CHANGELOG.md/0 | {
"file_path": "packages/packages/go_router/CHANGELOG.md",
"repo_id": "packages",
"token_count": 9486
} | 1,012 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
/// A mock authentication service.
class BookstoreAuth extends ChangeNotifier {
bool _signedIn = false;
/// Wh... | packages/packages/go_router/example/lib/books/src/auth.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/books/src/auth.dart",
"repo_id": "packages",
"token_count": 418
} | 1,013 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
/// This sample app shows an app with two screens.
///
/// The first ro... | packages/packages/go_router/example/lib/main.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/main.dart",
"repo_id": "packages",
"token_count": 814
} | 1,014 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
/// This app shows how to dynamically add more route into routing confi... | packages/packages/go_router/example/lib/routing_config.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/routing_config.dart",
"repo_id": "packages",
"token_count": 1889
} | 1,015 |
name: go_router_examples
description: go_router examples
version: 3.0.1
publish_to: none
environment:
sdk: ^3.2.0
flutter: ">=3.16.0"
dependencies:
adaptive_navigation: ^0.0.4
collection: ^1.15.0
cupertino_icons: ^1.0.2
flutter:
sdk: flutter
go_router:
path: ..
logging: ^1.0.0
provider: 6.0.... | packages/packages/go_router/example/pubspec.yaml/0 | {
"file_path": "packages/packages/go_router/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 215
} | 1,016 |
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# For details regarding the *Flutter Fix* feature, see
# https://flutter.dev/docs/development/tools/flutter-fix
# Please add new fixes to the top of the file... | packages/packages/go_router/lib/fix_data.yaml/0 | {
"file_path": "packages/packages/go_router/lib/fix_data.yaml",
"repo_id": "packages",
"token_count": 3065
} | 1,017 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'misc/errors.dart';
import 'route.dart';
final RegExp _parameterRegExp = RegExp(r':(\w+)(\((?:\\.|[^\\()])+\))?');
/// Converts a [pattern] such a... | packages/packages/go_router/lib/src/path_utils.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/path_utils.dart",
"repo_id": "packages",
"token_count": 1969
} | 1,018 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
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/go_route_test.dart/0 | {
"file_path": "packages/packages/go_router/test/go_route_test.dart",
"repo_id": "packages",
"token_count": 4569
} | 1,019 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
void main() {
testWi... | packages/packages/go_router/test/request_focus.dart/0 | {
"file_path": "packages/packages/go_router/test/request_focus.dart",
"repo_id": "packages",
"token_count": 736
} | 1,020 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Configuration for using `package:build`-compatible build systems.
///
/// See:
/// * [build_runner](https://pub.dev/packages/build_runner)
///
/// This... | packages/packages/go_router_builder/lib/go_router_builder.dart/0 | {
"file_path": "packages/packages/go_router_builder/lib/go_router_builder.dart",
"repo_id": "packages",
"token_count": 280
} | 1,021 |
RouteBase get $iterableDefaultValueRoute => GoRouteData.$route(
path: '/iterable-default-value-route',
factory: $IterableDefaultValueRouteExtension._fromState,
);
extension $IterableDefaultValueRouteExtension on IterableDefaultValueRoute {
static IterableDefaultValueRoute _fromState(GoRouterState sta... | packages/packages/go_router_builder/test_inputs/iterable_with_default_value.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/iterable_with_default_value.dart.expect",
"repo_id": "packages",
"token_count": 358
} | 1,022 |
Required parameters in the path cannot be nullable.
| packages/packages/go_router_builder/test_inputs/required_parameters_in_path_cannnot_be_null.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/required_parameters_in_path_cannnot_be_null.dart.expect",
"repo_id": "packages",
"token_count": 11
} | 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 'dart:js_interop';
import 'package:web/web.dart' as web;
// TODO(kevmoo): Make this file unnecessary, https://github.com/dart-lang/web/issues/175
... | packages/packages/google_identity_services_web/lib/src/js_interop/package_web_tweaks.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/lib/src/js_interop/package_web_tweaks.dart",
"repo_id": "packages",
"token_count": 398
} | 1,024 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/google_maps_flutter/google_maps_flutter/example/android/gradle.properties/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
impo... | packages/packages/google_maps_flutter/google_maps_flutter/test/circle_updates_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/test/circle_updates_test.dart",
"repo_id": "packages",
"token_count": 3205
} | 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.
package io.flutter.plugins.googlemaps;
import com.google.android.gms.maps.model.Circle;
import com.google.android.gms.maps.model.LatLng;
/** Controller o... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/CircleController.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/CircleController.java",
"repo_id": "packages",
"token_count": 575
} | 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.
package io.flutter.plugins.googlemaps;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.PolygonOptions;
import ja... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolygonBuilder.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolygonBuilder.java",
"repo_id": "packages",
"token_count": 582
} | 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.
package io.flutter.plugins.googlemaps;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.As... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/GoogleMapControllerTest.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/GoogleMapControllerTest.java",
"repo_id": "packages",
"token_count": 1045
} | 1,029 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.googlemapsexample">
<!-- Flutter needs internet permission to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="an... | packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/AndroidManifest.xml/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/debug/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 321
} | 1,030 |
// Copyright 2013 The Flutter 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_android/example/lib/padding.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/padding.dart",
"repo_id": "packages",
"token_count": 2428
} | 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.
// 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/map_click.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/map_click.dart",
"repo_id": "packages",
"token_count": 1129
} | 1,032 |
name: maps_example_dart
description: Shared Dart code for the example apps.
publish_to: none
environment:
sdk: ^3.2.3
flutter: ">=3.16.6"
dependencies:
cupertino_icons: ^1.0.5
flutter:
sdk: flutter
flutter_plugin_android_lifecycle: ^2.0.1
google_maps_flutter_ios:
# When depending on this package f... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/pubspec.yaml/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/pubspec.yaml",
"repo_id": "packages",
"token_count": 297
} | 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 "GoogleMapMarkerController.h"
#import "FLTGoogleMapJSONConversions.h"
@interface FLTGoogleMapMarkerController ()
@property(strong, nonatomic) GMS... | packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m",
"repo_id": "packages",
"token_count": 5763
} | 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.
/// Joint types for [Polyline].
enum JointType {
/// Mitered joint, with fixed pointed extrusion equal to half the stroke width on the outside of the joi... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/joint_type.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/joint_type.dart",
"repo_id": "packages",
"token_count": 213
} | 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/foundation.dart' show immutable;
import 'types.dart';
/// Uniquely identifies a [TileOverlay] among [GoogleMap] tile overlays.
@i... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/tile_overlay.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/tile_overlay.dart",
"repo_id": "packages",
"token_count": 1672
} | 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/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/services... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/platform_interface/google_maps_flutter_platform_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/platform_interface/google_maps_flutter_platform_test.dart",
"repo_id": "packages",
"token_count": 2127
} | 1,037 |
// Copyright 2013 The Flutter 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_flutter_platform_interface/google_maps_flutter_platform_interface.dart';
/// Function that gets the [MapConfiguration] for a g... | packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/google_maps_inspector_web.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/google_maps_inspector_web.dart",
"repo_id": "packages",
"token_count": 830
} | 1,038 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// A regular expression that matches against the "size directive" path
/// segment of Google profile image URLs.
///
/// The format is is "`/sNN-c/`", whe... | packages/packages/google_sign_in/google_sign_in/lib/src/fife.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/lib/src/fife.dart",
"repo_id": "packages",
"token_count": 997
} | 1,039 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.googlesignin">
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
| packages/packages/google_sign_in/google_sign_in_android/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 67
} | 1,040 |
name: google_sign_in_example
description: Example of Google Sign-In plugin.
publish_to: none
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
flutter:
sdk: flutter
google_sign_in_android:
# When depending on this package from a real application you should use:
# google_sign_in_android:... | packages/packages/google_sign_in/google_sign_in_android/example/pubspec.yaml/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 293
} | 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/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_sign_in_ios/google_sign_in_ios.dart';
impor... | packages/packages/google_sign_in/google_sign_in_ios/test/google_sign_in_ios_test.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/test/google_sign_in_ios_test.dart",
"repo_id": "packages",
"token_count": 2272
} | 1,042 |
# google\_sign\_in\_web
The web implementation of [google_sign_in](https://pub.dev/packages/google_sign_in)
## Migrating to v0.11 and v0.12 (Google Identity Services)
The `google_sign_in_web` plugin is backed by the new Google Identity Services
(GIS) JS SDK since version 0.11.0.
The GIS SDK is used both for [Authen... | packages/packages/google_sign_in/google_sign_in_web/README.md/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/README.md",
"repo_id": "packages",
"token_count": 2809
} | 1,043 |
name: google_sign_in_web_integration_tests
publish_to: none
environment:
sdk: ^3.3.0
flutter: ">=3.19.0"
dependencies:
cupertino_icons: ^1.0.2
flutter:
sdk: flutter
google_identity_services_web: ^0.3.1
google_sign_in_platform_interface: ^2.4.0
google_sign_in_web:
path: ../
dev_dependencies:
b... | packages/packages/google_sign_in/google_sign_in_web/example/pubspec.yaml/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_web/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 240
} | 1,044 |
# Image Picker plugin for Flutter
<?code-excerpt path-base="example/lib"?>
[](https://pub.dev/packages/image_picker)
A Flutter plugin for iOS and Android for picking images from the image library,
and taking new pictures with the camera.
| | An... | packages/packages/image_picker/image_picker/README.md/0 | {
"file_path": "packages/packages/image_picker/image_picker/README.md",
"repo_id": "packages",
"token_count": 2581
} | 1,045 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/image_picker/image_picker/example/android/gradle.properties/0 | {
"file_path": "packages/packages/image_picker/image_picker/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 1,046 |
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
| packages/packages/image_picker/image_picker_android/android/gradle/wrapper/gradle-wrapper.properties/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/gradle/wrapper/gradle-wrapper.properties",
"repo_id": "packages",
"token_count": 73
} | 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.
package io.flutter.plugins.imagepicker;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.IsEqual.equalTo;
import stati... | packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/ImagePickerDelegateTest.java/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/ImagePickerDelegateTest.java",
"repo_id": "packages",
"token_count": 12217
} | 1,048 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.imagepickerexample">
<!-- Flutter needs internet permission to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="a... | packages/packages/image_picker/image_picker_android/example/android/app/src/debug/AndroidManifest.xml/0 | {
"file_path": "packages/packages/image_picker/image_picker_android/example/android/app/src/debug/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 591
} | 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 'dart:convert';
import 'dart:js_interop';
import 'dart:typed_data';
import 'package:flutter_test/flutter_test.dart';
import 'package:image_picker_f... | packages/packages/image_picker/image_picker_for_web/example/integration_test/image_picker_for_web_test.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_for_web/example/integration_test/image_picker_for_web_test.dart",
"repo_id": "packages",
"token_count": 4524
} | 1,050 |
// Mocks generated by Mockito 5.4.4 from annotations
// in image_picker_macos/test/image_picker_macos_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'package:file_selector_platform_interface/file_selector_platform_interf... | packages/packages/image_picker/image_picker_macos/test/image_picker_macos_test.mocks.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_macos/test/image_picker_macos_test.mocks.dart",
"repo_id": "packages",
"token_count": 1915
} | 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 'dart:convert';
import 'dart:typed_data';
import 'package:flutter/foundation.dart' show immutable;
/// The interface for a PickedFile.
///
/// A P... | packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/base.dart/0 | {
"file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/base.dart",
"repo_id": "packages",
"token_count": 670
} | 1,052 |
# In App Purchase Example
Demonstrates how to use the In App Purchase (IAP) Plugin.
## Getting Started
### Preparation
There's a significant amount of setup required for testing in app purchases
successfully, including registering new app IDs and store entries to use for
testing in both the Play Developer Console a... | packages/packages/in_app_purchase/in_app_purchase/example/README.md/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase/example/README.md",
"repo_id": "packages",
"token_count": 1612
} | 1,053 |
storePassword=???
keyPassword=???
keyAlias=???
storeFile=???
appId=io.flutter.plugins.inapppurchaseexample.DEFAULT_DO_NOT_USE
versionCode=1
versionName=0.0.1 | packages/packages/in_app_purchase/in_app_purchase/example/android/keystore.example.properties/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase/example/android/keystore.example.properties",
"repo_id": "packages",
"token_count": 58
} | 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/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_p... | packages/packages/in_app_purchase/in_app_purchase/test/in_app_purchase_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase/test/in_app_purchase_test.dart",
"repo_id": "packages",
"token_count": 2121
} | 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.
package io.flutter.plugins.inapppurchase;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.when;
import android.app.Activit... | packages/packages/in_app_purchase/in_app_purchase_android/android/src/test/java/io/flutter/plugins/inapppurchase/InAppPurchasePluginTest.java/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/android/src/test/java/io/flutter/plugins/inapppurchase/InAppPurchasePluginTest.java",
"repo_id": "packages",
"token_count": 1503
} | 1,056 |
# billing_client_wrappers
This exposes a way Dart endpoints through to [Google Play Billing
Library](https://developer.android.com/google/play/billing/billing_library_overview).
Can be used as an alternative to
[in_app_purchase](../in_app_purchase/README.md). | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/README.md/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/README.md",
"repo_id": "packages",
"token_count": 80
} | 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';
import 'package:in_app_purchase_platform_interface/in_app_purchase_platform_interface.dart';
import 'package:json... | packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/purchase_wrapper.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/purchase_wrapper.dart",
"repo_id": "packages",
"token_count": 4574
} | 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 "Stubs.h"
@implementation SKProductSubscriptionPeriodStub
- (instancetype)initWithMap:(NSDictionary *)map {
self = [super init];
if (self) {
... | packages/packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/Stubs.m/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/Stubs.m",
"repo_id": "packages",
"token_count": 4090
} | 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 'package:collection/collection.dart';
import 'package:flutter/foundation.dart';
import 'package:json_annotation/json_annotation.dart';
import '../m... | packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_product_wrapper.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_product_wrapper.dart",
"repo_id": "packages",
"token_count": 8609
} | 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/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_platform_int... | packages/packages/in_app_purchase/in_app_purchase_storekit/test/in_app_purchase_storekit_platform_test.dart/0 | {
"file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/test/in_app_purchase_storekit_platform_test.dart",
"repo_id": "packages",
"token_count": 9035
} | 1,061 |
# ios_platform_images_example
Demonstrates how to use the ios_platform_images plugin.
| packages/packages/ios_platform_images/example/README.md/0 | {
"file_path": "packages/packages/ios_platform_images/example/README.md",
"repo_id": "packages",
"token_count": 27
} | 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.
@import ios_platform_images;
@import XCTest;
// The tests test the UIImage extension which is a public API intended for use from native code
// outside of... | packages/packages/ios_platform_images/example/ios/RunnerTests/UIImage+ios_platform_imagesTests.m/0 | {
"file_path": "packages/packages/ios_platform_images/example/ios/RunnerTests/UIImage+ios_platform_imagesTests.m",
"repo_id": "packages",
"token_count": 547
} | 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 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:ios_platform_images/ios_platform_images.dart';
imp... | packages/packages/ios_platform_images/test/ios_platform_images_test.dart/0 | {
"file_path": "packages/packages/ios_platform_images/test/ios_platform_images_test.dart",
"repo_id": "packages",
"token_count": 596
} | 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 "FLALocalAuthPlugin.h"
#import "FLALocalAuthPlugin_Test.h"
#import <LocalAuthentication/LocalAuthentication.h>
typedef void (^FLADAuthCompletion)(... | packages/packages/local_auth/local_auth_darwin/darwin/Classes/FLALocalAuthPlugin.m/0 | {
"file_path": "packages/packages/local_auth/local_auth_darwin/darwin/Classes/FLALocalAuthPlugin.m",
"repo_id": "packages",
"token_count": 4815
} | 1,065 |
name: local_auth_darwin
description: iOS implementation of the local_auth plugin.
repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth_darwin
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 1.2.2
environment:
s... | packages/packages/local_auth/local_auth_darwin/pubspec.yaml/0 | {
"file_path": "packages/packages/local_auth/local_auth_darwin/pubspec.yaml",
"repo_id": "packages",
"token_count": 350
} | 1,066 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 1.0.10
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
## 1.0.9
* Updates to Pigeon 10.0.
* Fixes stale ignore: prefer_const_constructors.
* Updates minimum supported SDK version to... | packages/packages/local_auth/local_auth_windows/CHANGELOG.md/0 | {
"file_path": "packages/packages/local_auth/local_auth_windows/CHANGELOG.md",
"repo_id": "packages",
"token_count": 360
} | 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.
import 'package:flutter_test/flutter_test.dart';
import 'package:local_auth_windows/local_auth_windows.dart';
import 'package:local_auth_windows/src/messag... | packages/packages/local_auth/local_auth_windows/test/local_auth_test.dart/0 | {
"file_path": "packages/packages/local_auth/local_auth_windows/test/local_auth_test.dart",
"repo_id": "packages",
"token_count": 1191
} | 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 'dart:convert';
import 'dart:io';
import 'common.dart';
// This will be used in many of our unit tests.
void expectSetMatch<T>(Iterable<T> actual,... | packages/packages/metrics_center/test/utility.dart/0 | {
"file_path": "packages/packages/metrics_center/test/utility.dart",
"repo_id": "packages",
"token_count": 249
} | 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.
import 'dart:async';
import 'dart:io';
import 'package:multicast_dns/multicast_dns.dart';
import 'package:test/fake.dart';
import 'package:test/test.dart'... | packages/packages/multicast_dns/test/client_test.dart/0 | {
"file_path": "packages/packages/multicast_dns/test/client_test.dart",
"repo_id": "packages",
"token_count": 1332
} | 1,070 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android... | packages/packages/palette_generator/example/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/palette_generator/example/android/app/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 740
} | 1,071 |
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/path_provider/path_provider/example/android/app/build.gradle/0 | {
"file_path": "packages/packages/path_provider/path_provider/example/android/app/build.gradle",
"repo_id": "packages",
"token_count": 739
} | 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 'dart:io';
import 'package:path_provider/path_provider.dart';
/// Runs example code for README.md.
Future<List<Directory?>> readmeSnippets() async... | packages/packages/path_provider/path_provider/example/lib/readme_excerpts.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider/example/lib/readme_excerpts.dart",
"repo_id": "packages",
"token_count": 172
} | 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.
// Autogenerated from Pigeon (v9.2.5), do not edit directly.
// See also: https://pub.dev/packages/pigeon
package io.flutter.plugins.pathprovider;
import ... | packages/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/Messages.java/0 | {
"file_path": "packages/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/Messages.java",
"repo_id": "packages",
"token_count": 4666
} | 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.
// Autogenerated from Pigeon (v10.1.3), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_c... | packages/packages/path_provider/path_provider_foundation/lib/messages.g.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_foundation/lib/messages.g.dart",
"repo_id": "packages",
"token_count": 1007
} | 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 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:path/path.dart' as path;
import 'package:path_provider_platform_interface/path... | packages/packages/path_provider/path_provider_linux/lib/src/path_provider_linux.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_linux/lib/src/path_provider_linux.dart",
"repo_id": "packages",
"token_count": 1066
} | 1,076 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 2.2.1
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
## 2.2.0
* Adds getApplicationCachePath() for storing app-specific cache files.
## 2.1.7
* Adds compatibility with `win32` 5.... | packages/packages/path_provider/path_provider_windows/CHANGELOG.md/0 | {
"file_path": "packages/packages/path_provider/path_provider_windows/CHANGELOG.md",
"repo_id": "packages",
"token_count": 847
} | 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.
import 'package:path_provider_platform_interface/path_provider_platform_interface.dart';
/// A stub implementation to satisfy compilation of multi-platfor... | packages/packages/path_provider/path_provider_windows/lib/src/path_provider_windows_stub.dart/0 | {
"file_path": "packages/packages/path_provider/path_provider_windows/lib/src/path_provider_windows_stub.dart",
"repo_id": "packages",
"token_count": 362
} | 1,078 |
<?code-excerpt path-base="app"?>
# Pigeon Examples
The examples here will cover basic usage. For a more thorough set of examples,
check the [core_tests pigeon file](../pigeons/core_tests.dart) and
[platform test folder](../platform_tests/) ([shared_test_plugin_code](../platform_tests/shared_test_plugin_code/) and [al... | packages/packages/pigeon/example/README.md/0 | {
"file_path": "packages/packages/pigeon/example/README.md",
"repo_id": "packages",
"token_count": 2921
} | 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.
// Autogenerated from Pigeon, do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import <Foundation/Foundation.h>
@protocol FlutterBinary... | packages/packages/pigeon/example/app/macos/Runner/messages.g.h/0 | {
"file_path": "packages/packages/pigeon/example/app/macos/Runner/messages.g.h",
"repo_id": "packages",
"token_count": 969
} | 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.
// Autogenerated from Pigeon, do not edit directly.
// See also: https://pub.dev/packages/pigeon
#ifndef PIGEON_MESSAGES_G_H_
#define PIGEON_MESSAGES_G_H_
... | packages/packages/pigeon/example/app/windows/runner/messages.g.h/0 | {
"file_path": "packages/packages/pigeon/example/app/windows/runner/messages.g.h",
"repo_id": "packages",
"token_count": 1831
} | 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 'ast.dart';
import 'generator_tools.dart';
/// An abstract base class of generators.
///
/// This provides the structure that is common across gene... | packages/packages/pigeon/lib/generator.dart/0 | {
"file_path": "packages/packages/pigeon/lib/generator.dart",
"repo_id": "packages",
"token_count": 2894
} | 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.
// This file is an example pigeon file that is used in compilation, unit, mock
// handler, and e2e tests.
import 'package:pigeon/pigeon.dart';
@HostApi()... | packages/packages/pigeon/pigeons/multiple_arity.dart/0 | {
"file_path": "packages/packages/pigeon/pigeons/multiple_arity.dart",
"repo_id": "packages",
"token_count": 151
} | 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.
//
// Autogenerated from Pigeon, do not edit directly.
// See also: https://pub.dev/packages/pigeon
package com.example.alternate_language_test_plugin;
im... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/main/java/com/example/alternate_language_test_plugin/CoreTests.java/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/main/java/com/example/alternate_language_test_plugin/CoreTests.java",
"repo_id": "packages",
"token_count": 86421
} | 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 Flutter;
@import Foundation;
NS_ASSUME_NONNULL_BEGIN
@interface MockBinaryMessenger : NSObject <FlutterBinaryMessenger>
@property(nonatomic, reta... | packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MockBinaryMessenger.h/0 | {
"file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MockBinaryMessenger.h",
"repo_id": "packages",
"token_count": 221
} | 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.
//
// 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/flutter_unittests.gen.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/flutter_unittests.gen.dart",
"repo_id": "packages",
"token_count": 3278
} | 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 'dart:async';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/annotations.dart';
i... | packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/null_safe_test.dart/0 | {
"file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/null_safe_test.dart",
"repo_id": "packages",
"token_count": 3732
} | 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.
package com.example.test_plugin
import io.flutter.plugin.common.BinaryMessenger
import io.mockk.every
import io.mockk.mockk
import java.nio.ByteBuffer
imp... | packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/AllDatatypesTest.kt/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/AllDatatypesTest.kt",
"repo_id": "packages",
"token_count": 2560
} | 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 Flutter
import XCTest
@testable import test_plugin
class MockPrimitiveHostApi: PrimitiveHostApi {
func anInt(value: Int64) -> Int64 { value }
... | packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/PrimitiveTests.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/PrimitiveTests.swift",
"repo_id": "packages",
"token_count": 3573
} | 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 XCTest
@testable import test_plugin
class MyApi: HostTrivialApi {
func noop() {}
}
// Since the generator is almost entirely shared with iOS, t... | packages/packages/pigeon/platform_tests/test_plugin/example/macos/RunnerTests/BasicCompileTest.swift/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/macos/RunnerTests/BasicCompileTest.swift",
"repo_id": "packages",
"token_count": 174
} | 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.
#include "include/test_plugin/test_plugin_c_api.h"
#include <flutter/plugin_registrar_windows.h>
#include "test_plugin.h"
void TestPluginCApiRegisterWit... | packages/packages/pigeon/platform_tests/test_plugin/windows/test_plugin_c_api.cpp/0 | {
"file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/test_plugin_c_api.cpp",
"repo_id": "packages",
"token_count": 184
} | 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.
// ignore_for_file: avoid_print
////////////////////////////////////////////////////////////////////////////////
/// CI entrypoint for running Pigeon test... | packages/packages/pigeon/tool/run_tests.dart/0 | {
"file_path": "packages/packages/pigeon/tool/run_tests.dart",
"repo_id": "packages",
"token_count": 2517
} | 1,092 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/platform/example/android/gradle.properties/0 | {
"file_path": "packages/packages/platform/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 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 'dart:convert';
import '../interface/platform.dart';
/// Provides a mutable implementation of the [Platform] interface.
class FakePlatform extends... | packages/packages/platform/lib/src/testing/fake_platform.dart/0 | {
"file_path": "packages/packages/platform/lib/src/testing/fake_platform.dart",
"repo_id": "packages",
"token_count": 2407
} | 1,094 |
## NEXT
* Updates support matrix in README to indicate that iOS 11 is no longer supported.
* Clients on versions of Flutter that still support iOS 11 can continue to use this
package with iOS 11, but will not receive any further updates to the iOS implementation.
## 0.10.1
* Fixes new lint warnings.
## 0.10.0
* ... | packages/packages/pointer_interceptor/pointer_interceptor/CHANGELOG.md/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor/CHANGELOG.md",
"repo_id": "packages",
"token_count": 653
} | 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.
// ignore: avoid_web_libraries_in_flutter
import 'package:flutter/material.dart';
import 'package:pointer_interceptor/pointer_interceptor.dart';
import 'n... | packages/packages/pointer_interceptor/pointer_interceptor/example/lib/main.dart/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor/example/lib/main.dart",
"repo_id": "packages",
"token_count": 2693
} | 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 Flutter
import UIKit
import XCTest
@testable import pointer_interceptor_ios
class RunnerTests: XCTestCase {
func testNonDebugMode() {
let vi... | packages/packages/pointer_interceptor/pointer_interceptor_ios/example/ios/RunnerTests/RunnerTests.swift/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/example/ios/RunnerTests/RunnerTests.swift",
"repo_id": "packages",
"token_count": 282
} | 1,097 |
## 0.10.0+1
* Updates minimum required plugin_platform_interface version to 2.1.7.
## 0.10.0
* Initial release from migration to federated architecture.
| packages/packages/pointer_interceptor/pointer_interceptor_platform_interface/CHANGELOG.md/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_platform_interface/CHANGELOG.md",
"repo_id": "packages",
"token_count": 48
} | 1,098 |
name: pointer_interceptor_web_example
description: "Demonstrates how to use the pointer_interceptor_web plugin."
publish_to: 'none'
environment:
sdk: ^3.3.0
flutter: ">=3.19.0"
dependencies:
cupertino_icons: ^1.0.2
flutter:
sdk: flutter
pointer_interceptor_platform_interface: ^0.10.0
pointer_intercept... | packages/packages/pointer_interceptor/pointer_interceptor_web/example/pubspec.yaml/0 | {
"file_path": "packages/packages/pointer_interceptor/pointer_interceptor_web/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 204
} | 1,099 |
test_on: vm
| packages/packages/process/dart_test.yaml/0 | {
"file_path": "packages/packages/process/dart_test.yaml",
"repo_id": "packages",
"token_count": 6
} | 1,100 |
# quick_actions_example
Demonstrates how to use the quick_actions plugin.
| packages/packages/quick_actions/quick_actions/example/README.md/0 | {
"file_path": "packages/packages/quick_actions/quick_actions/example/README.md",
"repo_id": "packages",
"token_count": 21
} | 1,101 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/quick_actions/quick_actions/example/android/gradle.properties/0 | {
"file_path": "packages/packages/quick_actions/quick_actions/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 30
} | 1,102 |
group 'io.flutter.plugins.quickactions'
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/quick_actions/quick_actions_android/android/build.gradle/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/android/build.gradle",
"repo_id": "packages",
"token_count": 643
} | 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 'package:flutter/foundation.dart';
import 'package:quick_actions_platform_interface/quick_actions_platform_interface.dart';
import 'src/messages.g.... | packages/packages/quick_actions/quick_actions_android/lib/quick_actions_android.dart/0 | {
"file_path": "packages/packages/quick_actions/quick_actions_android/lib/quick_actions_android.dart",
"repo_id": "packages",
"token_count": 622
} | 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/widgets.dart';
/// For clarity, this example uses the text representation of the sample remote
/// widget library, and parses it l... | packages/packages/rfw/example/hello/lib/main.dart/0 | {
"file_path": "packages/packages/rfw/example/hello/lib/main.dart",
"repo_id": "packages",
"token_count": 907
} | 1,105 |
#include "ephemeral/Flutter-Generated.xcconfig"
| packages/packages/rfw/example/local/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "packages/packages/rfw/example/local/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "packages",
"token_count": 19
} | 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.
/// # Remote Flutter Widgets
///
/// Renders a widget tree described in a file, which you can change at runtime.
///
/// There are many ways to use a packa... | packages/packages/rfw/lib/rfw.dart/0 | {
"file_path": "packages/packages/rfw/lib/rfw.dart",
"repo_id": "packages",
"token_count": 920
} | 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.
// This file is hand-formatted.
import 'package:flutter_test/flutter_test.dart';
import 'package:rfw/formats.dart';
void main() {
testWidgets('$Library... | packages/packages/rfw/test/model_test.dart/0 | {
"file_path": "packages/packages/rfw/test/model_test.dart",
"repo_id": "packages",
"token_count": 2726
} | 1,108 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/shared_preferences/shared_preferences/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 1,109 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| packages/packages/shared_preferences/shared_preferences/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "packages",
"token_count": 32
} | 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.
import 'dart:async';
import 'package:flutter/foundation.dart' show visibleForTesting;
import 'package:shared_preferences_platform_interface/shared_prefere... | packages/packages/shared_preferences/shared_preferences/lib/shared_preferences.dart/0 | {
"file_path": "packages/packages/shared_preferences/shared_preferences/lib/shared_preferences.dart",
"repo_id": "packages",
"token_count": 3532
} | 1,111 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.