text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera.types;
// Mirrors focus_mode.dart
public enum FocusMode {
auto("auto"),
locked("locked");
private final String st... | plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/types/FocusMode.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/types/FocusMode.java",
"repo_id": "plugins",
"token_count": 208
} | 1,400 |
// Copyright 2013 The Flutter 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.types;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class ExposureModeTest {
@Test
... | plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/types/ExposureModeTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/types/ExposureModeTest.java",
"repo_id": "plugins",
"token_count": 382
} | 1,401 |
// Copyright 2013 The Flutter 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:async/async.dart';
import 'package:camera_android/src/android_camera.dart';
import 'package:camer... | plugins/packages/camera/camera_android/test/android_camera_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_android/test/android_camera_test.dart",
"repo_id": "plugins",
"token_count": 14704
} | 1,402 |
// Copyright 2013 The Flutter 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.Manifest;
import android.Manifest.permission;
import android.app.Activity;
import android.content.pm.Pa... | plugins/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraPermissionsManager.java/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraPermissionsManager.java",
"repo_id": "plugins",
"token_count": 1598
} | 1,403 |
// Copyright 2013 The Flutter 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.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mocki... | plugins/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/CameraTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/CameraTest.java",
"repo_id": "plugins",
"token_count": 497
} | 1,404 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'package:camera_platform_interface/camera_platform_interface.dart';
import 'package:flutter/foundation.dart'... | plugins/packages/camera/camera_android_camerax/example/lib/main.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 14368
} | 1,405 |
// Copyright 2013 The Flutter 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:camera_platform_interface/camera_platform_interface.dart'
show CameraException, DeviceOrientationChangedEvent;
im... | plugins/packages/camera/camera_android_camerax/lib/src/system_services.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/lib/src/system_services.dart",
"repo_id": "plugins",
"token_count": 1608
} | 1,406 |
// Copyright 2013 The Flutter 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'
show CameraPermissionsErrorData;
import 'package:camera_android_camerax/src/system_s... | plugins/packages/camera/camera_android_camerax/test/system_services_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/test/system_services_test.dart",
"repo_id": "plugins",
"token_count": 1554
} | 1,407 |
// Copyright 2013 The Flutter 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 XCTest;
@import Flutter;
#import <OCMock/OCMock.h>
@interface CameraOrientationTes... | plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraOrientationTests.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraOrientationTests.m",
"repo_id": "plugins",
"token_count": 2000
} | 1,408 |
// Copyright 2013 The Flutter 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;
@interface ThreadSafeFlutterResultTests : XCTestCase
@end
@implementation ThreadSafeFlutterResultTests
- (vo... | plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/ThreadSafeFlutterResultTests.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/ThreadSafeFlutterResultTests.m",
"repo_id": "plugins",
"token_count": 1579
} | 1,409 |
// Copyright 2013 The Flutter 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 "CameraProperties.h"
#pragma mark - flash mode
FLTFlashMode FLTGetFLTFlashModeForString(NSString *mode) {
if ([mode isEqualToString:@"off"]) {
... | plugins/packages/camera/camera_avfoundation/ios/Classes/CameraProperties.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/ios/Classes/CameraProperties.m",
"repo_id": "plugins",
"token_count": 3284
} | 1,410 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Expose XFile
export 'package:cross_file/cross_file.dart';
export 'src/events/camera_event.dart';
export 'src/events/device_event.dart';
export 'src/pl... | plugins/packages/camera/camera_platform_interface/lib/camera_platform_interface.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/lib/camera_platform_interface.dart",
"repo_id": "plugins",
"token_count": 121
} | 1,411 |
// Copyright 2013 The Flutter 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 '../../camera_platform_interface.dart';
/// Parses a string into a corresponding CameraLensDirection.
Came... | plugins/packages/camera/camera_platform_interface/lib/src/utils/utils.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/lib/src/utils/utils.dart",
"repo_id": "plugins",
"token_count": 510
} | 1,412 |
// Copyright 2013 The Flutter 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_platform_interface/camera_platform_interface.dart';
import 'package:camera_platform_interface/src/utils/utils.dart';
import 'package... | plugins/packages/camera/camera_platform_interface/test/utils/utils_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/test/utils/utils_test.dart",
"repo_id": "plugins",
"token_count": 777
} | 1,413 |
// Copyright 2013 The Flutter 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';
void main() => runApp(const MyApp());
/// App for testing
class MyApp extends StatelessWidget {
/// Default Con... | plugins/packages/camera/camera_web/example/lib/main.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 179
} | 1,414 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'types.dart';
/// An exception thrown when the camera with id [cameraId] reports
/// an initialization, configuration or video streaming error,
///... | plugins/packages/camera/camera_web/lib/src/types/camera_web_exception.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/lib/src/types/camera_web_exception.dart",
"repo_id": "plugins",
"token_count": 249
} | 1,415 |
// Copyright 2013 The Flutter 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 "capture_controller.h"
#include <comdef.h>
#include <wincodec.h>
#include <wrl/client.h>
#include <cassert>
#include <chrono>
#include "com_hea... | plugins/packages/camera/camera_windows/windows/capture_controller.cpp/0 | {
"file_path": "plugins/packages/camera/camera_windows/windows/capture_controller.cpp",
"repo_id": "plugins",
"token_count": 11413
} | 1,416 |
// Copyright 2013 The Flutter 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_STRING_UTILS_H_
#define PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_STRING_UTILS_H_
#include <shobjidl.h>
#incl... | plugins/packages/camera/camera_windows/windows/string_utils.h/0 | {
"file_path": "plugins/packages/camera/camera_windows/windows/string_utils.h",
"repo_id": "plugins",
"token_count": 241
} | 1,417 |
<?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="DefaultLocale"
message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
errorLine1=" ... | plugins/packages/espresso/android/lint-baseline.xml/0 | {
"file_path": "plugins/packages/espresso/android/lint-baseline.xml",
"repo_id": "plugins",
"token_count": 7782
} | 1,418 |
// Copyright 2013 The Flutter 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.api;
import static androidx.test.espresso.flutter.common.Constants.DEFAULT_INTERACTION_TIMEOUT;
import static com.g... | plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/api/SyntheticAction.java/0 | {
"file_path": "plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/api/SyntheticAction.java",
"repo_id": "plugins",
"token_count": 620
} | 1,419 |
// Copyright 2013 The Flutter 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.jsonrpc.message;
import static com.google.common.base.Preconditions.checkArgument;
import static com.googl... | plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/jsonrpc/message/JsonRpcRequest.java/0 | {
"file_path": "plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/jsonrpc/message/JsonRpcRequest.java",
"repo_id": "plugins",
"token_count": 2150
} | 1,420 |
// Copyright 2013 The Flutter 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.matcher;
import android.view.View;
import androidx.test.espresso.flutter.api.WidgetMatcher;
import androidx.test.es... | plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/matcher/FlutterMatchers.java/0 | {
"file_path": "plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/matcher/FlutterMatchers.java",
"repo_id": "plugins",
"token_count": 1115
} | 1,421 |
name: espresso_example
description: Demonstrates how to use the espresso plugin.
publish_to: none
environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
flutter:
sdk: flutter
dev_dependencies:
espresso:
# When depending on this package from a real application you should use:
# esp... | plugins/packages/espresso/example/pubspec.yaml/0 | {
"file_path": "plugins/packages/espresso/example/pubspec.yaml",
"repo_id": "plugins",
"token_count": 242
} | 1,422 |
// Copyright 2013 The Flutter 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 "FFSFileSelectorPlugin.h"
#import "FFSFileSelectorPlugin_Test.h"
#import "messages.g.h"
#import <objc/runtime.h>
@implementation FFSFileSelectorP... | plugins/packages/file_selector/file_selector_ios/ios/Classes/FFSFileSelectorPlugin.m/0 | {
"file_path": "plugins/packages/file_selector/file_selector_ios/ios/Classes/FFSFileSelectorPlugin.m",
"repo_id": "plugins",
"token_count": 1314
} | 1,423 |
// Copyright 2013 The Flutter 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_linux/file_selector_linux.dart';
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
imp... | plugins/packages/file_selector/file_selector_linux/test/file_selector_linux_test.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_linux/test/file_selector_linux_test.dart",
"repo_id": "plugins",
"token_count": 5486
} | 1,424 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'package:flutter/material.dart';
... | plugins/packages/file_selector/file_selector_macos/example/lib/save_text_page.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_macos/example/lib/save_text_page.dart",
"repo_id": "plugins",
"token_count": 1276
} | 1,425 |
// Copyright 2013 The Flutter 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 (v4.2.14), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_c... | plugins/packages/file_selector/file_selector_macos/lib/src/messages.g.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_macos/lib/src/messages.g.dart",
"repo_id": "plugins",
"token_count": 2421
} | 1,426 |
// Copyright 2013 The Flutter 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:plugin_platform_interface/plugin_platform_interface.dart';
import '../../file_selector_platform_interface.dart';
imp... | plugins/packages/file_selector/file_selector_platform_interface/lib/src/platform_interface/file_selector_interface.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_platform_interface/lib/src/platform_interface/file_selector_interface.dart",
"repo_id": "plugins",
"token_count": 877
} | 1,427 |
name: file_selector_web_integration_tests
publish_to: none
environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
file_selector_platform_interface: ^2.2.0
file_selector_web:
path: ../
flutter:
sdk: flutter
dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: f... | plugins/packages/file_selector/file_selector_web/example/pubspec.yaml/0 | {
"file_path": "plugins/packages/file_selector/file_selector_web/example/pubspec.yaml",
"repo_id": "plugins",
"token_count": 166
} | 1,428 |
// Copyright 2013 The Flutter 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 'package:file_selector_windows/file_selector_windows.dart';... | plugins/packages/file_selector/file_selector_windows/test/file_selector_windows_test.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_windows/test/file_selector_windows_test.dart",
"repo_id": "plugins",
"token_count": 4077
} | 1,429 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "test/test_file_dialog_controller.h"
#include <windows.h>
#include <functional>
#include <memory>
#include <variant>
namespace file_selector_win... | plugins/packages/file_selector/file_selector_windows/windows/test/test_file_dialog_controller.cpp/0 | {
"file_path": "plugins/packages/file_selector/file_selector_windows/windows/test/test_file_dialog_controller.cpp",
"repo_id": "plugins",
"token_count": 1274
} | 1,430 |
// Copyright 2013 The Flutter 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.embedding.engine.plugins.lifecycle;
import androidx.annotation.NonNull;
import androidx.lifecycle.Lifecycle;
import io.flutter.embeddin... | plugins/packages/flutter_plugin_android_lifecycle/android/src/main/java/io/flutter/embedding/engine/plugins/lifecycle/FlutterLifecycleAdapter.java/0 | {
"file_path": "plugins/packages/flutter_plugin_android_lifecycle/android/src/main/java/io/flutter/embedding/engine/plugins/lifecycle/FlutterLifecycleAdapter.java",
"repo_id": "plugins",
"token_count": 308
} | 1,431 |
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.1'
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "$... | plugins/packages/google_maps_flutter/google_maps_flutter/example/android/build.gradle/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter/example/android/build.gradle",
"repo_id": "plugins",
"token_count": 202
} | 1,432 |
// Copyright 2013 The Flutter 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:google_maps_flutter_android/google_maps_flutter_android.dart';
import 'package:google_maps_flutter_... | plugins/packages/google_maps_flutter/google_maps_flutter/example/lib/main.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 853
} | 1,433 |
name: google_maps_flutter_example
description: Demonstrates how to use the google_maps_flutter plugin.
publish_to: none
environment:
sdk: ">=2.14.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
cupertino_icons: ^1.0.5
flutter:
sdk: flutter
flutter_plugin_android_lifecycle: ^2.0.1
google_maps_flutter:
#... | plugins/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml",
"repo_id": "plugins",
"token_count": 378
} | 1,434 |
// Copyright 2013 The Flutter 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 android.app.Activity;
import android.app.Application.ActivityLifecycleCallbacks;
import android.os.Bundle;
i... | plugins/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/GoogleMapsPlugin.java/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/GoogleMapsPlugin.java",
"repo_id": "plugins",
"token_count": 2239
} | 1,435 |
// Copyright 2013 The Flutter 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.TileProvider;
/** Receiver of TileOverlayOptions configuration. */
interf... | plugins/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/TileOverlaySink.java/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/TileOverlaySink.java",
"repo_id": "plugins",
"token_count": 152
} | 1,436 |
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 == ... | plugins/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/build.gradle/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/build.gradle",
"repo_id": "plugins",
"token_count": 808
} | 1,437 |
org.gradle.jvmargs=-Xmx4G
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
| plugins/packages/google_maps_flutter/google_maps_flutter_android/example/android/gradle.properties/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/example/android/gradle.properties",
"repo_id": "plugins",
"token_count": 38
} | 1,438 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'package:flutter/material.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flut... | plugins/packages/google_maps_flutter/google_maps_flutter_android/example/lib/map_coordinates.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/example/lib/map_coordinates.dart",
"repo_id": "plugins",
"token_count": 1207
} | 1,439 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Flutter/Flutter.h>
#import <GoogleMaps/GoogleMaps.h>
NS_ASSUME_NONNULL_BEGIN
@interface FLTGoogleMapJSONConversions : NSObject
+ (CLLocationCoo... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/FLTGoogleMapJSONConversions.h/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/FLTGoogleMapJSONConversions.h",
"repo_id": "plugins",
"token_count": 437
} | 1,440 |
// Copyright 2013 The Flutter 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 "GoogleMapPolylineController.h"
#import "FLTGoogleMapJSONConversions.h"
@interface FLTGoogleMapPolylineController ()
@property(strong, nonatomic)... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapPolylineController.m/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapPolylineController.m",
"repo_id": "plugins",
"token_count": 2145
} | 1,441 |
// Copyright 2013 The Flutter 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';
// TODO(a14n): remove this import once Flutter 3.1 or later reaches stable (including flutter/flutter#104231)
// ignore: unnecessary_i... | plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/platform_interface/google_maps_flutter_platform.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/platform_interface/google_maps_flutter_platform.dart",
"repo_id": "plugins",
"token_count": 4905
} | 1,442 |
// Copyright 2013 The Flutter 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';
/// [Marker] update events to be applied to the [GoogleMap].
///
/// Used in [GoogleMapController] when the map is updated.
// (Do no... | plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/marker_updates.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/marker_updates.dart",
"repo_id": "plugins",
"token_count": 283
} | 1,443 |
// Copyright 2013 The Flutter 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';
import 'maps_object.dart';
/// Converts an [Iterable] of Markers in a Map of MarkerId -> Marker.
Map<MarkerId, Marker> keyByMarker... | plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/marker.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/marker.dart",
"repo_id": "plugins",
"token_count": 184
} | 1,444 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// These tests render an app with a small map widget, and use its map controller
// to compute values of the default projection.
// (Tests methods that ca... | plugins/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/projection_test.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/projection_test.dart",
"repo_id": "plugins",
"token_count": 3273
} | 1,445 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of google_maps_flutter_web;
/// The `MarkerController` class wraps a [gmaps.Marker], how it handles events, and its associated (optional) [gmaps.Info... | plugins/packages/google_maps_flutter/google_maps_flutter_web/lib/src/marker.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_web/lib/src/marker.dart",
"repo_id": "plugins",
"token_count": 1377
} | 1,446 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/services.dart' show MethodCall;
/// A fake backend that can be used to test components that require a valid
/... | plugins/packages/google_sign_in/google_sign_in/lib/testing.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in/lib/testing.dart",
"repo_id": "plugins",
"token_count": 1033
} | 1,447 |
// Copyright 2013 The Flutter 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.googlesignin;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.concurrent.SettableFutur... | plugins/packages/google_sign_in/google_sign_in_android/android/src/main/java/io/flutter/plugins/googlesignin/BackgroundTaskRunner.java/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_android/android/src/main/java/io/flutter/plugins/googlesignin/BackgroundTaskRunner.java",
"repo_id": "plugins",
"token_count": 1102
} | 1,448 |
name: google_sign_in_android
description: Android implementation of the google_sign_in plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22
version... | plugins/packages/google_sign_in/google_sign_in_android/pubspec.yaml/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_android/pubspec.yaml",
"repo_id": "plugins",
"token_count": 380
} | 1,449 |
// Copyright 2013 The Flutter 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:quiver/core.dart';
/// Default configuration options to use when signing in.
///
/// See also https... | plugins/packages/google_sign_in/google_sign_in_platform_interface/lib/src/types.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_platform_interface/lib/src/types.dart",
"repo_id": "plugins",
"token_count": 2055
} | 1,450 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:google_identity_services_web/id.dart';
import 'jsify_as.dart';
/// A CredentialResponse with null `credential`.
final CredentialResponse ... | plugins/packages/google_sign_in/google_sign_in_web/example/integration_test/src/jwt_examples.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_web/example/integration_test/src/jwt_examples.dart",
"repo_id": "plugins",
"token_count": 671
} | 1,451 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.imagepicker">
<application>
<provider
android:name="io.flutter.plugins.imagepicker.ImagePickerFileProvider"
android:authorities="${applicationId}.flutter.image_provider"
... | plugins/packages/image_picker/image_picker_android/android/src/main/AndroidManifest.xml/0 | {
"file_path": "plugins/packages/image_picker/image_picker_android/android/src/main/AndroidManifest.xml",
"repo_id": "plugins",
"token_count": 275
} | 1,452 |
// Copyright 2013 The Flutter 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 'camera_device.dart';
export 'image_options.dart';
export 'image_picker_options.dart';
export 'image_source.dart';
export 'lost_data_response.dart';... | plugins/packages/image_picker/image_picker_platform_interface/lib/src/types/types.dart/0 | {
"file_path": "plugins/packages/image_picker/image_picker_platform_interface/lib/src/types/types.dart",
"repo_id": "plugins",
"token_count": 181
} | 1,453 |
// Mocks generated by Mockito 5.1.0 from annotations
// in image_picker_windows/example/windows/flutter/ephemeral/.plugin_symlinks/image_picker_windows/test/image_picker_windows_test.dart.
// Do not manually edit this file.
import 'dart:async' as _i3;
import 'package:file_selector_platform_interface/file_selector_pla... | plugins/packages/image_picker/image_picker_windows/test/image_picker_windows_test.mocks.dart/0 | {
"file_path": "plugins/packages/image_picker/image_picker_windows/test/image_picker_windows_test.mocks.dart",
"repo_id": "plugins",
"token_count": 1300
} | 1,454 |
// Copyright 2013 The Flutter 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:shared_preferences/shared_preferences.dart';
// ignore: avoid_classes_with_only_static_members
/// A store of consuma... | plugins/packages/in_app_purchase/in_app_purchase/example/lib/consumable_store.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase/example/lib/consumable_store.dart",
"repo_id": "plugins",
"token_count": 563
} | 1,455 |
// Copyright 2013 The Flutter 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 android.content.Context;
import androidx.annotation.NonNull;
import com.android.billingclient.api.Billing... | plugins/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/BillingClientFactory.java/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/BillingClientFactory.java",
"repo_id": "plugins",
"token_count": 243
} | 1,456 |
// Copyright 2013 The Flutter 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 '../../billing_client_wrappers.dart';
import 'types.dart';
/// This parameter object for upgrading or downgrading an existing subscription.
class C... | plugins/packages/in_app_purchase/in_app_purchase_android/lib/src/types/change_subscription_param.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/lib/src/types/change_subscription_param.dart",
"repo_id": "plugins",
"token_count": 220
} | 1,457 |
name: in_app_purchase_platform_interface
description: A common platform interface for the in_app_purchase plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%... | plugins/packages/in_app_purchase/in_app_purchase_platform_interface/pubspec.yaml/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_platform_interface/pubspec.yaml",
"repo_id": "plugins",
"token_count": 277
} | 1,458 |
// Copyright 2013 The Flutter 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 <StoreKit/StoreKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void (^ProductRequestCompletion)(SKProductsResponse *_Nul... | plugins/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPRequestHandler.h/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPRequestHandler.h",
"repo_id": "plugins",
"token_count": 219
} | 1,459 |
// Copyright 2013 The Flutter 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 "FIAObjectTranslator.h"
#import "FIAPaymentQueueHandler.h"
#import "Stubs.h"
@import in_app_pu... | plugins/packages/in_app_purchase/in_app_purchase_storekit/example/ios/RunnerTests/FIAPPaymentQueueDeleteTests.m/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/example/ios/RunnerTests/FIAPPaymentQueueDeleteTests.m",
"repo_id": "plugins",
"token_count": 1870
} | 1,460 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:json_annotation/json_annotation.dart';
part 'sk_storefront_wrapper.g.dart';
/// Contains the lo... | plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_storefront_wrapper.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_storefront_wrapper.dart",
"repo_id": "plugins",
"token_count": 684
} | 1,461 |
// Copyright 2013 The Flutter 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 "FIAPaymentQueueHandler.h"
#import "FIAPPaymentQueueDelegate.h"
#import "FIATransactionCache.h"
@interface FIAPaymentQueueHandler ()
/// The SKPa... | plugins/packages/in_app_purchase/in_app_purchase_storekit/macos/Classes/FIAPaymentQueueHandler.m/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/macos/Classes/FIAPaymentQueueHandler.m",
"repo_id": "plugins",
"token_count": 2930
} | 1,462 |
# integration_test (moved)
## MOVED
This package has [moved to the Flutter
SDK](https://github.com/flutter/flutter/tree/master/packages/integration_test),
and the pub.dev version is deprecated.
As of Flutter 2.0, include it in your pubspec's
dev dependencies section, as follows:
```
dev_dependencies:
integration_t... | plugins/packages/integration_test/README.md/0 | {
"file_path": "plugins/packages/integration_test/README.md",
"repo_id": "plugins",
"token_count": 145
} | 1,463 |
## 2.1.4
* Updates minimum Flutter version to 3.0.
* Updates documentation for Android version 8 and below theme compatibility.
## 2.1.3
* Updates minimum Flutter version to 2.10.
* Removes unused `intl` dependency.
## 2.1.2
* Fixes avoid_redundant_argument_values lint warnings and minor typos.
## 2.1.1
* Replac... | plugins/packages/local_auth/local_auth/CHANGELOG.md/0 | {
"file_path": "plugins/packages/local_auth/local_auth/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 2523
} | 1,464 |
#Sun Jan 03 14:07:08 CST 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
| plugins/packages/local_auth/local_auth/example/android/gradle/wrapper/gradle-wrapper.properties/0 | {
"file_path": "plugins/packages/local_auth/local_auth/example/android/gradle/wrapper/gradle-wrapper.properties",
"repo_id": "plugins",
"token_count": 83
} | 1,465 |
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.1.1" client="gradle" variant="debug" version="4.1.1">
<issue
id="NewApi"
message="`@android:style/Theme.Material.Dialog.Alert` requires API level 21 (current min is 16)"
errorLine1=" <style name="AlertDialogCustom... | plugins/packages/local_auth/local_auth_android/android/lint-baseline.xml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/android/lint-baseline.xml",
"repo_id": "plugins",
"token_count": 1025
} | 1,466 |
// Copyright 2013 The Flutter 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.localauth;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.As... | plugins/packages/local_auth/local_auth_android/android/src/test/java/io/flutter/plugins/localauth/LocalAuthTest.java/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/android/src/test/java/io/flutter/plugins/localauth/LocalAuthTest.java",
"repo_id": "plugins",
"token_count": 6123
} | 1,467 |
include ':app'
| plugins/packages/local_auth/local_auth_android/example/android/settings_aar.gradle/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/example/android/settings_aar.gradle",
"repo_id": "plugins",
"token_count": 6
} | 1,468 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Abstract class for storing platform specific strings.
abstract class AuthMessages {
/// Constructs an instance of [AuthMessages].
const AuthMessage... | plugins/packages/local_auth/local_auth_platform_interface/lib/types/auth_messages.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth_platform_interface/lib/types/auth_messages.dart",
"repo_id": "plugins",
"token_count": 106
} | 1,469 |
// Copyright 2013 The Flutter 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_LOCAL_AUTH_LOCAL_AUTH_WINDOWS_WINDOWS_TEST_MOCKS_H_
#define PACKAGES_LOCAL_AUTH_LOCAL_AUTH_WINDOWS_WINDOWS_TEST_MOCKS_H_
#include <gmock/... | plugins/packages/local_auth/local_auth_windows/windows/test/mocks.h/0 | {
"file_path": "plugins/packages/local_auth/local_auth_windows/windows/test/mocks.h",
"repo_id": "plugins",
"token_count": 556
} | 1,470 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| plugins/packages/path_provider/path_provider/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "plugins/packages/path_provider/path_provider/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "plugins",
"token_count": 32
} | 1,471 |
# path\_provider\_android
The Android implementation of [`path_provider`][1].
## Usage
This package is [endorsed][2], which means you can simply use `path_provider`
normally. This package will be automatically included in your app when you do.
[1]: https://pub.dev/packages/path_provider
[2]: https://flutter.dev/doc... | plugins/packages/path_provider/path_provider_android/README.md/0 | {
"file_path": "plugins/packages/path_provider/path_provider_android/README.md",
"repo_id": "plugins",
"token_count": 123
} | 1,472 |
// Copyright 2013 The Flutter 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.1.5), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_co... | plugins/packages/path_provider/path_provider_android/test/messages_test.g.dart/0 | {
"file_path": "plugins/packages/path_provider/path_provider_android/test/messages_test.g.dart",
"repo_id": "plugins",
"token_count": 2075
} | 1,473 |
// Mocks generated by Mockito 5.3.2 from annotations
// in path_provider_foundation/test/path_provider_foundation_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 'package:path_provider_foundation/messages... | plugins/packages/path_provider/path_provider_foundation/test/path_provider_foundation_test.mocks.dart/0 | {
"file_path": "plugins/packages/path_provider/path_provider_foundation/test/path_provider_foundation_test.mocks.dart",
"repo_id": "plugins",
"token_count": 452
} | 1,474 |
# path_provider_platform_interface
A common platform interface for the [`path_provider`][1] plugin.
This interface allows platform-specific implementations of the `path_provider`
plugin, as well as the plugin itself, to ensure they are supporting the
same interface.
# Usage
To implement a new platform-specific impl... | plugins/packages/path_provider/path_provider_platform_interface/README.md/0 | {
"file_path": "plugins/packages/path_provider/path_provider_platform_interface/README.md",
"repo_id": "plugins",
"token_count": 238
} | 1,475 |
# plugin_platform_interface
This package provides a base class for platform interfaces of [federated flutter plugins](https://flutter.dev/go/federated-plugins).
Platform implementations should extend their platform interface classes rather than implement it as
newly added methods to platform interfaces are not consid... | plugins/packages/plugin_platform_interface/README.md/0 | {
"file_path": "plugins/packages/plugin_platform_interface/README.md",
"repo_id": "plugins",
"token_count": 485
} | 1,476 |
<?xml version="1.0" encoding="utf-8"?>
<vector
android:height="108dp"
android:width="108dp"
android:viewportHeight="108"
android:viewportWidth="108"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF2196F3"
android:pathData="M0,0h108v108h-108z"/>
... | plugins/packages/quick_actions/quick_actions/example/android/app/src/main/res/drawable/ic_launcher_background.xml/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions/example/android/app/src/main/res/drawable/ic_launcher_background.xml",
"repo_id": "plugins",
"token_count": 1900
} | 1,477 |
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
| plugins/packages/quick_actions/quick_actions_android/example/android/app/gradle/wrapper/gradle-wrapper.properties/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_android/example/android/app/gradle/wrapper/gradle-wrapper.properties",
"repo_id": "plugins",
"token_count": 73
} | 1,478 |
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
| plugins/packages/quick_actions/quick_actions_android/example/android/gradle/wrapper/gradle-wrapper.properties/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_android/example/android/gradle/wrapper/gradle-wrapper.properties",
"repo_id": "plugins",
"token_count": 73
} | 1,479 |
// Copyright 2013 The Flutter 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
@testable import quick_actions_ios
final class MockShortcutItemParser: ShortcutItemParser {
var parseShortcutItemsStub: ((_ items: [... | plugins/packages/quick_actions/quick_actions_ios/example/ios/RunnerTests/Mocks/MockShortcutItemParser.swift/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_ios/example/ios/RunnerTests/Mocks/MockShortcutItemParser.swift",
"repo_id": "plugins",
"token_count": 153
} | 1,480 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:quick_actions_ios/quick_acti... | plugins/packages/quick_actions/quick_actions_ios/test/quick_actions_ios_test.dart/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_ios/test/quick_actions_ios_test.dart",
"repo_id": "plugins",
"token_count": 2278
} | 1,481 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| plugins/packages/shared_preferences/shared_preferences/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "plugins",
"token_count": 32
} | 1,482 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/foundation.dart' show visibleForTesting;
import 'package:shared_preferences_platform_interface/shared_prefere... | plugins/packages/shared_preferences/shared_preferences/lib/shared_preferences.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences/lib/shared_preferences.dart",
"repo_id": "plugins",
"token_count": 2385
} | 1,483 |
// Copyright 2013 The Flutter 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
#if os(iOS)
import Flutter
#elseif os(macOS)
import FlutterMacOS
#endif
public class SharedPreferencesPlugin: NSObject, FlutterPlugin, ... | plugins/packages/shared_preferences/shared_preferences_foundation/darwin/Classes/SharedPreferencesPlugin.swift/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_foundation/darwin/Classes/SharedPreferencesPlugin.swift",
"repo_id": "plugins",
"token_count": 588
} | 1,484 |
// Copyright 2013 The Flutter 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:shared_preferences_platform_interface/shared_preferences_platform_interface.dart';
import 'messages... | plugins/packages/shared_preferences/shared_preferences_foundation/lib/shared_preferences_foundation.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_foundation/lib/shared_preferences_foundation.dart",
"repo_id": "plugins",
"token_count": 711
} | 1,485 |
// Copyright 2013 The Flutter 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/memory.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:path/path.dart' as path;
import 'package:path_provider_l... | plugins/packages/shared_preferences/shared_preferences_linux/test/shared_preferences_linux_test.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_linux/test/shared_preferences_linux_test.dart",
"repo_id": "plugins",
"token_count": 1089
} | 1,486 |
# url_launcher_example
Demonstrates how to use the url_launcher plugin.
| plugins/packages/url_launcher/url_launcher/example/README.md/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/example/README.md",
"repo_id": "plugins",
"token_count": 23
} | 1,487 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io' show Platform;
import 'package:flutter/foundation.dart' show kIsWeb;
import 'package:flutter_test/flutter_test.dart';
import 'package:int... | plugins/packages/url_launcher/url_launcher/example/integration_test/url_launcher_test.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/example/integration_test/url_launcher_test.dart",
"repo_id": "plugins",
"token_count": 454
} | 1,488 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Run this example with: flutter run -t lib/encoding.dart -d emulator
// This file is used to extract code samples for the README.md file.
// Run update-... | plugins/packages/url_launcher/url_launcher/example/lib/encoding.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/example/lib/encoding.dart",
"repo_id": "plugins",
"token_count": 977
} | 1,489 |
// Copyright 2013 The Flutter 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 desired mode to launch a URL.
///
/// Support for these modes varies by platform. Platforms that do not ... | plugins/packages/url_launcher/url_launcher/lib/src/types.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/lib/src/types.dart",
"repo_id": "plugins",
"token_count": 501
} | 1,490 |
rootProject.name = 'url_launcher_android'
| plugins/packages/url_launcher/url_launcher_android/android/settings.gradle/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_android/android/settings.gradle",
"repo_id": "plugins",
"token_count": 14
} | 1,491 |
// Copyright 2013 The Flutter 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 "my_application.h"
#include <flutter_linux/flutter_linux.h>
#include "flutter/generated_plugin_registrant.h"
struct _MyApplication {
GtkAppli... | plugins/packages/url_launcher/url_launcher_linux/example/linux/my_application.cc/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_linux/example/linux/my_application.cc",
"repo_id": "plugins",
"token_count": 575
} | 1,492 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:url_launcher_platform_interface/link.dart';
import 'package:url_launcher_plat... | plugins/packages/url_launcher/url_launcher_macos/lib/url_launcher_macos.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_macos/lib/url_launcher_macos.dart",
"repo_id": "plugins",
"token_count": 553
} | 1,493 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/mockito.dart';
import 'package:plugin_plat... | plugins/packages/url_launcher/url_launcher_platform_interface/test/method_channel_url_launcher_test.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_platform_interface/test/method_channel_url_launcher_test.dart",
"repo_id": "plugins",
"token_count": 4431
} | 1,494 |
// Copyright 2013 The Flutter 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:js_util';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
... | plugins/packages/url_launcher/url_launcher_web/lib/src/link.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_web/lib/src/link.dart",
"repo_id": "plugins",
"token_count": 3670
} | 1,495 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:url_launcher_platform_interface/url_launcher_platf... | plugins/packages/url_launcher/url_launcher_windows/test/url_launcher_windows_test.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_windows/test/url_launcher_windows_test.dart",
"repo_id": "plugins",
"token_count": 1117
} | 1,496 |
// Copyright 2013 The Flutter 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.videoplayerexample;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.spy;
import static org.mockito.Mo... | plugins/packages/video_player/video_player/example/android/app/src/test/java/io/flutter/plugins/videoplayerexample/FlutterActivityTest.java/0 | {
"file_path": "plugins/packages/video_player/video_player/example/android/app/src/test/java/io/flutter/plugins/videoplayerexample/FlutterActivityTest.java",
"repo_id": "plugins",
"token_count": 663
} | 1,497 |
// Copyright 2013 The Flutter 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:typed_data';
import 'package:flutter/foundation.dart' show kIsWeb;
import ... | plugins/packages/video_player/video_player/test/video_player_test.dart/0 | {
"file_path": "plugins/packages/video_player/video_player/test/video_player_test.dart",
"repo_id": "plugins",
"token_count": 14894
} | 1,498 |
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">www.sample-videos.com</domain>
<domain includeSubdomains="true">184.72.239.149</domain>
</domain-config>
</network-security-config> | plugins/packages/video_player/video_player_android/example/android/app/src/main/res/xml/network_security_config.xml/0 | {
"file_path": "plugins/packages/video_player/video_player_android/example/android/app/src/main/res/xml/network_security_config.xml",
"repo_id": "plugins",
"token_count": 112
} | 1,499 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.