text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
33e4d21f7c13e02a7c92c7272309afbff792a864
| plugins/.ci/flutter_master.version/0 | {
"file_path": "plugins/.ci/flutter_master.version",
"repo_id": "plugins",
"token_count": 26
} | 1,186 |
gcp_credentials: ENCRYPTED[!3a93d98d7c95a41f5033834ef30e50928fc5d81239dc632b153c2628200a8187f3811cb01ce338b1ab3b6505a7a65c37!]
# Run on PRs and main branch post submit only. Don't run tests when tagging.
only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'main')
env:
CHANNEL: "master" # Default to ... | plugins/.cirrus.yml/0 | {
"file_path": "plugins/.cirrus.yml",
"repo_id": "plugins",
"token_count": 5309
} | 1,187 |
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 3.5.0" client="gradle" variant="debug" version="3.5.0">
<issue
id="Assert"
message="Assertions are unreliable in Dalvik and unimplemented in ART. Use `BuildConfig.DEBUG` conditional checks instead."
errorLine1=" assert (b... | plugins/packages/camera/camera_android/android/lint-baseline.xml/0 | {
"file_path": "plugins/packages/camera/camera_android/android/lint-baseline.xml",
"repo_id": "plugins",
"token_count": 1996
} | 1,188 |
// Copyright 2013 The Flutter 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.features;
import android.app.Activity;
import androidx.annotation.NonNull;
import io.flutter.plugins.camera.CameraProper... | plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/CameraFeatureFactoryImpl.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/CameraFeatureFactoryImpl.java",
"repo_id": "plugins",
"token_count": 1069
} | 1,189 |
// Copyright 2013 The Flutter 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.features.resolution;
// Mirrors camera.dart
public enum ResolutionPreset {
low,
medium,
high,
veryHigh,
ultraH... | plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionPreset.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionPreset.java",
"repo_id": "plugins",
"token_count": 101
} | 1,190 |
// Copyright 2013 The Flutter 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 static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.... | plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/CameraPropertiesImplTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/CameraPropertiesImplTest.java",
"repo_id": "plugins",
"token_count": 3839
} | 1,191 |
// Copyright 2013 The Flutter 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.features.focuspoint;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import sta... | plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/focuspoint/FocusPointFeatureTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/focuspoint/FocusPointFeatureTest.java",
"repo_id": "plugins",
"token_count": 4401
} | 1,192 |
## NEXT
* Creates camera_android_camerax plugin for development.
* Adds CameraInfo class and removes unnecessary code from plugin.
* Adds CameraSelector class.
* Adds ProcessCameraProvider class.
* Bump CameraX version to 1.3.0-alpha02.
* Adds Camera and UseCase classes, along with methods for binding UseCases to a li... | plugins/packages/camera/camera_android_camerax/CHANGELOG.md/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 199
} | 1,193 |
// Copyright 2013 The Flutter 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.os.Handler;
import android.os.Looper;
import androidx.annotation.Nullable;
import java.lang.ref.Referen... | plugins/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/InstanceManager.java/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/InstanceManager.java",
"repo_id": "plugins",
"token_count": 2282
} | 1,194 |
// Copyright 2013 The Flutter 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.mockito.ArgumentMatchers.any;
import static org.mockito... | plugins/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/SystemServicesTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/SystemServicesTest.java",
"repo_id": "plugins",
"token_count": 1986
} | 1,195 |
// Copyright 2013 The Flutter 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.dart';
import 'camera_info.dart';
import 'camera_selector.dart';
import 'camerax_library.g.dart';
import 'java_object.dart';
import 'process... | plugins/packages/camera/camera_android_camerax/lib/src/android_camera_camerax_flutter_api_impls.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/lib/src/android_camera_camerax_flutter_api_impls.dart",
"repo_id": "plugins",
"token_count": 973
} | 1,196 |
// Copyright 2013 The Flutter 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_info.dart';
import 'package:camera_android_camerax/src/camerax_library.g.dart';
import 'package:camera_an... | plugins/packages/camera/camera_android_camerax/test/camera_info_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/test/camera_info_test.dart",
"repo_id": "plugins",
"token_count": 744
} | 1,197 |
// Copyright 2013 The Flutter 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 XCTest;
@import AVFoundation;
#import <OCMock/OCMock.h>
@interface FLTCam : NSObject <FlutterTexture,
... | plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraUtilTests.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraUtilTests.m",
"repo_id": "plugins",
"token_count": 849
} | 1,198 |
name: camera_example
description: Demonstrates how to use the camera plugin.
publish_to: none
environment:
sdk: ">=2.14.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
camera_avfoundation:
# When depending on this package from a real application you should use:
# camera_avfoundation: ^x.y.z
# See https... | plugins/packages/camera/camera_avfoundation/example/pubspec.yaml/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/pubspec.yaml",
"repo_id": "plugins",
"token_count": 325
} | 1,199 |
// Copyright 2013 The Flutter 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 "FLTSavePhotoDelegate.h"
/**
API exposed for unit tests.
*/
@interface FLTSavePhotoDelegate ()
/// The completion handler block for capture and... | plugins/packages/camera/camera_avfoundation/ios/Classes/FLTSavePhotoDelegate_Test.h/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/ios/Classes/FLTSavePhotoDelegate_Test.h",
"repo_id": "plugins",
"token_count": 236
} | 1,200 |
// Copyright 2013 The Flutter 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';
/// The direction the camera is facing.
enum CameraLensDirection {
/// Front facing camera (a user looking at ... | plugins/packages/camera/camera_platform_interface/lib/src/types/camera_description.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/lib/src/types/camera_description.dart",
"repo_id": "plugins",
"token_count": 523
} | 1,201 |
// Copyright 2013 The Flutter 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(a14n): remove this import once Flutter 3.1 or later reaches stable (including flutter/flutter#104231)
// ignore: unnecessary_import
import 'dart:ty... | plugins/packages/camera/camera_platform_interface/test/method_channel/type_conversion_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/test/method_channel/type_conversion_test.dart",
"repo_id": "plugins",
"token_count": 1152
} | 1,202 |
// Copyright 2013 The Flutter 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:html';
import 'package:camera_web/src/types/types.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/in... | plugins/packages/camera/camera_web/example/integration_test/camera_error_code_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/example/integration_test/camera_error_code_test.dart",
"repo_id": "plugins",
"token_count": 2335
} | 1,203 |
// Copyright 2013 The Flutter 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:html' as html;
import 'dart:ui';
import 'package:camera_platform_interface/camera_platform_interface.dart';
import 'pack... | plugins/packages/camera/camera_web/lib/src/camera.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/lib/src/camera.dart",
"repo_id": "plugins",
"token_count": 7071
} | 1,204 |
name: camera_windows
description: A Flutter plugin for getting information about and controlling the camera on Windows.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
versio... | plugins/packages/camera/camera_windows/pubspec.yaml/0 | {
"file_path": "plugins/packages/camera/camera_windows/pubspec.yaml",
"repo_id": "plugins",
"token_count": 294
} | 1,205 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_CAPTURE_ENGINE_LISTENER_H_
#define PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_CAPTURE_ENGINE_LISTENER_H_
#inclu... | plugins/packages/camera/camera_windows/windows/capture_engine_listener.h/0 | {
"file_path": "plugins/packages/camera/camera_windows/windows/capture_engine_listener.h",
"repo_id": "plugins",
"token_count": 690
} | 1,206 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_TEXTURE_HANDLER_H_
#define PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_TEXTURE_HANDLER_H_
#include <flutter/text... | plugins/packages/camera/camera_windows/windows/texture_handler.h/0 | {
"file_path": "plugins/packages/camera/camera_windows/windows/texture_handler.h",
"repo_id": "plugins",
"token_count": 942
} | 1,207 |
// Copyright 2013 The Flutter 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:file_selector/file_selector.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
//... | plugins/packages/file_selector/file_selector/example/lib/open_multiple_images_page.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector/example/lib/open_multiple_images_page.dart",
"repo_id": "plugins",
"token_count": 1339
} | 1,208 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| plugins/packages/file_selector/file_selector/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "plugins/packages/file_selector/file_selector/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "plugins",
"token_count": 32
} | 1,209 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint file_selector_ios.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'file_selector_ios'
s.version = '0.0.1'
s.summary = 'iOS implementation of file_selecto... | plugins/packages/file_selector/file_selector_ios/ios/file_selector_ios.podspec/0 | {
"file_path": "plugins/packages/file_selector/file_selector_ios/ios/file_selector_ios.podspec",
"repo_id": "plugins",
"token_count": 492
} | 1,210 |
name: file_selector_linux_example
description: Local testbed for Linux file_selector implementation.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
file_selector_linux:
path: ../
file_selector_platform_interface: ^2.4.0
flutter:
sdk: flutter
... | plugins/packages/file_selector/file_selector_linux/example/pubspec.yaml/0 | {
"file_path": "plugins/packages/file_selector/file_selector_linux/example/pubspec.yaml",
"repo_id": "plugins",
"token_count": 172
} | 1,211 |
# file\_selector\_macos
The macOS 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.
### Entitlements
You will need to [add an entitlement][3] for either read-o... | plugins/packages/file_selector/file_selector_macos/README.md/0 | {
"file_path": "plugins/packages/file_selector/file_selector_macos/README.md",
"repo_id": "plugins",
"token_count": 259
} | 1,212 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| plugins/packages/file_selector/file_selector_macos/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "plugins/packages/file_selector/file_selector_macos/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "plugins",
"token_count": 32
} | 1,213 |
name: file_selector_macos
description: macOS implementation of the file_selector plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_macos
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.0+4
... | plugins/packages/file_selector/file_selector_macos/pubspec.yaml/0 | {
"file_path": "plugins/packages/file_selector/file_selector_macos/pubspec.yaml",
"repo_id": "plugins",
"token_count": 326
} | 1,214 |
// Copyright 2013 The Flutter 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';
/// Convert list of XTypeGroups to a comma-separated string
Strin... | plugins/packages/file_selector/file_selector_web/lib/src/utils.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_web/lib/src/utils.dart",
"repo_id": "plugins",
"token_count": 605
} | 1,215 |
// Copyright 2013 The Flutter 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps... | plugins/packages/google_maps_flutter/google_maps_flutter/test/circle_updates_test.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter/test/circle_updates_test.dart",
"repo_id": "plugins",
"token_count": 2845
} | 1,216 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.As... | plugins/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/GoogleMapControllerTest.java/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/GoogleMapControllerTest.java",
"repo_id": "plugins",
"token_count": 2023
} | 1,217 |
## NEXT
* Updates minimum Flutter version to 3.0.
## 2.1.13
* Updates code for stricter lint checks.
* Updates code for new analysis options.
* Re-enable XCUITests: testUserInterface.
* Remove unnecessary `RunnerUITests` target from Podfile of the example app.
## 2.1.12
* Updates imports for `prefer_relative_impor... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 201
} | 1,218 |
// Copyright 2013 The Flutter 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 circle controllable by Flutter.
@interface FLTGoogleMapCircleController : NSObjec... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapCircleController.h/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapCircleController.h",
"repo_id": "plugins",
"token_count": 463
} | 1,219 |
// Copyright 2013 The Flutter 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 VoidCallback;
import 'package:flutter/foundation.dart' show immutable;
import 'package:flutter/material.dart'... | plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/circle.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/circle.dart",
"repo_id": "plugins",
"token_count": 1558
} | 1,220 |
{
"project_info": {
"project_number": "479882132969",
"firebase_url": "https://my-flutter-proj.firebaseio.com",
"project_id": "my-flutter-proj",
"storage_bucket": "my-flutter-proj.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:479882132969:android:c73fd19ff... | plugins/packages/google_sign_in/google_sign_in/example/android/app/google-services.json/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in/example/android/app/google-services.json",
"repo_id": "plugins",
"token_count": 4364
} | 1,221 |
// Copyright 2013 The Flutter 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_test/flutter_test.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:google_sign_in_... | plugins/packages/google_sign_in/google_sign_in/test/google_sign_in_test.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in/test/google_sign_in_test.dart",
"repo_id": "plugins",
"token_count": 5155
} | 1,222 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>Google Sign-In Example</string>
<key>CFBundleExe... | plugins/packages/google_sign_in/google_sign_in_ios/example/ios/Runner/Info.plist/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_ios/example/ios/Runner/Info.plist",
"repo_id": "plugins",
"token_count": 798
} | 1,223 |
// Copyright 2013 The Flutter 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:flutter/services.dart';
import 'package:google_sign_... | plugins/packages/google_sign_in/google_sign_in_ios/lib/google_sign_in_ios.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_ios/lib/google_sign_in_ios.dart",
"repo_id": "plugins",
"token_count": 1121
} | 1,224 |
## 0.11.0
* **Breaking Change:** Migrates JS-interop to `package:google_identity_services_web`
* Uses the new Google Identity Authentication and Authorization JS SDKs. [Docs](https://developers.google.com/identity).
* Added "Migrating to v0.11" section to the `README.md`.
* Updates minimum Flutter version to 3.0... | plugins/packages/google_sign_in/google_sign_in_web/CHANGELOG.md/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_web/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 1083
} | 1,225 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifi... | plugins/packages/image_picker/image_picker/example/ios/Runner/Info.plist/0 | {
"file_path": "plugins/packages/image_picker/image_picker/example/ios/Runner/Info.plist",
"repo_id": "plugins",
"token_count": 732
} | 1,226 |
name: image_picker
description: Flutter plugin for selecting images from the Android and iOS image
library, and taking new pictures with the camera.
repository: https://github.com/flutter/plugins/tree/main/packages/image_picker/image_picker
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aop... | plugins/packages/image_picker/image_picker/pubspec.yaml/0 | {
"file_path": "plugins/packages/image_picker/image_picker/pubspec.yaml",
"repo_id": "plugins",
"token_count": 429
} | 1,227 |
// Copyright 2013 The Flutter 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 android.app.Activity;
import android.app.Application;
import android.os.Bundle;
import android.os.Handler;
... | plugins/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerPlugin.java/0 | {
"file_path": "plugins/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerPlugin.java",
"repo_id": "plugins",
"token_count": 4386
} | 1,228 |
// Copyright 2013 The Flutter 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... | plugins/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerImageUtil.m/0 | {
"file_path": "plugins/packages/image_picker/image_picker_ios/ios/Classes/FLTImagePickerImageUtil.m",
"repo_id": "plugins",
"token_count": 2058
} | 1,229 |
// Copyright 2013 The Flutter 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 (v3.0.3), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_co... | plugins/packages/image_picker/image_picker_ios/lib/src/messages.g.dart/0 | {
"file_path": "plugins/packages/image_picker/image_picker_ios/lib/src/messages.g.dart",
"repo_id": "plugins",
"token_count": 2361
} | 1,230 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Specifies the source where the picked image should come from.
enum ImageSource {
/// Opens up the device camera, letting the user to take a new pictu... | plugins/packages/image_picker/image_picker_platform_interface/lib/src/types/image_source.dart/0 | {
"file_path": "plugins/packages/image_picker/image_picker_platform_interface/lib/src/types/image_source.dart",
"repo_id": "plugins",
"token_count": 101
} | 1,231 |
org.gradle.jvmargs=-Xmx4G
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
| plugins/packages/in_app_purchase/in_app_purchase/example/android/gradle.properties/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase/example/android/gradle.properties",
"repo_id": "plugins",
"token_count": 38
} | 1,232 |
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/plugins/tree/main/packages/in_app_purchase/in_app_purchase_android
issue_tracker: https://github.com/flutter/flu... | plugins/packages/in_app_purchase/in_app_purchase_android/pubspec.yaml/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/pubspec.yaml",
"repo_id": "plugins",
"token_count": 382
} | 1,233 |
## 0.3.6
* Updates minimum Flutter version to 3.3 and iOS 11.
## 0.3.5+2
* Fix a crash when `appStoreReceiptURL` is nil.
## 0.3.5+1
* Uses the new `sharedDarwinSource` flag when available.
## 0.3.5
* Updates minimum Flutter version to 3.0.
* Ignores a lint in the example app for backwards compatibility.
## 0.3.... | plugins/packages/in_app_purchase/in_app_purchase_storekit/CHANGELOG.md/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 771
} | 1,234 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'enum_converters.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_SerializedEnums _$SerializedEnumsFromJson(Map json) => _S... | plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/enum_converters.g.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/enum_converters.g.dart",
"repo_id": "plugins",
"token_count": 486
} | 1,235 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
export 'src/store_kit_wrappers/sk_payment_queue_delegate_wrapper.dart';
export 'src/store_kit_wrappers/sk_payment_queue_wrapper.dart';
export 'src/store_ki... | plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/store_kit_wrappers.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/store_kit_wrappers.dart",
"repo_id": "plugins",
"token_count": 203
} | 1,236 |
name: in_app_purchase_storekit
description: An implementation for the iOS and macOS platforms of the Flutter `in_app_purchase` plugin. This uses the StoreKit Framework.
repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase_storekit
issue_tracker: https://github.com/flutter/fl... | plugins/packages/in_app_purchase/in_app_purchase_storekit/pubspec.yaml/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/pubspec.yaml",
"repo_id": "plugins",
"token_count": 403
} | 1,237 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Exception codes for `PlatformException` returned by
// `authenticate`.
/// Indicates that the user has not yet configured a passcode (iOS) or
/// PIN/p... | plugins/packages/local_auth/local_auth/lib/error_codes.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth/lib/error_codes.dart",
"repo_id": "plugins",
"token_count": 299
} | 1,238 |
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<solid android:color="@color/success_color"/>
<size
android:width="40dp"
android:height="40dp"/>
</shape>
</item>
<item android... | plugins/packages/local_auth/local_auth_android/android/src/main/res/drawable/fingerprint_success_icon.xml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/android/src/main/res/drawable/fingerprint_success_icon.xml",
"repo_id": "plugins",
"token_count": 213
} | 1,239 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.localauthexample">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
<application android:label="local_auth_example" android:i... | plugins/packages/local_auth/local_auth_android/example/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/example/android/app/src/main/AndroidManifest.xml",
"repo_id": "plugins",
"token_count": 456
} | 1,240 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:intl/intl.dart';
import 'package:local_auth_platform_interface/types/auth_messages.dart';
/// An... | plugins/packages/local_auth/local_auth_android/lib/types/auth_messages_android.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/lib/types/auth_messages_android.dart",
"repo_id": "plugins",
"token_count": 2315
} | 1,241 |
// Copyright 2013 The Flutter 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:local_auth_platform_interface/local_auth_platform_interface.dart';
import 'types/auth_messages_ios... | plugins/packages/local_auth/local_auth_ios/lib/local_auth_ios.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth_ios/lib/local_auth_ios.dart",
"repo_id": "plugins",
"token_count": 1012
} | 1,242 |
name: local_auth_windows
description: Windows implementation of the local_auth plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 1.0.5
environment... | plugins/packages/local_auth/local_auth_windows/pubspec.yaml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_windows/pubspec.yaml",
"repo_id": "plugins",
"token_count": 276
} | 1,243 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:quick_actions_platform_interface/quick_actions_platform_i... | plugins/packages/quick_actions/quick_actions_android/lib/quick_actions_android.dart/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_android/lib/quick_actions_android.dart",
"repo_id": "plugins",
"token_count": 586
} | 1,244 |
// Copyright 2013 The Flutter 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:plugin_platform_interface/plugin_platform_interface.dart';
import '../method_channel/method_channel_quick_actions.dart';
import '../types/... | plugins/packages/quick_actions/quick_actions_platform_interface/lib/platform_interface/quick_actions_platform.dart/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_platform_interface/lib/platform_interface/quick_actions_platform.dart",
"repo_id": "plugins",
"token_count": 593
} | 1,245 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| plugins/packages/shared_preferences/shared_preferences/example/android/gradle.properties/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences/example/android/gradle.properties",
"repo_id": "plugins",
"token_count": 30
} | 1,246 |
# shared\_preferences\_android
The Android implementation of [`shared_preferences`][1].
## Usage
This package is [endorsed][2], which means you can simply use `shared_preferences`
normally. This package will be automatically included in your app when you do.
[1]: https://pub.dev/packages/shared_preferences
[2]: htt... | plugins/packages/shared_preferences/shared_preferences_android/README.md/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_android/README.md",
"repo_id": "plugins",
"token_count": 127
} | 1,247 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.sharedpreferencesexample">
<application
android:label="example"
android:icon="@mipmap/ic_launcher">
<activity
android:name="io.flutter.embedding.android.FlutterActivity"
... | plugins/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_android/example/android/app/src/main/AndroidManifest.xml",
"repo_id": "plugins",
"token_count": 920
} | 1,248 |
// Copyright 2013 The Flutter 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:shared_preferences_platform_interface/shared_preference... | plugins/packages/shared_preferences/shared_preferences_android/example/lib/main.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_android/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 1222
} | 1,249 |
// Copyright 2013 The Flutter 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:integration_test/integration_test.dart';
import 'package:shared_preferences_platform_inter... | plugins/packages/shared_preferences/shared_preferences_foundation/example/integration_test/shared_preferences_test.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_foundation/example/integration_test/shared_preferences_test.dart",
"repo_id": "plugins",
"token_count": 1633
} | 1,250 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/messages.g.dart',
dartTestOut: 'test/test_api.g.dart',
swiftOut: ... | plugins/packages/shared_preferences/shared_preferences_foundation/pigeons/messages.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_foundation/pigeons/messages.dart",
"repo_id": "plugins",
"token_count": 327
} | 1,251 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
import 'method_... | plugins/packages/shared_preferences/shared_preferences_platform_interface/lib/shared_preferences_platform_interface.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_platform_interface/lib/shared_preferences_platform_interface.dart",
"repo_id": "plugins",
"token_count": 1095
} | 1,252 |
name: shared_preferences_web
description: Web platform implementation of shared_preferences
repository: https://github.com/flutter/plugins/tree/main/packages/shared_preferences/shared_preferences_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
ve... | plugins/packages/shared_preferences/shared_preferences_web/pubspec.yaml/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_web/pubspec.yaml",
"repo_id": "plugins",
"token_count": 303
} | 1,253 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:url_launch... | plugins/packages/url_launcher/url_launcher/test/link_test.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/test/link_test.dart",
"repo_id": "plugins",
"token_count": 1796
} | 1,254 |
// Copyright 2013 The Flutter 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.urllauncher;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.m... | plugins/packages/url_launcher/url_launcher_android/android/src/test/java/io/flutter/plugins/urllauncher/MethodCallHandlerImplTest.java/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_android/android/src/test/java/io/flutter/plugins/urllauncher/MethodCallHandlerImplTest.java",
"repo_id": "plugins",
"token_count": 2694
} | 1,255 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PACKAGES_URL_LAUNCHER_URL_LAUNCHER_LINUX_LINUX_INCLUDE_URL_LAUNCHER_URL_LAUNCHER_PLUGIN_H_
#define PACKAGES_URL_LAUNCHER_URL_LAUNCHER_LINUX_LINUX_I... | plugins/packages/url_launcher/url_launcher_linux/linux/include/url_launcher_linux/url_launcher_plugin.h/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_linux/linux/include/url_launcher_linux/url_launcher_plugin.h",
"repo_id": "plugins",
"token_count": 435
} | 1,256 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| plugins/packages/url_launcher/url_launcher_macos/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_macos/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "plugins",
"token_count": 32
} | 1,257 |
## NEXT
* Updates minimum Flutter version to 3.0.
## 2.1.1
* Updates imports for `prefer_relative_imports`.
* Updates minimum Flutter version to 2.10.
## 2.1.0
* Adds a new `launchUrl` method corresponding to the new app-facing interface.
## 2.0.5
* Updates code for new analysis options.
* Update to use the `ver... | plugins/packages/url_launcher/url_launcher_platform_interface/CHANGELOG.md/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_platform_interface/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 570
} | 1,258 |
The code in this directory is a stripped down, and modified version of `package:platform_detect`.
You can find the original file in Workiva's repository, here:
* https://github.com/Workiva/platform_detect/blob/77d160f1c3be4e20dc085a094209e8cab4aec135/lib/src/browser.dart
| plugins/packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/README.md/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/README.md",
"repo_id": "plugins",
"token_count": 94
} | 1,259 |
// Copyright 2013 The Flutter 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_driver/flutter_driver.dart';
import 'package:test/test.dart';
Future<void> main() async {
final FlutterDriv... | plugins/packages/video_player/video_player/example/test_driver/video_player_test.dart/0 | {
"file_path": "plugins/packages/video_player/video_player/example/test_driver/video_player_test.dart",
"repo_id": "plugins",
"token_count": 368
} | 1,260 |
# video\_player\_android
The Android implementation of [`video_player`][1].
## Usage
This package is [endorsed][2], which means you can simply use `video_player`
normally. This package will be automatically included in your app when you do.
[1]: https://pub.dev/packages/video_player
[2]: https://flutter.dev/docs/de... | plugins/packages/video_player/video_player_android/README.md/0 | {
"file_path": "plugins/packages/video_player/video_player_android/README.md",
"repo_id": "plugins",
"token_count": 119
} | 1,261 |
// Copyright 2013 The Flutter 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 os.log;
@import XCTest;
@import CoreGraphics;
@interface VideoPlayerUITests : XCTestCase
@property(nonatomic, strong) XCUIApplication *app;
@end
... | plugins/packages/video_player/video_player_avfoundation/example/ios/RunnerUITests/VideoPlayerUITests.m/0 | {
"file_path": "plugins/packages/video_player/video_player_avfoundation/example/ios/RunnerUITests/VideoPlayerUITests.m",
"repo_id": "plugins",
"token_count": 847
} | 1,262 |
// Copyright 2013 The Flutter 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:html' as html;
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:video_pla... | plugins/packages/video_player/video_player_web/lib/src/video_player.dart/0 | {
"file_path": "plugins/packages/video_player/video_player_web/lib/src/video_player.dart",
"repo_id": "plugins",
"token_count": 2967
} | 1,263 |
h1 {
color: blue;
} | plugins/packages/webview_flutter/webview_flutter/example/assets/www/styles/style.css/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter/example/assets/www/styles/style.css",
"repo_id": "plugins",
"token_count": 13
} | 1,264 |
// Copyright 2013 The Flutter 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:webview_flutter_example/main.dart';
import 'packag... | plugins/packages/webview_flutter/webview_flutter/example/test/main_test.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter/example/test/main_test.dart",
"repo_id": "plugins",
"token_count": 975
} | 1,265 |
// Mocks generated by Mockito 5.3.2 from annotations
// in webview_flutter/test/webview_controller_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i5;
import 'dart:ui' as _i3;
import 'package:mockito/mockito.dart' as _i1;
import 'pa... | plugins/packages/webview_flutter/webview_flutter/test/webview_controller_test.mocks.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter/test/webview_controller_test.mocks.dart",
"repo_id": "plugins",
"token_count": 5941
} | 1,266 |
// Copyright 2013 The Flutter 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.webviewflutter;
import android.webkit.DownloadListener;
import androidx.annotation.NonNull;
import io.flutter.plugins.webviewfl... | plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/DownloadListenerHostApiImpl.java/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/DownloadListenerHostApiImpl.java",
"repo_id": "plugins",
"token_count": 911
} | 1,267 |
// Copyright 2013 The Flutter 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.webviewflutter;
import android.webkit.WebStorage;
import io.flutter.plugins.webviewflutter.GeneratedAndroidWebView.WebStorageHo... | plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebStorageHostApiImpl.java/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebStorageHostApiImpl.java",
"repo_id": "plugins",
"token_count": 534
} | 1,268 |
// Copyright 2013 The Flutter 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.webviewflutter;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.fail;
import static org.mockit... | plugins/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/RegistrarFlutterAssetManagerTest.java/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/RegistrarFlutterAssetManagerTest.java",
"repo_id": "plugins",
"token_count": 619
} | 1,269 |
// Copyright 2013 The Flutter 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:webview_flutter_platform_interface/webview_flutter_platform_interface.dart';
import 'android_web... | plugins/packages/webview_flutter/webview_flutter_android/lib/src/android_webview_cookie_manager.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/lib/src/android_webview_cookie_manager.dart",
"repo_id": "plugins",
"token_count": 942
} | 1,270 |
// Copyright 2013 The Flutter 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:mockito/annotations.dart';
import 'package:mockito/mockito.dart';
import 'package:webview_... | plugins/packages/webview_flutter/webview_flutter_android/test/android_webview_cookie_manager_test.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/test/android_webview_cookie_manager_test.dart",
"repo_id": "plugins",
"token_count": 1053
} | 1,271 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
import 'webview... | plugins/packages/webview_flutter/webview_flutter_platform_interface/lib/src/platform_navigation_delegate.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_platform_interface/lib/src/platform_navigation_delegate.dart",
"repo_id": "plugins",
"token_count": 1132
} | 1,272 |
## 0.2.2
* Updates `WebWebViewController.loadRequest` to only set the src of the iFrame
when `LoadRequestParams.headers` and `LoadRequestParams.body` are empty and is
using the HTTP GET request method. [#118573](https://github.com/flutter/flutter/issues/118573).
* Parses the `content-type` header of XHR responses ... | plugins/packages/webview_flutter/webview_flutter_web/CHANGELOG.md/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_web/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 431
} | 1,273 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
@import webview_flutter_wkwebview;
@interface FWFWebViewFlutterWKWebViewExternalAPITests : XCTestCase... | plugins/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFWebViewFlutterWKWebViewExternalAPITests.m/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFWebViewFlutterWKWebViewExternalAPITests.m",
"repo_id": "plugins",
"token_count": 380
} | 1,274 |
// Copyright 2013 The Flutter 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 "FWFDataConverters.h"
#import <Flutter/Flutter.h>
NSURLRequest *_Nullable FWFNSURLRequestFromRequestData(FWFNSUrlRequestData *data) {
NSURL *ur... | plugins/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFDataConverters.m/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFDataConverters.m",
"repo_id": "plugins",
"token_count": 3265
} | 1,275 |
// Copyright 2013 The Flutter 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:math';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/service... | plugins/packages/webview_flutter/webview_flutter_wkwebview/lib/src/webkit_webview_controller.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/lib/src/webkit_webview_controller.dart",
"repo_id": "plugins",
"token_count": 8976
} | 1,276 |
// Mocks generated by Mockito 5.3.2 from annotations
// in webview_flutter_wkwebview/test/src/ui_kit/ui_kit_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i4;
import 'package:mockito/mockito.dart' as _i1;
import 'package:webview_fl... | plugins/packages/webview_flutter/webview_flutter_wkwebview/test/src/ui_kit/ui_kit_test.mocks.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/test/src/ui_kit/ui_kit_test.mocks.dart",
"repo_id": "plugins",
"token_count": 4671
} | 1,277 |
// Copyright 2013 The Flutter 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:colorize/colorize.dart';
import 'package:file/file.dart';
import 'package:git/git.dart';
import 'package:path/path.da... | plugins/script/tool/lib/src/common/package_looping_command.dart/0 | {
"file_path": "plugins/script/tool/lib/src/common/package_looping_command.dart",
"repo_id": "plugins",
"token_count": 6297
} | 1,278 |
# android_view
An example of an Android app that integrates a Flutter add-to-app module at a
view level.
## tl;dr
If you're just looking to get up and running quickly, these bash commands will
fetch packages and set up dependencies (note that the above commands assume
you're building for both iOS and Android, with b... | samples/add_to_app/android_view/README.md/0 | {
"file_path": "samples/add_to_app/android_view/README.md",
"repo_id": "samples",
"token_count": 247
} | 1,279 |
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="160dp">
<com.google.android.material.card.MaterialCardView
android:id... | samples/add_to_app/android_view/android_view/app/src/main/res/layout/android_card.xml/0 | {
"file_path": "samples/add_to_app/android_view/android_view/app/src/main/res/layout/android_card.xml",
"repo_id": "samples",
"token_count": 507
} | 1,280 |
<resources>
<string name="app_name">Flutter View Integration</string>
</resources> | samples/add_to_app/android_view/android_view/app/src/main/res/values/strings.xml/0 | {
"file_path": "samples/add_to_app/android_view/android_view/app/src/main/res/values/strings.xml",
"repo_id": "samples",
"token_count": 26
} | 1,281 |
# books
Mimics a real world use-case of embedding Flutter into an existing Android app
and demonstrates using [Pigeon](https://pub.dev/packages/pigeon) to communicate
between Flutter and the host application.
## Description
These apps integrate the `flutter_books` module using the simpler build-together
project setu... | samples/add_to_app/books/README.md/0 | {
"file_path": "samples/add_to_app/books/README.md",
"repo_id": "samples",
"token_count": 1028
} | 1,282 |
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon> | samples/add_to_app/books/android_books/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml/0 | {
"file_path": "samples/add_to_app/books/android_books/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml",
"repo_id": "samples",
"token_count": 98
} | 1,283 |
// Copyright 2020 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Flutter
import UIKit
class ViewController: UITableViewController, BKHostBookApi {
private var books: [BKBook] = []
private var api: BKFlutterBookA... | samples/add_to_app/books/ios_books/IosBooks/ViewController.swift/0 | {
"file_path": "samples/add_to_app/books/ios_books/IosBooks/ViewController.swift",
"repo_id": "samples",
"token_count": 1981
} | 1,284 |
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_heigh... | samples/add_to_app/fullscreen/android_fullscreen/app/src/main/res/layout/activity_main.xml/0 | {
"file_path": "samples/add_to_app/fullscreen/android_fullscreen/app/src/main/res/layout/activity_main.xml",
"repo_id": "samples",
"token_count": 536
} | 1,285 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.