text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// ignore_for_file: prefer_const_constructors import 'package:flutter_news_example/login/login.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { group('LoginWithEmailLinkEvent', () { group('LoginWithEmailLinkSubmitted', () { test('supports value comparisons', () { final emailLi...
news_toolkit/flutter_news_example/test/login/bloc/login_with_email_link_event_test.dart/0
{ "file_path": "news_toolkit/flutter_news_example/test/login/bloc/login_with_email_link_event_test.dart", "repo_id": "news_toolkit", "token_count": 196 }
971
// ignore_for_file: prefer_const_constructors import 'package:flutter_news_example/newsletter/newsletter.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { group('NewsletterEvent', () { const testEmail = 'test@test.com'; group('EmailChanged', () { test('supports value comparisons', (...
news_toolkit/flutter_news_example/test/newsletter/bloc/newsletter_event_test.dart/0
{ "file_path": "news_toolkit/flutter_news_example/test/newsletter/bloc/newsletter_event_test.dart", "repo_id": "news_toolkit", "token_count": 295 }
972
// ignore_for_file: prefer_const_constructors import 'package:bloc_test/bloc_test.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_news_example/feed/feed.dart'; import 'package:flutter_news_example/search/search.dart'; import 'package:flutter_news_...
news_toolkit/flutter_news_example/test/search/view/search_page_test.dart/0
{ "file_path": "news_toolkit/flutter_news_example/test/search/view/search_page_test.dart", "repo_id": "news_toolkit", "token_count": 1923 }
973
// ignore_for_file: prefer_const_constructors import 'package:flutter/material.dart'; import 'package:flutter_news_example/terms_of_service/terms_of_service.dart'; import 'package:flutter_test/flutter_test.dart'; import '../../helpers/helpers.dart'; void main() { const termsOfServiceBodyTextKey = Key('termsOfServi...
news_toolkit/flutter_news_example/test/terms_of_service/widgets/terms_of_service_body_test.dart/0
{ "file_path": "news_toolkit/flutter_news_example/test/terms_of_service/widgets/terms_of_service_body_test.dart", "repo_id": "news_toolkit", "token_count": 447 }
974
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="{{flavors.name}}" type="FlutterRunConfigurationType" factoryName="Flutter" singleton="false"> <option name="additionalArgs" value="--dart-define FLAVOR_DEEP_LINK_DOMAIN={{flavors.deep_link_domain}} --dart-define FLAVOR_DEEP_LIN...
news_toolkit/tool/generator/static/intellij_run_configuration.xml/0
{ "file_path": "news_toolkit/tool/generator/static/intellij_run_configuration.xml", "repo_id": "news_toolkit", "token_count": 268 }
975
#!/bin/bash # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # The name here must match create_simulator.sh readonly DEVICE_NAME=Flutter-iPhone # Allow boot to fail; cases like "Unable to boot device...
packages/.ci/scripts/boot_simulator.sh/0
{ "file_path": "packages/.ci/scripts/boot_simulator.sh", "repo_id": "packages", "token_count": 131 }
976
#!/bin/bash # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # The name here must match create_simulator.sh readonly DEVICE_NAME=Flutter-iPhone # Allow shutdown to fail; cases like "already shut down...
packages/.ci/scripts/remove_simulator.sh/0
{ "file_path": "packages/.ci/scripts/remove_simulator.sh", "repo_id": "packages", "token_count": 129 }
977
tasks: - name: prepare tool script: .ci/scripts/prepare_tool.sh infra_step: true # Note infra steps failing prevents "always" from running. - name: create all_packages app script: .ci/scripts/create_all_packages_app.sh infra_step: true # Note infra steps failing prevents "always" from running. - n...
packages/.ci/targets/linux_build_all_packages.yaml/0
{ "file_path": "packages/.ci/targets/linux_build_all_packages.yaml", "repo_id": "packages", "token_count": 192 }
978
BasedOnStyle: Google --- Language: Cpp DerivePointerAlignment: false PointerAlignment: Left --- Language: ObjC DerivePointerAlignment: false PointerAlignment: Right
packages/.clang-format/0
{ "file_path": "packages/.clang-format", "repo_id": "packages", "token_count": 52 }
979
## NEXT * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. ## 2.0.11 * Fixes new lint warnings. ## 2.0.10 * Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. ## 2.0.9 * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. * Migrate motion curves to use `Easing` class. ## ...
packages/packages/animations/CHANGELOG.md/0
{ "file_path": "packages/packages/animations/CHANGELOG.md", "repo_id": "packages", "token_count": 881 }
980
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui' as ui; import 'package:flutter/material.dart'; import 'fade_scale_transition.dart'; /// Signature for a function that creates a widget ...
packages/packages/animations/lib/src/modal.dart/0
{ "file_path": "packages/packages/animations/lib/src/modal.dart", "repo_id": "packages", "token_count": 2330 }
981
buildFlags: _pluginToolsConfigGlobalKey: - "--no-tree-shake-icons" - "--dart-define=buildmode=testing"
packages/packages/camera/camera/example/.pluginToolsConfig.yaml/0
{ "file_path": "packages/packages/camera/camera/example/.pluginToolsConfig.yaml", "repo_id": "packages", "token_count": 45 }
982
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:collection'; import 'dart:math'; import 'package:camera_platform_interface/camera_platform_interface.dart'; import 'pack...
packages/packages/camera/camera/lib/src/camera_controller.dart/0
{ "file_path": "packages/packages/camera/camera/lib/src/camera_controller.dart", "repo_id": "packages", "token_count": 11250 }
983
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugins.camera; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import androi...
packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java/0
{ "file_path": "packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java", "repo_id": "packages", "token_count": 16534 }
984
name: camera_android description: Android implementation of the camera plugin. repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22 version: 0.10.8+17 environment: sdk: ^3.1....
packages/packages/camera/camera_android/pubspec.yaml/0
{ "file_path": "packages/packages/camera/camera_android/pubspec.yaml", "repo_id": "packages", "token_count": 311 }
985
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugins.camerax; import androidx.annotation.NonNull; import androidx.annotation.VisibleForTesting; import androidx.camera.core.resoluti...
packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/AspectRatioStrategyHostApiImpl.java/0
{ "file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/AspectRatioStrategyHostApiImpl.java", "repo_id": "packages", "token_count": 746 }
986
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugins.camerax; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android....
packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/DeviceOrientationManager.java/0
{ "file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/DeviceOrientationManager.java", "repo_id": "packages", "token_count": 2039 }
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. package io.flutter.plugins.camerax; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.camera.core.CameraState; impo...
packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/LiveDataHostApiImpl.java/0
{ "file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/LiveDataHostApiImpl.java", "repo_id": "packages", "token_count": 1384 }
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. package io.flutter.plugins.camerax; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.VisibleForTesting;...
packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/ResolutionSelectorHostApiImpl.java/0
{ "file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/ResolutionSelectorHostApiImpl.java", "repo_id": "packages", "token_count": 1057 }
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. package io.flutter.plugins.camerax; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import static org.mockito.ArgumentMa...
packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/CameraStateTest.java/0
{ "file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/CameraStateTest.java", "repo_id": "packages", "token_count": 1352 }
990
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugins.camerax; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThrows; import static org.mockito.Ar...
packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/ObserverTest.java/0
{ "file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/ObserverTest.java", "repo_id": "packages", "token_count": 1753 }
991
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/camera/camera_android_camerax/example/android/app/build.gradle/0
{ "file_path": "packages/packages/camera/camera_android_camerax/example/android/app/build.gradle", "repo_id": "packages", "token_count": 827 }
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 'analyzer.dart'; import 'camera.dart'; import 'camera_control.dart'; import 'camera_info.dart'; import 'camera_selector.dart'; import 'camera_state....
packages/packages/camera/camera_android_camerax/lib/src/android_camera_camerax_flutter_api_impls.dart/0
{ "file_path": "packages/packages/camera/camera_android_camerax/lib/src/android_camera_camerax_flutter_api_impls.dart", "repo_id": "packages", "token_count": 3170 }
993
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/services.dart' show BinaryMessenger; import 'package:meta/meta.dart' show immutable; import 'android_camera_camerax_flutter_api_im...
packages/packages/camera/camera_android_camerax/lib/src/focus_metering_result.dart/0
{ "file_path": "packages/packages/camera/camera_android_camerax/lib/src/focus_metering_result.dart", "repo_id": "packages", "token_count": 1242 }
994
// Copyright 2013 The Flutter 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:meta/meta.dart' show immutable; import 'aspect_ratio_strategy.dart'; import 'camerax_library.g.dar...
packages/packages/camera/camera_android_camerax/lib/src/resolution_selector.dart/0
{ "file_path": "packages/packages/camera/camera_android_camerax/lib/src/resolution_selector.dart", "repo_id": "packages", "token_count": 1246 }
995
// Mocks generated by Mockito 5.4.4 from annotations // in camera_android_camerax/test/camera2_camera_control_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i3; import 'package:camera_android_camerax/src/camera_control.dart' as _i2...
packages/packages/camera/camera_android_camerax/test/camera2_camera_control_test.mocks.dart/0
{ "file_path": "packages/packages/camera/camera_android_camerax/test/camera2_camera_control_test.mocks.dart", "repo_id": "packages", "token_count": 2149 }
996
// Mocks generated by Mockito 5.4.4 from annotations // in camera_android_camerax/test/device_orientation_manager_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'package:mockito/mockito.dart' as _i1; import 'test_camerax_library.g.dart' as _i2; //...
packages/packages/camera/camera_android_camerax/test/device_orientation_manager_test.mocks.dart/0
{ "file_path": "packages/packages/camera/camera_android_camerax/test/device_orientation_manager_test.mocks.dart", "repo_id": "packages", "token_count": 968 }
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:camera_android_camerax/src/camera_state.dart'; import 'package:camera_android_camerax/src/camerax_library.g.dart'; import 'package:camera_a...
packages/packages/camera/camera_android_camerax/test/live_data_test.dart/0
{ "file_path": "packages/packages/camera/camera_android_camerax/test/live_data_test.dart", "repo_id": "packages", "token_count": 1965 }
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:camera_android_camerax/src/camerax_library.g.dart'; import 'package:camera_android_camerax/src/instance_manager.dart'; import 'package:came...
packages/packages/camera/camera_android_camerax/test/recorder_test.dart/0
{ "file_path": "packages/packages/camera/camera_android_camerax/test/recorder_test.dart", "repo_id": "packages", "token_count": 2350 }
999
## 0.9.14+1 * Fixes bug where max resolution preset does not produce highest available resolution on iOS. ## 0.9.14 * Adds support to HEIF format. ## 0.9.13+11 * Fixes a memory leak of sample buffer when pause and resume the video recording. * Removes development team from example app. * Updates minimum iOS versio...
packages/packages/camera/camera_avfoundation/CHANGELOG.md/0
{ "file_path": "packages/packages/camera/camera_avfoundation/CHANGELOG.md", "repo_id": "packages", "token_count": 891 }
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 camera_avfoundation; @import camera_avfoundation.Test; @import AVFoundation; @import XCTest; #import <OCMock/OCMock.h> #import "CameraTestUtils.h"...
packages/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraSessionPresetsTests.m/0
{ "file_path": "packages/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraSessionPresetsTests.m", "repo_id": "packages", "token_count": 1128 }
1,001
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "FLTCam.h" #import "FLTSavePhotoDelegate.h" /// Determines the video dimensions (width and height) for a given capture device format. /// Used in ...
packages/packages/camera/camera_avfoundation/ios/Classes/FLTCam_Test.h/0
{ "file_path": "packages/packages/camera/camera_avfoundation/ios/Classes/FLTCam_Test.h", "repo_id": "packages", "token_count": 1265 }
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/services.dart'; import 'package:flutter_test/flutter_test.dart'; class MethodChannelMock { MethodChannelMock({ required Stri...
packages/packages/camera/camera_platform_interface/test/utils/method_channel_mock.dart/0
{ "file_path": "packages/packages/camera/camera_platform_interface/test/utils/method_channel_mock.dart", "repo_id": "packages", "token_count": 405 }
1,003
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:camera_web/src/types/types.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:integration_test/integration_test.dart';...
packages/packages/camera/camera_web/example/integration_test/zoom_level_capability_test.dart/0
{ "file_path": "packages/packages/camera/camera_web/example/integration_test/zoom_level_capability_test.dart", "repo_id": "packages", "token_count": 569 }
1,004
// Copyright 2013 The Flutter 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'; import 'dart:js_interop'; import 'dart:typed_data'; import 'package:meta/meta.dart'; import 'package:web/web.d...
packages/packages/cross_file/lib/src/types/html.dart/0
{ "file_path": "packages/packages/cross_file/lib/src/types/html.dart", "repo_id": "packages", "token_count": 2675 }
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. import 'package:css_colors/css_colors.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test...
packages/packages/css_colors/test/css_colors_test.dart/0
{ "file_path": "packages/packages/css_colors/test/css_colors_test.dart", "repo_id": "packages", "token_count": 224 }
1,006
#include "Generated.xcconfig"
packages/packages/dynamic_layouts/example/ios/Flutter/Release.xcconfig/0
{ "file_path": "packages/packages/dynamic_layouts/example/ios/Flutter/Release.xcconfig", "repo_id": "packages", "token_count": 12 }
1,007
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
packages/packages/dynamic_layouts/example/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "packages/packages/dynamic_layouts/example/macos/Runner/Configs/Debug.xcconfig", "repo_id": "packages", "token_count": 32 }
1,008
## NEXT * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. * Updates compileSdk version to 34. ## 0.3.0+7 * Replaces call to deprecated `getObservatoryUri`. * Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. ## 0.3.0+6 * Adds pub topics to package metadata. * Updates minimum supported...
packages/packages/espresso/CHANGELOG.md/0
{ "file_path": "packages/packages/espresso/CHANGELOG.md", "repo_id": "packages", "token_count": 1130 }
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. package androidx.test.espresso.flutter.action; import android.view.View; import androidx.test.espresso.UiController; import androidx.test.espresso.flutter...
packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/action/WaitUntilIdleAction.java/0
{ "file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/action/WaitUntilIdleAction.java", "repo_id": "packages", "token_count": 337 }
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 androidx.test.espresso.flutter.internal.idgenerator; /** Thrown if an ID cannot be generated. */ public final class IdException extends RuntimeExc...
packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/idgenerator/IdException.java/0
{ "file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/idgenerator/IdException.java", "repo_id": "packages", "token_count": 189 }
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 androidx.test.espresso.flutter.internal.protocol.impl; /** * Represents a condition that waits until there are no pending platform messages in th...
packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/NoPendingPlatformMessagesCondition.java/0
{ "file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/NoPendingPlatformMessagesCondition.java", "repo_id": "packages", "token_count": 136 }
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 'dart:async'; // #docregion Import import 'package:extension_google_sign_in_as_googleapis_auth/extension_google_sign_in_as_googleapis_auth.dart'; /...
packages/packages/extension_google_sign_in_as_googleapis_auth/example/lib/main.dart/0
{ "file_path": "packages/packages/extension_google_sign_in_as_googleapis_auth/example/lib/main.dart", "repo_id": "packages", "token_count": 1829 }
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:file_selector/file_selector.dart'; import 'package:file_selector_platform_interface/file_selector_platform_interface.dart'; import 'package...
packages/packages/file_selector/file_selector/test/file_selector_test.dart/0
{ "file_path": "packages/packages/file_selector/file_selector/test/file_selector_test.dart", "repo_id": "packages", "token_count": 4799 }
1,014
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <!-- The INTERNET permission is required for development. Specifically, the Flutter tool needs it to communicate with the running application to allow setting breakpoints, to provide hot reload, etc. --> <uses-permission...
packages/packages/file_selector/file_selector_android/example/android/app/src/debug/AndroidManifest.xml/0
{ "file_path": "packages/packages/file_selector/file_selector_android/example/android/app/src/debug/AndroidManifest.xml", "repo_id": "packages", "token_count": 485 }
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. // Autogenerated from Pigeon (v13.0.0), do not edit directly. // See also: https://pub.dev/packages/pigeon // ignore_for_file: public_member_api_docs, non_c...
packages/packages/file_selector/file_selector_ios/test/test_api.g.dart/0
{ "file_path": "packages/packages/file_selector/file_selector_ios/test/test_api.g.dart", "repo_id": "packages", "token_count": 1252 }
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. #include <gtest/gtest.h> #include <gtk/gtk.h> int main(int argc, char** argv) { gtk_init(0, nullptr); testing::InitGoogleTest(&argc, argv); int exi...
packages/packages/file_selector/file_selector_linux/linux/test/test_main.cc/0
{ "file_path": "packages/packages/file_selector/file_selector_linux/linux/test/test_main.cc", "repo_id": "packages", "token_count": 131 }
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 FlutterMacOS import UniformTypeIdentifiers import XCTest @testable import file_selector_macos class TestPanelController: NSObject, PanelController...
packages/packages/file_selector/file_selector_macos/example/macos/RunnerTests/RunnerTests.swift/0
{ "file_path": "packages/packages/file_selector/file_selector_macos/example/macos/RunnerTests/RunnerTests.swift", "repo_id": "packages", "token_count": 6042 }
1,018
# file\_selector\_web The web implementation of [`file_selector`][1]. ## Usage This package is [endorsed][2], which means you can simply use `file_selector` normally. This package will be automatically included in your app when you do, so you do not need to add it to your `pubspec.yaml`. However, if you `import` th...
packages/packages/file_selector/file_selector_web/README.md/0
{ "file_path": "packages/packages/file_selector/file_selector_web/README.md", "repo_id": "packages", "token_count": 264 }
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:file_selector_platform_interface/file_selector_platform_interface.dart'; import 'src/messages.g.dart'; /// An implementation of [FileSele...
packages/packages/file_selector/file_selector_windows/lib/file_selector_windows.dart/0
{ "file_path": "packages/packages/file_selector/file_selector_windows/lib/file_selector_windows.dart", "repo_id": "packages", "token_count": 1665 }
1,020
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Autogenerated from Pigeon (v10.0.1), do not edit directly. // See also: https://pub.dev/packages/pigeon #undef _HAS_EXCEPTIONS #include "messages.g.h" ...
packages/packages/file_selector/file_selector_windows/windows/messages.g.cpp/0
{ "file_path": "packages/packages/file_selector/file_selector_windows/windows/messages.g.cpp", "repo_id": "packages", "token_count": 4816 }
1,021
#include "ephemeral/Flutter-Generated.xcconfig"
packages/packages/flutter_adaptive_scaffold/example/macos/Flutter/Flutter-Debug.xcconfig/0
{ "file_path": "packages/packages/flutter_adaptive_scaffold/example/macos/Flutter/Flutter-Debug.xcconfig", "repo_id": "packages", "token_count": 19 }
1,022
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
packages/packages/flutter_image/example/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "packages/packages/flutter_image/example/macos/Runner/Configs/Release.xcconfig", "repo_id": "packages", "token_count": 32 }
1,023
#!/bin/bash # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Dart sources are only allowed in the example directory. filecount=`find . -name '*.dart' ! -path './example/*' | wc -l` if [ $filecount -ne 0 ] ...
packages/packages/flutter_lints/run_tests.sh/0
{ "file_path": "packages/packages/flutter_lints/run_tests.sh", "repo_id": "packages", "token_count": 131 }
1,024
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import '../screens/demo_screen.dart'; import '../shared/markdown_demo_widget.dart'; // ignore_for_file: public_mem...
packages/packages/flutter_markdown/example/lib/screens/demo_card.dart/0
{ "file_path": "packages/packages/flutter_markdown/example/lib/screens/demo_card.dart", "repo_id": "packages", "token_count": 892 }
1,025
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
packages/packages/flutter_markdown/example/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "packages/packages/flutter_markdown/example/macos/Runner/Configs/Debug.xcconfig", "repo_id": "packages", "token_count": 32 }
1,026
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:flutter/cupertino.dart' show CupertinoTheme; import 'package:flutter/material.dart' show Theme; import 'package:flutter/...
packages/packages/flutter_markdown/lib/src/_functions_io.dart/0
{ "file_path": "packages/packages/flutter_markdown/lib/src/_functions_io.dart", "repo_id": "packages", "token_count": 998 }
1,027
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; import 'package:flutter_test/flutter_test.dart'; import 'ut...
packages/packages/flutter_markdown/test/html_test.dart/0
{ "file_path": "packages/packages/flutter_markdown/test/html_test.dart", "repo_id": "packages", "token_count": 682 }
1,028
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; import 'package:flutter_test/flutter_test.dart'; import 'ut...
packages/packages/flutter_markdown/test/uri_test.dart/0
{ "file_path": "packages/packages/flutter_markdown/test/uri_test.dart", "repo_id": "packages", "token_count": 1296 }
1,029
// Copyright 2013 The Flutter 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:math' as math; import 'dart:math'; import 'package:intl/intl.dart'; import 'package:meta/meta.dart'; ...
packages/packages/flutter_migrate/lib/src/base/logger.dart/0
{ "file_path": "packages/packages/flutter_migrate/lib/src/base/logger.dart", "repo_id": "packages", "token_count": 15012 }
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. import 'base/file_system.dart'; import 'base/logger.dart'; import 'base/project.dart'; import 'base/terminal.dart'; import 'utils.dart'; /// Checks if th...
packages/packages/flutter_migrate/lib/src/update_locks.dart/0
{ "file_path": "packages/packages/flutter_migrate/lib/src/update_locks.dart", "repo_id": "packages", "token_count": 1555 }
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_migrate/src/base/common.dart'; import 'package:flutter_migrate/src/base/file_system.dart'; import 'package:flutter_migrate/src/base...
packages/packages/flutter_migrate/test/migrate_test.dart/0
{ "file_path": "packages/packages/flutter_migrate/test/migrate_test.dart", "repo_id": "packages", "token_count": 5948 }
1,032
## NEXT * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. * Updates compileSdk version to 34. ## 2.0.17 * Updates annotations lib to 1.7.0. ## 2.0.16 * Adds pub topics to package metadata. * Updates minimum supported SDK version to Flutter 3.7/Dart 2.19. ## 2.0.15 * Fixes Java lints. * Updates mi...
packages/packages/flutter_plugin_android_lifecycle/CHANGELOG.md/0
{ "file_path": "packages/packages/flutter_plugin_android_lifecycle/CHANGELOG.md", "repo_id": "packages", "token_count": 959 }
1,033
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; // This scenario demonstrates how to navigate using named locations ins...
packages/packages/go_router/example/lib/named_routes.dart/0
{ "file_path": "packages/packages/go_router/example/lib/named_routes.dart", "repo_id": "packages", "token_count": 2029 }
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/material.dart'; import 'package:go_router/go_router.dart'; final GlobalKey<NavigatorState> _rootNavigatorKey = GlobalKey<Navig...
packages/packages/go_router/example/lib/shell_route.dart/0
{ "file_path": "packages/packages/go_router/example/lib/shell_route.dart", "repo_id": "packages", "token_count": 3583 }
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_test/flutter_test.dart'; import 'package:go_router_examples/exception_handling.dart' as example; void main() { testWidgets('exam...
packages/packages/go_router/example/test/exception_handling_test.dart/0
{ "file_path": "packages/packages/go_router/example/test/exception_handling_test.dart", "repo_id": "packages", "token_count": 226 }
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. /// A declarative router for Flutter based on Navigation 2 supporting /// deep linking, data-driven routes and more. library go_router; export 'src/builde...
packages/packages/go_router/lib/go_router.dart/0
{ "file_path": "packages/packages/go_router/lib/go_router.dart", "repo_id": "packages", "token_count": 272 }
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 'dart:async'; import 'package:collection/collection.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import ...
packages/packages/go_router/lib/src/route.dart/0
{ "file_path": "packages/packages/go_router/lib/src/route.dart", "repo_id": "packages", "token_count": 17063 }
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. import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:go_router/go_router.dart'; import 'package:go_rout...
packages/packages/go_router/test/go_router_state_test.dart/0
{ "file_path": "packages/packages/go_router/test/go_router_state_test.dart", "repo_id": "packages", "token_count": 5426 }
1,039
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:go_router/go_router.dart'; ...
packages/packages/go_router/test/route_data_test.dart/0
{ "file_path": "packages/packages/go_router/test/route_data_test.dart", "repo_id": "packages", "token_count": 5187 }
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. // ignore_for_file: public_member_api_docs, unreachable_from_main import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; impo...
packages/packages/go_router_builder/example/lib/simple_example.dart/0
{ "file_path": "packages/packages/go_router_builder/example/lib/simple_example.dart", "repo_id": "packages", "token_count": 861 }
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 'dart:async'; import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/dart/element/type.dart'; import 'package:build/build.da...
packages/packages/go_router_builder/lib/src/go_router_generator.dart/0
{ "file_path": "packages/packages/go_router_builder/lib/src/go_router_generator.dart", "repo_id": "packages", "token_count": 1185 }
1,042
## 0.3.1+1 * Uses `TrustedTypes` from `web: ^0.5.1`. ## 0.3.1 * Updates web code to package `web: ^0.5.0`. * Updates SDK version to Dart `^3.3.0`. Flutter `^3.19.0`. ## 0.3.0+2 * Adds `fedcm_auto` to `CredentialSelectBy` enum. * Adds `unknown_reason` to all `Moment*Reason` enums. ## 0.3.0+1 * Corrects 0.3.0 chan...
packages/packages/google_identity_services_web/CHANGELOG.md/0
{ "file_path": "packages/packages/google_identity_services_web/CHANGELOG.md", "repo_id": "packages", "token_count": 1202 }
1,043
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// Attempts to retrieve an enum value from [haystack] if [needle] is not null. T? maybeEnum<T extends Enum>(String? needle, List<T> haystack) { if (need...
packages/packages/google_identity_services_web/lib/src/js_interop/shared.dart/0
{ "file_path": "packages/packages/google_identity_services_web/lib/src/js_interop/shared.dart", "repo_id": "packages", "token_count": 2994 }
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. package io.flutter.plugins.googlemaps; import com.google.android.gms.maps.model.LatLng; /** Receiver of Circle configuration options. */ interface Circle...
packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/CircleOptionsSink.java/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/CircleOptionsSink.java", "repo_id": "packages", "token_count": 189 }
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. package io.flutter.plugins.googlemaps; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.Polygon; import java.util...
packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolygonController.java/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolygonController.java", "repo_id": "packages", "token_count": 641 }
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.googlemaps; import static org.mockito.Mockito.any; import static org.mockito.Mockito.doNothing; import static org.mockito.Mocki...
packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/GoogleMapInitializerTest.java/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/GoogleMapInitializerTest.java", "repo_id": "packages", "token_count": 1325 }
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. // ignore_for_file: public_member_api_docs import 'package:flutter/material.dart'; abstract class GoogleMapExampleAppPage extends StatelessWidget { con...
packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/page.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/page.dart", "repo_id": "packages", "token_count": 123 }
1,048
name: google_maps_flutter_android description: Android implementation of the google_maps_flutter plugin. repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps...
packages/packages/google_maps_flutter/google_maps_flutter_android/pubspec.yaml/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/pubspec.yaml", "repo_id": "packages", "token_count": 372 }
1,049
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:google_maps_flutter_platform_interface/google_maps_...
packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/test/example_google_map_test.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/test/example_google_map_test.dart", "repo_id": "packages", "token_count": 2755 }
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 <Flutter/Flutter.h> #import <GoogleMaps/GoogleMaps.h> // Defines polygon controllable by Flutter. @interface FLTGoogleMapPolygonController : NSObj...
packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapPolygonController.h/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapPolygonController.h", "repo_id": "packages", "token_count": 375 }
1,051
# google_maps_flutter_platform_interface A common platform interface for the [`google_maps_flutter`][1] plugin. This interface allows platform-specific implementations of the `google_maps_flutter` plugin, as well as the plugin itself, to ensure they are supporting the same interface. # Usage To implement a new plat...
packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/README.md/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/README.md", "repo_id": "packages", "token_count": 262 }
1,052
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart' show immutable, objectRuntimeType, visibleForTesting; /// A pair of latitude and longitude coordinates, store...
packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/location.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/location.dart", "repo_id": "packages", "token_count": 1489 }
1,053
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'types.dart'; /// Update specification for a set of [TileOverlay]s. class TileOverlayUpdates extends MapsObjectUpdates<TileOverlay> { /// Compute...
packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/tile_overlay_updates.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/tile_overlay_updates.dart", "repo_id": "packages", "token_count": 274 }
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_test/flutter_test.dart'; import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart'; impor...
packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/platform_interface/google_maps_inspector_platform_test.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/platform_interface/google_maps_inspector_platform_test.dart", "repo_id": "packages", "token_count": 348 }
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. // TODO(srujzs): Needed for https://github.com/dart-lang/sdk/issues/54801. Once // we publish a version with a min SDK constraint that contains this fix, /...
packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/map_styler.dart/0
{ "file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/lib/src/map_styler.dart", "repo_id": "packages", "token_count": 481 }
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. // This header is available in the Test module. Import via "@import google_sign_in.Test;" #import <google_sign_in_ios/FLTGoogleSignInPlugin.h> #import <G...
packages/packages/google_sign_in/google_sign_in_ios/darwin/Classes/FLTGoogleSignInPlugin_Test.h/0
{ "file_path": "packages/packages/google_sign_in/google_sign_in_ios/darwin/Classes/FLTGoogleSignInPlugin_Test.h", "repo_id": "packages", "token_count": 555 }
1,057
// Mocks generated by Mockito 5.4.4 from annotations // in google_sign_in_ios/test/google_sign_in_ios_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i3; import 'package:google_sign_in_ios/src/messages.g.dart' as _i2; import 'packag...
packages/packages/google_sign_in/google_sign_in_ios/test/google_sign_in_ios_test.mocks.dart/0
{ "file_path": "packages/packages/google_sign_in/google_sign_in_ios/test/google_sign_in_ios_test.mocks.dart", "repo_id": "packages", "token_count": 1911 }
1,058
rootProject.name = 'image_picker_android'
packages/packages/image_picker/image_picker_android/android/settings.gradle/0
{ "file_path": "packages/packages/image_picker/image_picker_android/android/settings.gradle", "repo_id": "packages", "token_count": 14 }
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 io.flutter.plugins.imagepicker; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit...
packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/ImagePickerPluginTest.java/0
{ "file_path": "packages/packages/image_picker/image_picker_android/android/src/test/java/io/flutter/plugins/imagepicker/ImagePickerPluginTest.java", "repo_id": "packages", "token_count": 4506 }
1,060
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.plugins.imagepickerexample"> <uses-permission android:name="android.permission.INTERNET"/> <application android:label="Image Picker Example" android:icon="@mipmap/ic_launcher"> <activity android:name="io.flutt...
packages/packages/image_picker/image_picker_android/example/android/app/src/main/AndroidManifest.xml/0
{ "file_path": "packages/packages/image_picker/image_picker_android/example/android/app/src/main/AndroidManifest.xml", "repo_id": "packages", "token_count": 431 }
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. import 'dart:async'; import 'dart:js_interop'; import 'dart:typed_data'; import 'dart:ui'; import 'package:flutter_test/flutter_test.dart'; import 'packag...
packages/packages/image_picker/image_picker_for_web/example/integration_test/image_resizer_test.dart/0
{ "file_path": "packages/packages/image_picker/image_picker_for_web/example/integration_test/image_resizer_test.dart", "repo_id": "packages", "token_count": 2066 }
1,062
# image\_picker\_ios The iOS implementation of [`image_picker`][1]. ## Usage This package is [endorsed][2], which means you can simply use `image_picker` normally. This package will be automatically included in your app when you do, so you do not need to add it to your `pubspec.yaml`. However, if you `import` this ...
packages/packages/image_picker/image_picker_ios/README.md/0
{ "file_path": "packages/packages/image_picker/image_picker_ios/README.md", "repo_id": "packages", "token_count": 177 }
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 <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface GIFInfo : NSObject @property(strong, nonatomic, readonly) N...
packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerImageUtil.h/0
{ "file_path": "packages/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerImageUtil.h", "repo_id": "packages", "token_count": 391 }
1,064
# # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do |s| s.name = 'image_picker_ios' s.version = '0.0.1' s.summary = 'Flutter plugin that shows an image picker.' s.description = <<-DESC A Flutter plugin for picking images fro...
packages/packages/image_picker/image_picker_ios/ios/image_picker_ios.podspec/0
{ "file_path": "packages/packages/image_picker/image_picker_ios/ios/image_picker_ios.podspec", "repo_id": "packages", "token_count": 503 }
1,065
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'dart:typed_data'; import 'package:http/http.dart' as http show readBytes; import './base.dart'; /// A PickedFile that wor...
packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/html.dart/0
{ "file_path": "packages/packages/image_picker/image_picker_platform_interface/lib/src/types/picked_file/html.dart", "repo_id": "packages", "token_count": 460 }
1,066
def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } // Load the build signing secrets from a local `keystore.properties` file. // TO...
packages/packages/in_app_purchase/in_app_purchase/example/android/app/build.gradle/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase/example/android/app/build.gradle", "repo_id": "packages", "token_count": 1544 }
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. package io.flutter.plugins.inapppurchase; import static io.flutter.plugins.inapppurchase.MethodCallHandlerImpl.ACTIVITY_UNAVAILABLE; import static io.flut...
packages/packages/in_app_purchase/in_app_purchase_android/android/src/test/java/io/flutter/plugins/inapppurchase/MethodCallHandlerTest.java/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/android/src/test/java/io/flutter/plugins/inapppurchase/MethodCallHandlerTest.java", "repo_id": "packages", "token_count": 18752 }
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:json_annotation/json_annotation.dart'; import '../../billing_client_wrappers.dart'; // WARNING: C...
packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/alternative_billing_only_reporting_details_wrapper.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/alternative_billing_only_reporting_details_wrapper.dart", "repo_id": "packages", "token_count": 843 }
1,069
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'purchase_wrapper.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** PurchaseWrapper _$PurchaseWrapperFromJson(Map json) => Pu...
packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/purchase_wrapper.g.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/purchase_wrapper.g.dart", "repo_id": "packages", "token_count": 1215 }
1,070