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_markdown/flutter_markdown.dart'; import '../shared/markdown_demo_widget.dart'; import '../...
packages/packages/flutter_markdown/example/lib/screens/demo_screen.dart/0
{ "file_path": "packages/packages/flutter_markdown/example/lib/screens/demo_screen.dart", "repo_id": "packages", "token_count": 2257 }
986
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
packages/packages/flutter_markdown/example/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "packages/packages/flutter_markdown/example/macos/Runner/Configs/Release.xcconfig", "repo_id": "packages", "token_count": 32 }
987
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io' as io; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import '...
packages/packages/flutter_markdown/test/image_test.dart/0
{ "file_path": "packages/packages/flutter_markdown/test/image_test.dart", "repo_id": "packages", "token_count": 5802 }
988
// Copyright 2013 The Flutter 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' as io; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/m...
packages/packages/flutter_markdown/test/utils.dart/0
{ "file_path": "packages/packages/flutter_markdown/test/utils.dart", "repo_id": "packages", "token_count": 3093 }
989
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:meta/meta.dart'; import 'file_system.dart'; import 'logger.dart'; /// Emum for each officially supported platform. enum SupportedPlatform...
packages/packages/flutter_migrate/lib/src/base/project.dart/0
{ "file_path": "packages/packages/flutter_migrate/lib/src/base/project.dart", "repo_id": "packages", "token_count": 845 }
990
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io'; import 'dart:typed_data'; import 'package:process/process.dart'; import 'base/common.dart'; import 'base/file_syst...
packages/packages/flutter_migrate/lib/src/utils.dart/0
{ "file_path": "packages/packages/flutter_migrate/lib/src/utils.dart", "repo_id": "packages", "token_count": 5344 }
991
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io' as io; import 'package:flutter_migrate/src/base/context.dart'; import 'package:flutter_migrate/src/base/file_system....
packages/packages/flutter_migrate/test/src/common.dart/0
{ "file_path": "packages/packages/flutter_migrate/test/src/common.dart", "repo_id": "packages", "token_count": 2023 }
992
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_plugin_android_lifecycle_example/main.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:integration_test/inte...
packages/packages/flutter_plugin_android_lifecycle/example/integration_test/flutter_plugin_android_lifecycle_test.dart/0
{ "file_path": "packages/packages/flutter_plugin_android_lifecycle/example/integration_test/flutter_plugin_android_lifecycle_test.dart", "repo_id": "packages", "token_count": 161 }
993
# go_router A declarative routing package for Flutter that uses the Router API to provide a convenient, url-based API for navigating between different screens. You can define URL patterns, navigate using a URL, handle deep links, and a number of other navigation-related scenarios. ## Features GoRouter has a number of ...
packages/packages/go_router/README.md/0
{ "file_path": "packages/packages/go_router/README.md", "repo_id": "packages", "token_count": 1582 }
994
buildFlags: _pluginToolsConfigGlobalKey: - "--no-tree-shake-icons" - "--dart-define=buildmode=testing"
packages/packages/go_router/example/.pluginToolsConfig.yaml/0
{ "file_path": "packages/packages/go_router/example/.pluginToolsConfig.yaml", "repo_id": "packages", "token_count": 45 }
995
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'book.dart'; /// Author data class. class Author { /// Creates an author data object. Author({ required this.id, required this.name, ...
packages/packages/go_router/example/lib/books/src/data/author.dart/0
{ "file_path": "packages/packages/go_router/example/lib/books/src/data/author.dart", "repo_id": "packages", "token_count": 150 }
996
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; /// This sample app demonstrates how to use GoRoute.onExit. void main()...
packages/packages/go_router/example/lib/on_exit.dart/0
{ "file_path": "packages/packages/go_router/example/lib/on_exit.dart", "repo_id": "packages", "token_count": 1666 }
997
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; final GlobalKey<NavigatorState> _rootNavigatorKey = GlobalKey<Navig...
packages/packages/go_router/example/lib/shell_route_top_route.dart/0
{ "file_path": "packages/packages/go_router/example/lib/shell_route_top_route.dart", "repo_id": "packages", "token_count": 3951 }
998
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_test/flutter_test.dart'; import 'package:go_router_examples/extra_codec.dart' as example; void main() { testWidgets('example wor...
packages/packages/go_router/example/test/extra_codec_test.dart/0
{ "file_path": "packages/packages/go_router/example/test/extra_codec_test.dart", "repo_id": "packages", "token_count": 491 }
999
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import 'configuration.dart'; import 'logging.dart'; import 'match.dart'; import 'misc/error_screen.dart'; import 'm...
packages/packages/go_router/lib/src/builder.dart/0
{ "file_path": "packages/packages/go_router/lib/src/builder.dart", "repo_id": "packages", "token_count": 5112 }
1,000
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/widgets.dart'; import 'package:meta/meta.dart'; import 'package:meta/meta_meta.dart'; import 'route.dart'; i...
packages/packages/go_router/lib/src/route_data.dart/0
{ "file_path": "packages/packages/go_router/lib/src/route_data.dart", "repo_id": "packages", "token_count": 4212 }
1,001
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: cascade_invocations, diagnostic_describe_all_properties, unawaited_futures import 'dart:async'; import 'package:collection/collection...
packages/packages/go_router/test/go_router_test.dart/0
{ "file_path": "packages/packages/go_router/test/go_router_test.dart", "repo_id": "packages", "token_count": 88356 }
1,002
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package: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/routing_config_test.dart/0
{ "file_path": "packages/packages/go_router/test/routing_config_test.dart", "repo_id": "packages", "token_count": 2016 }
1,003
# Configuration for https://pub.dev/packages/build_config # In general, this file is NOT needed when using go_router_builder # It is included in this case to suppress lints that are enforced in the source # repository but not this builder. targets: $default: builders: source_gen|combining_builder: o...
packages/packages/go_router_builder/example/build.yaml/0
{ "file_path": "packages/packages/go_router_builder/example/build.yaml", "repo_id": "packages", "token_count": 151 }
1,004
// GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: always_specify_types, public_member_api_docs part of 'simple_example.dart'; // ************************************************************************** // GoRouterGenerator // ************************************************************************** L...
packages/packages/go_router_builder/example/lib/simple_example.g.dart/0
{ "file_path": "packages/packages/go_router_builder/example/lib/simple_example.g.dart", "repo_id": "packages", "token_count": 565 }
1,005
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. final RegExp _parameterRegExp = RegExp(r':(\w+)(\((?:\\.|[^\\()])+\))?'); /// Extracts the path parameters from a [pattern] such as `/user/:id`. /// /// T...
packages/packages/go_router_builder/lib/src/path_utils.dart/0
{ "file_path": "packages/packages/go_router_builder/lib/src/path_utils.dart", "repo_id": "packages", "token_count": 492 }
1,006
RouteBase get $iterableWithEnumRoute => GoRouteData.$route( path: '/iterable-with-enum', factory: $IterableWithEnumRouteExtension._fromState, ); extension $IterableWithEnumRouteExtension on IterableWithEnumRoute { static IterableWithEnumRoute _fromState(GoRouterState state) => IterableWithEnumR...
packages/packages/go_router_builder/test_inputs/iterable_with_enum.dart.expect/0
{ "file_path": "packages/packages/go_router_builder/test_inputs/iterable_with_enum.dart.expect", "repo_id": "packages", "token_count": 505 }
1,007
RouteBase get $nullableRequiredParamNotInPath => GoRouteData.$route( path: 'bob', factory: $NullableRequiredParamNotInPathExtension._fromState, ); extension $NullableRequiredParamNotInPathExtension on NullableRequiredParamNotInPath { static NullableRequiredParamNotInPath _fromState(GoRouterState ...
packages/packages/go_router_builder/test_inputs/required_parameters_not_in_path_can_be_null.dart.expect/0
{ "file_path": "packages/packages/go_router_builder/test_inputs/required_parameters_not_in_path_can_be_null.dart.expect", "repo_id": "packages", "token_count": 382 }
1,008
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:js_interop'; import 'package:web/web.dart' as web; import 'js_interop/load_callback.dart'; import 'js_interop/package_w...
packages/packages/google_identity_services_web/lib/src/js_loader.dart/0
{ "file_path": "packages/packages/google_identity_services_web/lib/src/js_loader.dart", "repo_id": "packages", "token_count": 734 }
1,009
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import '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/google_map_test.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter/test/google_map_test.dart", "repo_id": "packages", "token_count": 6894 }
1,010
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugins.googlemaps; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.model.Circle; import com.google.an...
packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/CirclesController.java/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/CirclesController.java", "repo_id": "packages", "token_count": 1246 }
1,011
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugins.googlemaps; import com.google.android.gms.maps.model.LatLng; import java.util.List; /** Receiver of Polygon configuration opti...
packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolygonOptionsSink.java/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolygonOptionsSink.java", "repo_id": "packages", "token_count": 220 }
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. package io.flutter.plugins.googlemaps; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.M...
packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/MarkersControllerTest.java/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/MarkersControllerTest.java", "repo_id": "packages", "token_count": 1616 }
1,013
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.plugins.googlemapsexample"> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <application android:label="google_maps_flutter_e...
packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/main/AndroidManifest.xml/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/src/main/AndroidManifest.xml", "repo_id": "packages", "token_count": 632 }
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. // 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/place_circle.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/place_circle.dart", "repo_id": "packages", "token_count": 3265 }
1,015
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "GoogleMapPolygonController.h" #import "FLTGoogleMapJSONConversions.h" @interface FLTGoogleMapPolygonController () @property(strong, nonatomic) G...
packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapPolygonController.m/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapPolygonController.m", "repo_id": "packages", "token_count": 2376 }
1,016
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import '../../google_maps_flutter_platform_interface.dart'; /// Configuration options for the GoogleMaps user inte...
packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/map_configuration.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/map_configuration.dart", "repo_id": "packages", "token_count": 3871 }
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 'types.dart'; /// An interface for a class that provides the tile images for a TileOverlay. abstract class TileProvider { /// Stub tile that is u...
packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/tile_provider.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/tile_provider.dart", "repo_id": "packages", "token_count": 167 }
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/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:google_m...
packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/bitmap_test.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/bitmap_test.dart", "repo_id": "packages", "token_count": 4161 }
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 'dart:async'; import 'package:flutter/foundation.dart' show visibleForTesting; import 'package:google_sign_in_platform_interface/google_sign_in_pla...
packages/packages/google_sign_in/google_sign_in_android/lib/google_sign_in_android.dart/0
{ "file_path": "packages/packages/google_sign_in/google_sign_in_android/lib/google_sign_in_android.dart", "repo_id": "packages", "token_count": 1198 }
1,020
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
packages/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "packages/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Configs/Debug.xcconfig", "repo_id": "packages", "token_count": 32 }
1,021
targets: $default: sources: - integration_test/*.dart - lib/$lib$ - $package$ builders: mockito|mockBuilder: generate_for: - integration_test/**
packages/packages/google_sign_in/google_sign_in_web/example/build.yaml/0
{ "file_path": "packages/packages/google_sign_in/google_sign_in_web/example/build.yaml", "repo_id": "packages", "token_count": 97 }
1,022
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugins.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/ImageResizerTest.java/0
{ "file_path": "packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/ImageResizerTest.java", "repo_id": "packages", "token_count": 3161 }
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 "FLTImagePickerImageUtil.h" #import <MobileCoreServices/MobileCoreServices.h> @interface GIFInfo () @property(strong, nonatomic, readwrite) NSArr...
packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerImageUtil.m/0
{ "file_path": "packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerImageUtil.m", "repo_id": "packages", "token_count": 2102 }
1,024
## 2.9.4 * Updates minimum supported SDK version to Flutter 3.19/Dart 3.3. * Removes a few deprecated API usages. ## 2.9.3 * Updates minimum required plugin_platform_interface version to 2.1.7. ## 2.9.2 * Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. * Fixes new lint warnings. ## 2.9.1 * Adds p...
packages/packages/image_picker/image_picker_platform_interface/CHANGELOG.md/0
{ "file_path": "packages/packages/image_picker/image_picker_platform_interface/CHANGELOG.md", "repo_id": "packages", "token_count": 1327 }
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 'dart:convert'; import 'dart:io'; import 'dart:typed_data'; import './base.dart'; /// A PickedFile backed by a dart:io File. class PickedFile exte...
packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/io.dart/0
{ "file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/io.dart", "repo_id": "packages", "token_count": 335 }
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 'package:flutter_test/flutter_test.dart'; import 'package:in_app_purchase/in_app_purchase.dart'; import 'package:integration_test/integration_test.d...
packages/packages/in_app_purchase/in_app_purchase/example/integration_test/in_app_purchase_test.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase/example/integration_test/in_app_purchase_test.dart", "repo_id": "packages", "token_count": 182 }
1,027
## 0.3.2 * Adds UserChoiceBilling APIs to platform addition. * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. ## 0.3.1 * Adds alternative-billing-only APIs to InAppPurchaseAndroidPlatformAddition. ## 0.3.0+18 * Adds new getCountryCode() method to InAppPurchaseAndroidPlatformAddition to get a custo...
packages/packages/in_app_purchase/in_app_purchase_android/CHANGELOG.md/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/CHANGELOG.md", "repo_id": "packages", "token_count": 2415 }
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.inapppurchase; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.jun...
packages/packages/in_app_purchase/in_app_purchase_android/android/src/test/java/io/flutter/plugins/inapppurchase/TranslatorTest.java/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/android/src/test/java/io/flutter/plugins/inapppurchase/TranslatorTest.java", "repo_id": "packages", "token_count": 4847 }
1,029
mock-maker-inline
packages/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/example/android/app/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker", "repo_id": "packages", "token_count": 7 }
1,030
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'alternative_billing_only_reporting_details_wrapper.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** AlternativeBillingOnlyR...
packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/alternative_billing_only_reporting_details_wrapper.g.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/alternative_billing_only_reporting_details_wrapper.g.dart", "repo_id": "packages", "token_count": 228 }
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 'package:flutter/foundation.dart'; import 'package:json_annotation/json_annotation.dart'; import 'billing_client_wrapper.dart'; import 'product_det...
packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/subscription_offer_details_wrapper.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/subscription_offer_details_wrapper.dart", "repo_id": "packages", "token_count": 1651 }
1,032
name: in_app_purchase_android description: An implementation for the Android platform of the Flutter `in_app_purchase` plugin. This uses the Android BillingClient APIs. repository: https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase_android issue_tracker: https://github.com/flutter/fl...
packages/packages/in_app_purchase/in_app_purchase_android/pubspec.yaml/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/pubspec.yaml", "repo_id": "packages", "token_count": 388 }
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 'dart:async'; import '../messages.g.dart'; InAppPurchaseAPI _hostApi = InAppPurchaseAPI(); // ignore: avoid_classes_with_only_static_members /// ...
packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_receipt_manager.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_receipt_manager.dart", "repo_id": "packages", "token_count": 359 }
1,034
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:in_app_purchase_storekit/src/messages.g.dart'; imp...
packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/sk_methodchannel_apis_test.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/sk_methodchannel_apis_test.dart", "repo_id": "packages", "token_count": 3597 }
1,035
org.gradle.jvmargs=-Xmx4G android.useAndroidX=true android.enableJetifier=true
packages/packages/local_auth/local_auth/example/android/gradle.properties/0
{ "file_path": "packages/packages/local_auth/local_auth/example/android/gradle.properties", "repo_id": "packages", "token_count": 30 }
1,036
rootProject.name = 'local_auth'
packages/packages/local_auth/local_auth_android/android/settings.gradle/0
{ "file_path": "packages/packages/local_auth/local_auth_android/android/settings.gradle", "repo_id": "packages", "token_count": 11 }
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:flutter/foundation.dart' show visibleForTesting; import 'package:flutter/services.dart'; import 'package:local_auth_platform_interface/loca...
packages/packages/local_auth/local_auth_android/lib/local_auth_android.dart/0
{ "file_path": "packages/packages/local_auth/local_auth_android/lib/local_auth_android.dart", "repo_id": "packages", "token_count": 2114 }
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. // Autogenerated from Pigeon (v13.1.2), do not edit directly. // See also: https://pub.dev/packages/pigeon #import <Foundation/Foundation.h> @protocol Flu...
packages/packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.h/0
{ "file_path": "packages/packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.h", "repo_id": "packages", "token_count": 1847 }
1,039
// Mocks generated by Mockito 5.4.4 from annotations // in local_auth_darwin/test/local_auth_darwin_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i3; import 'package:local_auth_darwin/src/messages.g.dart' as _i2; import 'package:m...
packages/packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.mocks.dart/0
{ "file_path": "packages/packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.mocks.dart", "repo_id": "packages", "token_count": 1280 }
1,040
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// Strings used for MetricPoint tag keys const String kGithubRepoKey = 'gitRepo'; /// Strings used for MetricPoint tag keys const String kGitRevisionKey ...
packages/packages/metrics_center/lib/src/constants.dart/0
{ "file_path": "packages/packages/metrics_center/lib/src/constants.dart", "repo_id": "packages", "token_count": 487 }
1,041
## NEXT * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. ## 0.3.2+6 * Improves links in README.md. ## 0.3.2+5 * Updates `PendingRequest` to be a `base class` for Dart 3.0 compatibility. * Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. ## 0.3.2+4 * Adds pub topics to package meta...
packages/packages/multicast_dns/CHANGELOG.md/0
{ "file_path": "packages/packages/multicast_dns/CHANGELOG.md", "repo_id": "packages", "token_count": 521 }
1,042
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:multicast_dns/src/lookup_resolver.dart'; import 'package:multicast_dns/src/resource_record.dart'; import 'package:test/t...
packages/packages/multicast_dns/test/lookup_resolver_test.dart/0
{ "file_path": "packages/packages/multicast_dns/test/lookup_resolver_test.dart", "repo_id": "packages", "token_count": 1427 }
1,043
#include "Generated.xcconfig"
packages/packages/palette_generator/example/ios/Flutter/Debug.xcconfig/0
{ "file_path": "packages/packages/palette_generator/example/ios/Flutter/Debug.xcconfig", "repo_id": "packages", "token_count": 12 }
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. // TODO(goderbauer): Fix this warning for the classes in this file. // ignore_for_file: avoid_equals_and_hash_code_on_mutable_classes import 'dart:async';...
packages/packages/palette_generator/lib/palette_generator.dart/0
{ "file_path": "packages/packages/palette_generator/lib/palette_generator.dart", "repo_id": "packages", "token_count": 16153 }
1,045
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:flutter_test/flutter_test.dart'; import 'package:path_provider_example/readme_excerpts.dart'; import 'package:path_provi...
packages/packages/path_provider/path_provider/example/test/readme_excerpts_test.dart/0
{ "file_path": "packages/packages/path_provider/path_provider/example/test/readme_excerpts_test.dart", "repo_id": "packages", "token_count": 380 }
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. package io.flutter.plugins.pathprovider; import android.os.Build.VERSION; import android.os.Build.VERSION_CODES; import android.os.Environment; /** Helps...
packages/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java/0
{ "file_path": "packages/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java", "repo_id": "packages", "token_count": 649 }
1,047
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.security.application-groups</key> <array> <string>group.flutter.appGroupTest</string> </array> </dict> </plist>
packages/packages/path_provider/path_provider_foundation/example/ios/Runner/Runner.entitlements/0
{ "file_path": "packages/packages/path_provider/path_provider_foundation/example/ios/Runner/Runner.entitlements", "repo_id": "packages", "token_count": 130 }
1,048
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:path_provider_linux/path_provider_linux.dart'; void main()...
packages/packages/path_provider/path_provider_linux/example/lib/main.dart/0
{ "file_path": "packages/packages/path_provider/path_provider_linux/example/lib/main.dart", "repo_id": "packages", "token_count": 1129 }
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:ffi'; import 'package:ffi/ffi.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:path_provider_linux/src/get_application_...
packages/packages/path_provider/path_provider_linux/test/get_application_id_test.dart/0
{ "file_path": "packages/packages/path_provider/path_provider_linux/test/get_application_id_test.dart", "repo_id": "packages", "token_count": 581 }
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. import 'dart:ffi'; import 'dart:io'; import 'package:flutter_test/flutter_test.dart'; import 'package:path_provider_platform_interface/path_provider_platf...
packages/packages/path_provider/path_provider_windows/test/path_provider_windows_test.dart/0
{ "file_path": "packages/packages/path_provider/path_provider_windows/test/path_provider_windows_test.dart", "repo_id": "packages", "token_count": 2450 }
1,051
# This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # # This file should be version controlled. version: revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf channel: stable project_type: app # Tracks metadata for the flutter migrate comman...
packages/packages/pigeon/example/app/.metadata/0
{ "file_path": "packages/packages/pigeon/example/app/.metadata", "repo_id": "packages", "token_count": 758 }
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 'ast.dart'; import 'functional.dart'; import 'generator.dart'; import 'generator_tools.dart'; import 'pigeon_lib.dart' show TaskQueueType; /// Docu...
packages/packages/pigeon/lib/java_generator.dart/0
{ "file_path": "packages/packages/pigeon/lib/java_generator.dart", "repo_id": "packages", "token_count": 17316 }
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. // This file is an example pigeon file that is used in compilation, unit, mock // handler, and e2e tests. import 'package:pigeon/pigeon.dart'; class Null...
packages/packages/pigeon/pigeons/null_fields.dart/0
{ "file_path": "packages/packages/pigeon/pigeons/null_fields.dart", "repo_id": "packages", "token_count": 359 }
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. package com.example.alternate_language_test_plugin; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import androidx.annotation.Non...
packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/AsyncTest.java/0
{ "file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/AsyncTest.java", "repo_id": "packages", "token_count": 1459 }
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; @import XCTest; @import alternate_language_test_plugin; #import "HandlerBinaryMessenger.h" ////////////////////////////////////////////...
packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MultipleArityTest.m/0
{ "file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MultipleArityTest.m", "repo_id": "packages", "token_count": 452 }
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 "AlternateLanguageTestPlugin.h" #import "CoreTests.gen.h" @interface AlternateLanguageTestPlugin () @property(nonatomic) FlutterIntegrationCoreAp...
packages/packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/AlternateLanguageTestPlugin.m/0
{ "file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/AlternateLanguageTestPlugin.m", "repo_id": "packages", "token_count": 9607 }
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. // // 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/multiple_arity.gen.dart/0
{ "file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/multiple_arity.gen.dart", "repo_id": "packages", "token_count": 1766 }
1,058
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mockito/annotations.dart'; import 'package:mockito...
packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/primitive_test.dart/0
{ "file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/primitive_test.dart", "repo_id": "packages", "token_count": 1066 }
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. package com.example.test_plugin import io.flutter.plugin.common.BinaryMessenger import io.flutter.plugin.common.MessageCodec import java.nio.ByteBuffer im...
packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/EchoBinaryMessenger.kt/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/EchoBinaryMessenger.kt", "repo_id": "packages", "token_count": 304 }
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 Foundation func equals(_ x: Any?, _ y: Any?) -> Bool { if x == nil, y == nil { return true } guard let x = x as? AnyHashable, let y = y ...
packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/Utils.swift/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/Utils.swift", "repo_id": "packages", "token_count": 347 }
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. // // Autogenerated from Pigeon, do not edit directly. // See also: https://pub.dev/packages/pigeon #undef _HAS_EXCEPTIONS #include "core_tests.gen.h" #i...
packages/packages/pigeon/platform_tests/test_plugin/windows/pigeon/core_tests.gen.cpp/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/windows/pigeon/core_tests.gen.cpp", "repo_id": "packages", "token_count": 102837 }
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 'package:pigeon/ast.dart'; import 'package:pigeon/ast_generator.dart'; import 'package:test/test.dart'; void main() { test('gen one class', () { ...
packages/packages/pigeon/test/ast_generator_test.dart/0
{ "file_path": "packages/packages/pigeon/test/ast_generator_test.dart", "repo_id": "packages", "token_count": 395 }
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:io' show Platform; import 'package:path/path.dart' as p; import 'package:pigeon/generator_tools.dart'; import 'package:pigeon/pigeon.dart'; ...
packages/packages/pigeon/tool/shared/generation.dart/0
{ "file_path": "packages/packages/pigeon/tool/shared/generation.dart", "repo_id": "packages", "token_count": 3850 }
1,064
pluginManagement { def flutterSdkPath = { def properties = new Properties() file("local.properties").withInputStream { properties.load(it) } def flutterSdkPath = properties.getProperty("flutter.sdk") assert flutterSdkPath != null, "flutter.sdk not set in local.properties" ret...
packages/packages/platform/example/android/settings.gradle/0
{ "file_path": "packages/packages/platform/example/android/settings.gradle", "repo_id": "packages", "token_count": 386 }
1,065
#include "ephemeral/Flutter-Generated.xcconfig"
packages/packages/platform/example/macos/Flutter/Flutter-Debug.xcconfig/0
{ "file_path": "packages/packages/platform/example/macos/Flutter/Flutter-Debug.xcconfig", "repo_id": "packages", "token_count": 19 }
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 'dart:io' as io; import 'package:platform/platform.dart'; import 'package:test/test.dart'; void _expectPlatformsEqual(Platform actual, Platform ex...
packages/packages/platform/test/fake_platform_test.dart/0
{ "file_path": "packages/packages/platform/test/fake_platform_test.dart", "repo_id": "packages", "token_count": 2484 }
1,067
# pointer_interceptor | | iOS | Web | |-------------|---------|-----| | **Support** | iOS 12+ | Any | `PointerInterceptor` is a widget that prevents mouse events from being captured by an underlying [`HtmlElementView`](https://api.flutter.dev/flutter/widgets/HtmlElementView-class.html) in web, or an u...
packages/packages/pointer_interceptor/pointer_interceptor/README.md/0
{ "file_path": "packages/packages/pointer_interceptor/pointer_interceptor/README.md", "repo_id": "packages", "token_count": 1285 }
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:flutter/material.dart'; import 'package:flutter/services.dart'; /// A widget representing an underlying platform view. class NativeWidget ...
packages/packages/pointer_interceptor/pointer_interceptor/example/lib/platforms/native_widget_ios.dart/0
{ "file_path": "packages/packages/pointer_interceptor/pointer_interceptor/example/lib/platforms/native_widget_ios.dart", "repo_id": "packages", "token_count": 279 }
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 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:pointer_interceptor_platform_interface/pointer_interceptor_...
packages/packages/pointer_interceptor/pointer_interceptor_ios/example/lib/main.dart/0
{ "file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/example/lib/main.dart", "repo_id": "packages", "token_count": 804 }
1,070
# pointer_interceptor_platform_interface A common platform interface for the [`pointer_interceptor`][1] plugin. This interface allows platform-specific implementations of the `pointer_interceptor` plugin, as well as the plugin itself, to ensure they are supporting the same interface. # Usage To implement a new plat...
packages/packages/pointer_interceptor/pointer_interceptor_platform_interface/README.md/0
{ "file_path": "packages/packages/pointer_interceptor/pointer_interceptor_platform_interface/README.md", "repo_id": "packages", "token_count": 255 }
1,071
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:file/local.dart'; import 'package:path/path.dart' show Context; import 'package:platform/platform.dart'; ...
packages/packages/process/lib/src/interface/common.dart/0
{ "file_path": "packages/packages/process/lib/src/interface/common.dart", "repo_id": "packages", "token_count": 1865 }
1,072
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="io.flutter.plugins.quickactions"> <uses-sdk tools:overrideLibrary="android_libs.ub_uiautomator"/> </manifest>
packages/packages/quick_actions/quick_actions_android/android/src/main/AndroidManifest.xml/0
{ "file_path": "packages/packages/quick_actions/quick_actions_android/android/src/main/AndroidManifest.xml", "repo_id": "packages", "token_count": 104 }
1,073
There are several examples. * `hello` shows how `RemoteWidget` can render some widgets from a description interpreted at runtime. * `local` shows how to create new local widget definitions for use in remote widget descriptions. * `remote` is a proof-of-concept showing files being obtained from a remote server ...
packages/packages/rfw/example/README.md/0
{ "file_path": "packages/packages/rfw/example/README.md", "repo_id": "packages", "token_count": 120 }
1,074
name: hello description: Hello World example for RFW publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: sdk: ^3.2.0 flutter: ">=3.16.0" dependencies: flutter: sdk: flutter rfw: path: ../../
packages/packages/rfw/example/hello/pubspec.yaml/0
{ "file_path": "packages/packages/rfw/example/hello/pubspec.yaml", "repo_id": "packages", "token_count": 107 }
1,075
#include "Generated.xcconfig"
packages/packages/rfw/example/local/ios/Flutter/Debug.xcconfig/0
{ "file_path": "packages/packages/rfw/example/local/ios/Flutter/Debug.xcconfig", "repo_id": "packages", "token_count": 12 }
1,076
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
packages/packages/rfw/example/local/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "packages/packages/rfw/example/local/macos/Runner/Configs/Release.xcconfig", "repo_id": "packages", "token_count": 32 }
1,077
buildFlags: global: - "--no-tree-shake-icons"
packages/packages/rfw/example/remote/.pluginToolsConfig.yaml/0
{ "file_path": "packages/packages/rfw/example/remote/.pluginToolsConfig.yaml", "repo_id": "packages", "token_count": 23 }
1,078
This directory contains the source files (.rfwtxt) for the binary UI descriptions (.rfw) that are used by the demo. To convert the source files to binary files run `encode.dart` in this directory.
packages/packages/rfw/example/remote/remote_widget_libraries/README.md/0
{ "file_path": "packages/packages/rfw/example/remote/remote_widget_libraries/README.md", "repo_id": "packages", "token_count": 53 }
1,079
# Example of using Wasm with RFW In this example, the application downloads both RFW descriptions of UI and Wasm logic to drive it. The Flutter application itself does not contain any of the calculator UI or logic. Currently this only runs on macOS, Windows, and Linux, since `package:wasm` does not yet support Androi...
packages/packages/rfw/example/wasm/README.md/0
{ "file_path": "packages/packages/rfw/example/wasm/README.md", "repo_id": "packages", "token_count": 454 }
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. // This file is hand-formatted. // This file must not import `dart:ui`, directly or indirectly, as it is // intended to function even in pure Dart server ...
packages/packages/rfw/lib/src/dart/model.dart/0
{ "file_path": "packages/packages/rfw/lib/src/dart/model.dart", "repo_id": "packages", "token_count": 9206 }
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/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:rfw/formats.dart' show parseLibraryFile; import 'pa...
packages/packages/rfw/test/remote_widget_test.dart/0
{ "file_path": "packages/packages/rfw/test/remote_widget_test.dart", "repo_id": "packages", "token_count": 646 }
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. import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:shared_preferences/shared_preferences.dart'; impor...
packages/packages/shared_preferences/shared_preferences/test/shared_preferences_test.dart/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences/test/shared_preferences_test.dart", "repo_id": "packages", "token_count": 4784 }
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 'dart:async'; import 'package:flutter/services.dart'; import 'shared_preferences_platform_interface.dart'; import 'types.dart'; const MethodChann...
packages/packages/shared_preferences/shared_preferences_platform_interface/lib/method_channel_shared_preferences.dart/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences_platform_interface/lib/method_channel_shared_preferences.dart", "repo_id": "packages", "token_count": 964 }
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 'dart:async'; import 'dart:convert' show json; import 'package:flutter_web_plugins/flutter_web_plugins.dart'; import 'package:shared_preferences_pl...
packages/packages/shared_preferences/shared_preferences_web/lib/shared_preferences_web.dart/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences_web/lib/shared_preferences_web.dart", "repo_id": "packages", "token_count": 1208 }
1,085