text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// ignore_for_file: cascade_invocations
import 'package:flame/extensions.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_flame/pinball_flame.dart';
void main() {
final flameTester = FlameTester(
() => PinballForge2DGame(gravity: Vector... | pinball/packages/pinball_flame/test/src/pinball_forge2d_game_test.dart/0 | {
"file_path": "pinball/packages/pinball_flame/test/src/pinball_forge2d_game_test.dart",
"repo_id": "pinball",
"token_count": 698
} | 1,222 |
library pinball_theme;
export 'src/generated/generated.dart';
export 'src/themes/themes.dart';
| pinball/packages/pinball_theme/lib/pinball_theme.dart/0 | {
"file_path": "pinball/packages/pinball_theme/lib/pinball_theme.dart",
"repo_id": "pinball",
"token_count": 34
} | 1,223 |
include: package:very_good_analysis/analysis_options.2.4.0.yaml
analyzer:
exclude:
- lib/**/*.gen.dart
| pinball/packages/pinball_ui/analysis_options.yaml/0 | {
"file_path": "pinball/packages/pinball_ui/analysis_options.yaml",
"repo_id": "pinball",
"token_count": 44
} | 1,224 |
import 'package:flutter/material.dart';
import 'package:pinball_ui/gen/gen.dart';
/// {@template pixelated_decoration}
/// Widget with pixelated background and layout defined for dialog displays.
/// {@endtemplate}
class PixelatedDecoration extends StatelessWidget {
/// {@macro pixelated_decoration}
const Pixelate... | pinball/packages/pinball_ui/lib/src/dialog/pixelated_decoration.dart/0 | {
"file_path": "pinball/packages/pinball_ui/lib/src/dialog/pixelated_decoration.dart",
"repo_id": "pinball",
"token_count": 720
} | 1,225 |
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_ui/pinball_ui.dart';
void main() {
group('PinballColors', () {
test('white is 0xFFFFFFFF', () {
expect(PinballColors.white, const Color(0xFFFFFFFF));
});
test('black is 0xFF000000', () ... | pinball/packages/pinball_ui/test/src/theme/pinball_colors_test.dart/0 | {
"file_path": "pinball/packages/pinball_ui/test/src/theme/pinball_colors_test.dart",
"repo_id": "pinball",
"token_count": 714
} | 1,226 |
# share_repository
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![License: MIT][license_badge]][license_link]
Repository to facilitate sharing scores.
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_goo... | pinball/packages/share_repository/README.md/0 | {
"file_path": "pinball/packages/share_repository/README.md",
"repo_id": "pinball",
"token_count": 168
} | 1,227 |
// ignore_for_file: cascade_invocations
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flame_forge2d/forge2d_game.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball/game/behaviors/behaviors.dart';
import 'package:pinball/select_cha... | pinball/test/game/behaviors/bonus_ball_spawning_behavior_test.dart/0 | {
"file_path": "pinball/test/game/behaviors/bonus_ball_spawning_behavior_test.dart",
"repo_id": "pinball",
"token_count": 687
} | 1,228 |
// ignore_for_file: cascade_invocations, prefer_const_constructors
import 'dart:async';
import 'package:bloc_test/bloc_test.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart... | pinball/test/game/components/android_acres/behaviors/ramp_progress_behavior_test.dart/0 | {
"file_path": "pinball/test/game/components/android_acres/behaviors/ramp_progress_behavior_test.dart",
"repo_id": "pinball",
"token_count": 3873
} | 1,229 |
// ignore_for_file: cascade_invocations
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flame_forge2d/forge2d_game.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball/game/components/dino_dese... | pinball/test/game/components/dino_desert/behaviors/chrome_dino_bonus_behavior_test.dart/0 | {
"file_path": "pinball/test/game/components/dino_desert/behaviors/chrome_dino_bonus_behavior_test.dart",
"repo_id": "pinball",
"token_count": 929
} | 1,230 |
// ignore_for_file: cascade_invocations
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball/game/behaviors/behaviors.dart';
import 'package:pinball/game/comp... | pinball/test/game/components/sparky_scorch/sparky_scorch_test.dart/0 | {
"file_path": "pinball/test/game/components/sparky_scorch/sparky_scorch_test.dart",
"repo_id": "pinball",
"token_count": 1734
} | 1,231 |
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball/more_information/more_information.dart';
import 'package:pinball_ui/pinball_ui.dart';
import 'package:plugin_platform_interfac... | pinball/test/more_information/more_information_dialog_test.dart/0 | {
"file_path": "pinball/test/more_information/more_information_dialog_test.dart",
"repo_id": "pinball",
"token_count": 3011
} | 1,232 |
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
- name: validate iOS and macOS podspecs
script: script/tool_runner.sh
args: ["podspec-check"]
| plugins/.ci/targets/macos_lint_podspecs.yaml/0 | {
"file_path": "plugins/.ci/targets/macos_lint_podspecs.yaml",
"repo_id": "plugins",
"token_count": 65
} | 1,233 |
## 0.10.4
* Temporarily fixes issue with requested video profiles being null by falling back to deprecated behavior in that case.
## 0.10.3
* Adds back use of Optional type.
* Updates minimum Flutter version to 3.0.
## 0.10.2+3
* Updates code for stricter lint checks.
## 0.10.2+2
* Fixes zoom computation for vir... | plugins/packages/camera/camera_android/CHANGELOG.md/0 | {
"file_path": "plugins/packages/camera/camera_android/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 584
} | 1,234 |
// Copyright 2013 The Flutter 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.fpsrange;
import android.hardware.camera2.CaptureRequest;
import android.os.Build;
import android.util.Range;
i... | plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/fpsrange/FpsRangeFeature.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/fpsrange/FpsRangeFeature.java",
"repo_id": "plugins",
"token_count": 873
} | 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.
package io.flutter.plugins.camera.types;
import android.os.SystemClock;
/**
* This is a simple class for managing a timeout. In the camera we generally ... | plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/types/Timeout.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/types/Timeout.java",
"repo_id": "plugins",
"token_count": 454
} | 1,236 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=false
android.enableR8=true
| plugins/packages/camera/camera_android/example/android/gradle.properties/0 | {
"file_path": "plugins/packages/camera/camera_android/example/android/gradle.properties",
"repo_id": "plugins",
"token_count": 38
} | 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.
// 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_android/test/type_conversion_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_android/test/type_conversion_test.dart",
"repo_id": "plugins",
"token_count": 793
} | 1,238 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import androidx.camera.core.CameraIn... | plugins/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraSelectorHostApiImpl.java/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraSelectorHostApiImpl.java",
"repo_id": "plugins",
"token_count": 776
} | 1,239 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.A... | plugins/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/InstanceManagerTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/InstanceManagerTest.java",
"repo_id": "plugins",
"token_count": 701
} | 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:pigeon/pigeon.dart';
@ConfigurePigeon(
PigeonOptions(
dartOut: 'lib/src/camerax_library.g.dart',
dartTestOut: 'test/test_camerax... | plugins/packages/camera/camera_android_camerax/pigeons/camerax_library.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/pigeons/camerax_library.dart",
"repo_id": "plugins",
"token_count": 1140
} | 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.
// Autogenerated from Pigeon (v3.2.9), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_co... | plugins/packages/camera/camera_android_camerax/test/test_camerax_library.g.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/test/test_camerax_library.g.dart",
"repo_id": "plugins",
"token_count": 8213
} | 1,242 |
// Copyright 2013 The Flutter 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 AVFoundation;
#import <OCMock/OCMock.h>
#import "MockFLTThreadSafeFl... | plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraPreviewPauseTests.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraPreviewPauseTests.m",
"repo_id": "plugins",
"token_count": 315
} | 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 camera_avfoundation;
@import XCTest;
#import <OCMock/OCMock.h>
@interface ThreadSafeTextureRegistryTests : XCTestCase
@end
@implementation Thread... | plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/ThreadSafeTextureRegistryTests.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/ThreadSafeTextureRegistryTests.m",
"repo_id": "plugins",
"token_count": 1754
} | 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 "FLTCam.h"
#import "FLTCam_Test.h"
#import "FLTSavePhotoDelegate.h"
#import "QueueUtils.h"
@import CoreMotion;
#import <libkern/OSAtomic.h>
@impl... | plugins/packages/camera/camera_avfoundation/ios/Classes/FLTCam.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/ios/Classes/FLTCam.m",
"repo_id": "plugins",
"token_count": 16601
} | 1,245 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'camera_avfoundation'
s.version = '0.0.1'
s.summary = 'Flutter Camera'
s.description = <<-DESC
A Flutter plugin to use the camera from your Flutter app.
... | plugins/packages/camera/camera_avfoundation/ios/camera_avfoundation.podspec/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/ios/camera_avfoundation.podspec",
"repo_id": "plugins",
"token_count": 437
} | 1,246 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart' show immutable;
import 'package:flutter/services.dart';
import '../utils/utils.dart';
/// Generic Event coming f... | plugins/packages/camera/camera_platform_interface/lib/src/events/device_event.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/lib/src/events/device_event.dart",
"repo_id": "plugins",
"token_count": 615
} | 1,247 |
// Copyright 2013 The Flutter 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/method_channel/method_channel_came... | plugins/packages/camera/camera_platform_interface/test/camera_platform_interface_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/test/camera_platform_interface_test.dart",
"repo_id": "plugins",
"token_count": 5242
} | 1,248 |
## NEXT
* Updates minimum Flutter version to 3.0.
## 0.3.1+1
* Updates code for stricter lint checks.
## 0.3.1
* Updates to latest camera platform interface, and fails if user attempts to use streaming with recording (since streaming is currently unsupported on web).
## 0.3.0+1
* Updates imports for `prefer_rela... | plugins/packages/camera/camera_web/CHANGELOG.md/0 | {
"file_path": "plugins/packages/camera/camera_web/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 492
} | 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/services.dart';
/// A screen orientation type.
///
/// See: https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/typ... | plugins/packages/camera/camera_web/lib/src/types/orientation_type.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/lib/src/types/orientation_type.dart",
"repo_id": "plugins",
"token_count": 264
} | 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 'dart:async';
import 'package:camera_platform_interface/camera_platform_interface.dart';
import 'package:flutter/material.dart';
import 'package:fl... | plugins/packages/camera/camera_windows/example/lib/main.dart/0 | {
"file_path": "plugins/packages/camera/camera_windows/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 6470
} | 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.
#ifndef PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_CAPTURE_CONTROLLER_LISTENER_H_
#define PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_CAPTURE_CONTROLLER_LISTENER_H_... | plugins/packages/camera/camera_windows/windows/capture_controller_listener.h/0 | {
"file_path": "plugins/packages/camera/camera_windows/windows/capture_controller_listener.h",
"repo_id": "plugins",
"token_count": 1590
} | 1,252 |
// Copyright 2013 The Flutter 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 "camera.h"
#include <flutter/method_call.h>
#include <flutter/method_result_functions.h>
#include <flutter/standard_method_codec.h>
#include <flu... | plugins/packages/camera/camera_windows/windows/test/camera_test.cpp/0 | {
"file_path": "plugins/packages/camera/camera_windows/windows/test/camera_test.cpp",
"repo_id": "plugins",
"token_count": 6302
} | 1,253 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.espresso">
</manifest>
| plugins/packages/espresso/android/src/main/AndroidManifest.xml/0 | {
"file_path": "plugins/packages/espresso/android/src/main/AndroidManifest.xml",
"repo_id": "plugins",
"token_count": 42
} | 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 androidx.test.espresso.flutter.api;
import android.view.View;
import androidx.test.espresso.flutter.model.WidgetInfo;
import com.google.common.ann... | plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/api/WidgetAssertion.java/0 | {
"file_path": "plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/api/WidgetAssertion.java",
"repo_id": "plugins",
"token_count": 229
} | 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.
package androidx.test.espresso.flutter.internal.protocol.impl;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.c... | plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/DartVmService.java/0 | {
"file_path": "plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/DartVmService.java",
"repo_id": "plugins",
"token_count": 5864
} | 1,256 |
// Copyright 2013 The Flutter 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 androidx.test.espresso.flutter.model.WidgetInfo;
import org.hamcrest.Description;
import org.hamcre... | plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/matcher/IsExistingMatcher.java/0 | {
"file_path": "plugins/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/matcher/IsExistingMatcher.java",
"repo_id": "plugins",
"token_count": 241
} | 1,257 |
name: espresso
description: Java classes for testing Flutter apps using Espresso.
Allows driving Flutter widgets from a native Espresso test.
repository: https://github.com/flutter/plugins/tree/main/packages/espresso
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+espre... | plugins/packages/espresso/pubspec.yaml/0 | {
"file_path": "plugins/packages/espresso/pubspec.yaml",
"repo_id": "plugins",
"token_count": 248
} | 1,258 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file_selector/file_selector.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
/// Screen that shows... | plugins/packages/file_selector/file_selector/example/lib/get_directory_page.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector/example/lib/get_directory_page.dart",
"repo_id": "plugins",
"token_count": 1052
} | 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:file_selector_platform_interface/file_selector_platform_interface.dart';
export 'package:file_selector_platform_inte... | plugins/packages/file_selector/file_selector/lib/file_selector.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector/lib/file_selector.dart",
"repo_id": "plugins",
"token_count": 1383
} | 1,260 |
framework module file_selector_ios {
umbrella header "file_selector_ios-umbrella.h"
export *
module * { export * }
explicit module Test {
header "FFSFileSelectorPlugin_Test.h"
}
}
| plugins/packages/file_selector/file_selector_ios/ios/Classes/FileSelectorPlugin.modulemap/0 | {
"file_path": "plugins/packages/file_selector/file_selector_ios/ios/Classes/FileSelectorPlugin.modulemap",
"repo_id": "plugins",
"token_count": 67
} | 1,261 |
#
# Generated file, do not edit.
#
list(APPEND FLUTTER_PLUGIN_LIST
file_selector_linux
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
)
set(PLUGIN_BUNDLED_LIBRARIES)
foreach(plugin ${FLUTTER_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
target_link_libraries(${BIN... | plugins/packages/file_selector/file_selector_linux/example/linux/flutter/generated_plugins.cmake/0 | {
"file_path": "plugins/packages/file_selector/file_selector_linux/example/linux/flutter/generated_plugins.cmake",
"repo_id": "plugins",
"token_count": 320
} | 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.
// Autogenerated from Pigeon (v4.2.14), do not edit directly.
// See also: https://pub.dev/packages/pigeon
import Foundation
#if os(iOS)
import Flutter
#el... | plugins/packages/file_selector/file_selector_macos/macos/Classes/messages.g.swift/0 | {
"file_path": "plugins/packages/file_selector/file_selector_macos/macos/Classes/messages.g.swift",
"repo_id": "plugins",
"token_count": 2466
} | 1,263 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart' show immutable;
/// A set of allowed XTypes.
@immutable
class XTypeGroup {
/// Creates a new group with the give... | plugins/packages/file_selector/file_selector_platform_interface/lib/src/types/x_type_group/x_type_group.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_platform_interface/lib/src/types/x_type_group/x_type_group.dart",
"repo_id": "plugins",
"token_count": 742
} | 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.
// Autogenerated from Pigeon (v3.2.5), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_co... | plugins/packages/file_selector/file_selector_windows/test/test_api.g.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_windows/test/test_api.g.dart",
"repo_id": "plugins",
"token_count": 1693
} | 1,265 |
// Copyright 2013 The Flutter 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 static org.junit.Assert.assertEquals;
import android.app.Activity;
import androidx.annotati... | plugins/packages/flutter_plugin_android_lifecycle/android/src/test/java/io/flutter/embedding/engine/plugins/lifecycle/FlutterLifecycleAdapterTest.java/0 | {
"file_path": "plugins/packages/flutter_plugin_android_lifecycle/android/src/test/java/io/flutter/embedding/engine/plugins/lifecycle/FlutterLifecycleAdapterTest.java",
"repo_id": "plugins",
"token_count": 855
} | 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.
library google_maps_flutter;
import 'dart:async';
import 'dart:io';
// TODO(a14n): remove this import once Flutter 3.1 or later reaches stable (including ... | plugins/packages/google_maps_flutter/google_maps_flutter/lib/google_maps_flutter.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter/lib/google_maps_flutter.dart",
"repo_id": "plugins",
"token_count": 615
} | 1,267 |
group 'io.flutter.plugins.googlemaps'
version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
... | plugins/packages/google_maps_flutter/google_maps_flutter_android/android/build.gradle/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/android/build.gradle",
"repo_id": "plugins",
"token_count": 753
} | 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.googlemaps;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import androidx.annotation.NonNull;
i... | plugins/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java",
"repo_id": "plugins",
"token_count": 1166
} | 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 '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_android/lib/src/google_maps_flutter_android.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_android/lib/src/google_maps_flutter_android.dart",
"repo_id": "plugins",
"token_count": 9695
} | 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 <Flutter/Flutter.h>
#import <GoogleMaps/GoogleMaps.h>
NS_ASSUME_NONNULL_BEGIN
@interface FLTGoogleMapTileOverlayController : NSObject
- (instance... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/FLTGoogleMapTileOverlayController.h/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/FLTGoogleMapTileOverlayController.h",
"repo_id": "plugins",
"token_count": 492
} | 1,271 |
framework module google_maps_flutter_ios {
umbrella header "google_maps_flutter_ios-umbrella.h"
export *
module * { export * }
explicit module Test {
header "GoogleMapController_Test.h"
}
}
| plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/google_maps_flutter_ios.modulemap/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/google_maps_flutter_ios.modulemap",
"repo_id": "plugins",
"token_count": 68
} | 1,272 |
// Copyright 2013 The Flutter 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' show Future;
import 'dart:typed_data' show Uint8List;
import 'dart:ui' show Size;
import 'package:flutter/foundation.dart' show kIsWeb... | plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/bitmap.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/bitmap.dart",
"repo_id": "plugins",
"token_count": 2279
} | 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 'package:collection/collection.dart';
import 'package:flutter/foundation.dart'
show immutable, listEquals, VoidCallback;
import 'package:flutter... | plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/polygon.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/polygon.dart",
"repo_id": "plugins",
"token_count": 2160
} | 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 '../types.dart';
import 'maps_object.dart';
/// Converts an [Iterable] of Polylines in a Map of PolylineId -> Polyline.
Map<PolylineId, Polyline> k... | plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/polyline.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/polyline.dart",
"repo_id": "plugins",
"token_count": 186
} | 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 'package:flutter_test/flutter_test.dart';
import 'package:google_maps/google_maps.dart' as gmaps;
import 'package:google_maps_... | plugins/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/shape_test.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/shape_test.dart",
"repo_id": "plugins",
"token_count": 2164
} | 1,276 |
// Copyright 2013 The Flutter 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 `PolygonController` class wraps a [gmaps.Polygon] and its `onTap` behavior.
class PolygonController {
/// Creat... | plugins/packages/google_maps_flutter/google_maps_flutter_web/lib/src/polygon.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_web/lib/src/polygon.dart",
"repo_id": "plugins",
"token_count": 525
} | 1,277 |
name: google_sign_in
description: Flutter plugin for Google Sign-In, a secure authentication system
for signing in with a Google account on Android and iOS.
repository: https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Ai... | plugins/packages/google_sign_in/google_sign_in/pubspec.yaml/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in/pubspec.yaml",
"repo_id": "plugins",
"token_count": 530
} | 1,278 |
// Copyright 2013 The Flutter 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 android.accounts.Account;
import android.app.Activity;
import android.content.Context;
import android.cont... | plugins/packages/google_sign_in/google_sign_in_android/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_android/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java",
"repo_id": "plugins",
"token_count": 10470
} | 1,279 |
framework module google_sign_in_ios {
umbrella header "google_sign_in_ios-umbrella.h"
export *
module * { export * }
explicit module Test {
header "FLTGoogleSignInPlugin_Test.h"
}
}
| plugins/packages/google_sign_in/google_sign_in_ios/ios/Classes/FLTGoogleSignInPlugin.modulemap/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_ios/ios/Classes/FLTGoogleSignInPlugin.modulemap",
"repo_id": "plugins",
"token_count": 69
} | 1,280 |
name: google_sign_in_platform_interface
description: A common platform interface for the google_sign_in plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%... | plugins/packages/google_sign_in/google_sign_in_platform_interface/pubspec.yaml/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_platform_interface/pubspec.yaml",
"repo_id": "plugins",
"token_count": 283
} | 1,281 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_identity_services_web/id.dart';
import 'package:google_iden... | plugins/packages/google_sign_in/google_sign_in_web/example/integration_test/utils_test.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_web/example/integration_test/utils_test.dart",
"repo_id": "plugins",
"token_count": 2285
} | 1,282 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/*
* Copyright (C) 2007-2008 OpenIntents.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in ... | plugins/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/FileUtils.java/0 | {
"file_path": "plugins/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/FileUtils.java",
"repo_id": "plugins",
"token_count": 1587
} | 1,283 |
# image\_picker\_for\_web
A web implementation of [`image_picker`][1].
## Limitations on the web platform
Since Web Browsers don't offer direct access to their users' file system,
this plugin provides a `PickedFile` abstraction to make access uniform
across platforms.
The web version of the plugin puts network-acce... | plugins/packages/image_picker/image_picker_for_web/README.md/0 | {
"file_path": "plugins/packages/image_picker/image_picker_for_web/README.md",
"repo_id": "plugins",
"token_count": 944
} | 1,284 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <XCTest/XCTest.h>
#import <os/log.h>
const int kLimitedElementWaitingTime = 30;
@interface ImagePickerFromLimitedGalleryUITests : XCTestCase
@pr... | plugins/packages/image_picker/image_picker_ios/example/ios/RunnerUITests/ImagePickerFromLimitedGalleryUITests.m/0 | {
"file_path": "plugins/packages/image_picker/image_picker_ios/example/ios/RunnerUITests/ImagePickerFromLimitedGalleryUITests.m",
"repo_id": "plugins",
"token_count": 2079
} | 1,285 |
name: image_picker_example
description: Demonstrates how to use the image_picker plugin.
publish_to: none
environment:
sdk: ">=2.14.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
flutter:
sdk: flutter
image_picker_ios:
# When depending on this package from a real application you should use:
# image_... | plugins/packages/image_picker/image_picker_ios/example/pubspec.yaml/0 | {
"file_path": "plugins/packages/image_picker/image_picker_ios/example/pubspec.yaml",
"repo_id": "plugins",
"token_count": 302
} | 1,286 |
// Copyright 2013 The Flutter 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
#import <Foundation/Foundation.h>
@protocol Flutte... | plugins/packages/image_picker/image_picker_ios/ios/Classes/messages.g.h/0 | {
"file_path": "plugins/packages/image_picker/image_picker_ios/ios/Classes/messages.g.h",
"repo_id": "plugins",
"token_count": 986
} | 1,287 |
// Copyright 2013 The Flutter 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:cross_file/cross_file.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
import '../m... | plugins/packages/image_picker/image_picker_platform_interface/lib/src/platform_interface/image_picker_platform.dart/0 | {
"file_path": "plugins/packages/image_picker/image_picker_platform_interface/lib/src/platform_interface/image_picker_platform.dart",
"repo_id": "plugins",
"token_count": 3947
} | 1,288 |
## 3.1.4
* Updates iOS minimum version in README.
## 3.1.3
* Ignores a lint in the example app for backwards compatibility.
## 3.1.2
* Updates example code for `use_build_context_synchronously` lint.
* Updates minimum Flutter version to 3.0.
## 3.1.1
* Adds screenshots to pubspec.yaml.
## 3.1.0
* Adds macOS as... | plugins/packages/in_app_purchase/in_app_purchase/CHANGELOG.md/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 7247
} | 1,289 |
// Copyright 2013 The Flutter 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.app.Activity;
import android.app.Application;
import android.content.Context;
import androidx.ann... | plugins/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/InAppPurchasePlugin.java/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/android/src/main/java/io/flutter/plugins/inapppurchase/InAppPurchasePlugin.java",
"repo_id": "plugins",
"token_count": 1601
} | 1,290 |
// Copyright 2013 The Flutter 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:in_app_purchase_platform_interface/in_app_purchase_platform_interface.dart';
import '../../billing_client_wrappers.dart';
import '../in_ap... | plugins/packages/in_app_purchase/in_app_purchase_android/lib/src/types/google_play_purchase_details.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/lib/src/types/google_play_purchase_details.dart",
"repo_id": "plugins",
"token_count": 703
} | 1,291 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_platform_interface/src/errors/in_app_purchase_error.dart';
void main() {
... | plugins/packages/in_app_purchase/in_app_purchase_platform_interface/test/src/errors/in_app_purchase_error_test.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_platform_interface/test/src/errors/in_app_purchase_error_test.dart",
"repo_id": "plugins",
"token_count": 360
} | 1,292 |
// Copyright 2013 The Flutter 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>
#import "FIATransactionCache.h"
@class SKPaymentTransaction;
NS_ASSUME_NONNULL_BEGIN
typ... | plugins/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPaymentQueueHandler.h/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPaymentQueueHandler.h",
"repo_id": "plugins",
"token_count": 2618
} | 1,293 |
// Copyright 2013 The Flutter 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 "FIAPaymentQueueHandler.h"
#import "Stubs.h"
@import in_app_purchase_storekit;
@interface InA... | plugins/packages/in_app_purchase/in_app_purchase_storekit/example/ios/RunnerTests/InAppPurchasePluginTests.m/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/example/ios/RunnerTests/InAppPurchasePluginTests.m",
"repo_id": "plugins",
"token_count": 11421
} | 1,294 |
// Copyright 2013 The Flutter 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 "FIAObjectTranslator.h"
#pragma mark - SKProduct Coders
@implementation FIAObjectTranslator
+ (NSDictionary *)getMapFromSKProduct:(SKProduct *)p... | plugins/packages/in_app_purchase/in_app_purchase_storekit/ios/Classes/FIAObjectTranslator.m/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/ios/Classes/FIAObjectTranslator.m",
"repo_id": "plugins",
"token_count": 4249
} | 1,295 |
// Copyright 2013 The Flutter 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:flutter/services.dart';
import 'package:in_app_purchase_platform_interface/... | plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/in_app_purchase_storekit_platform.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/in_app_purchase_storekit_platform.dart",
"repo_id": "plugins",
"token_count": 2900
} | 1,296 |
// Copyright 2013 The Flutter 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:in_app_purchase_platform_interface/in_app_purchase_platform_interface.dart';
import '../../store_kit_wrappers.dart';
/// The class repres... | plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/types/app_store_product_details.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/types/app_store_product_details.dart",
"repo_id": "plugins",
"token_count": 505
} | 1,297 |
// Copyright 2013 The Flutter 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 "FIATransactionCache.h"
@interface FIATransactionCache ()
/// A NSMutableDictionary storing the objects that are cached.
@property(nonatomic, str... | plugins/packages/in_app_purchase/in_app_purchase_storekit/macos/Classes/FIATransactionCache.m/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/macos/Classes/FIATransactionCache.m",
"repo_id": "plugins",
"token_count": 309
} | 1,298 |
// Copyright 2013 The Flutter 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:ios_platform_images/ios_platform_images.dart';
void main() => runApp(const MyApp());
/// Main wid... | plugins/packages/ios_platform_images/example/lib/main.dart/0 | {
"file_path": "plugins/packages/ios_platform_images/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 450
} | 1,299 |
# local_auth
<?code-excerpt path-base="excerpts/packages/local_auth_example"?>
This Flutter plugin provides means to perform local, on-device authentication of
the user.
On supported devices, this includes authentication with biometrics such as
fingerprint or facial recognition.
| | Android | iOS | W... | plugins/packages/local_auth/local_auth/README.md/0 | {
"file_path": "plugins/packages/local_auth/local_auth/README.md",
"repo_id": "plugins",
"token_count": 2956
} | 1,300 |
include ':app'
| plugins/packages/local_auth/local_auth/example/android/settings_aar.gradle/0 | {
"file_path": "plugins/packages/local_auth/local_auth/example/android/settings_aar.gradle",
"repo_id": "plugins",
"token_count": 6
} | 1,301 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.localauth">
<uses-sdk android:targetSdkVersion="29"/>
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
</manifest>
| plugins/packages/local_auth/local_auth_android/android/src/main/AndroidManifest.xml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/android/src/main/AndroidManifest.xml",
"repo_id": "plugins",
"token_count": 89
} | 1,302 |
// Copyright 2013 The Flutter 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, avoid_print
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dar... | plugins/packages/local_auth/local_auth_android/example/lib/main.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 3614
} | 1,303 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Various types of biometric authentication.
/// Some platforms report specific biometric types, while others report only
/// classifications like strong... | plugins/packages/local_auth/local_auth_platform_interface/lib/types/biometric_type.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth_platform_interface/lib/types/biometric_type.dart",
"repo_id": "plugins",
"token_count": 218
} | 1,304 |
// Copyright 2013 The Flutter 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 (v5.0.1), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_co... | plugins/packages/local_auth/local_auth_windows/lib/src/messages.g.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth_windows/lib/src/messages.g.dart",
"repo_id": "plugins",
"token_count": 1169
} | 1,305 |
## NEXT
* Updates minimum Flutter version to 3.0.
## 2.0.12
* Switches to the new `path_provider_foundation` implementation package
for iOS and macOS.
* Updates code for `no_leading_underscores_for_local_identifiers` lint.
* Updates minimum Flutter version to 2.10.
* Fixes avoid_redundant_argument_values lint warn... | plugins/packages/path_provider/path_provider/CHANGELOG.md/0 | {
"file_path": "plugins/packages/path_provider/path_provider/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 2427
} | 1,306 |
rootProject.name = 'path_provider_android'
| plugins/packages/path_provider/path_provider_android/android/settings.gradle/0 | {
"file_path": "plugins/packages/path_provider/path_provider_android/android/settings.gradle",
"repo_id": "plugins",
"token_count": 14
} | 1,307 |
// Copyright 2013 The Flutter 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 (v5.0.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
import Foundation
#if os(iOS)
import Flutter
#els... | plugins/packages/path_provider/path_provider_foundation/ios/Classes/messages.g.swift/0 | {
"file_path": "plugins/packages/path_provider/path_provider_foundation/ios/Classes/messages.g.swift",
"repo_id": "plugins",
"token_count": 581
} | 1,308 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Corresponds to constants defined in Androids `android.os.Environment` class.
///
/// https://developer.android.com/reference/android/os/Environment.htm... | plugins/packages/path_provider/path_provider_platform_interface/lib/src/enums.dart/0 | {
"file_path": "plugins/packages/path_provider/path_provider_platform_interface/lib/src/enums.dart",
"repo_id": "plugins",
"token_count": 590
} | 1,309 |
name: plugin_platform_interface
description: Reusable base class for platform interfaces of Flutter federated
plugins, to help enforce best practices.
repository: https://github.com/flutter/plugins/tree/main/packages/plugin_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3A... | plugins/packages/plugin_platform_interface/pubspec.yaml/0 | {
"file_path": "plugins/packages/plugin_platform_interface/pubspec.yaml",
"repo_id": "plugins",
"token_count": 368
} | 1,310 |
name: quick_actions
description: Flutter plugin for creating shortcuts on home screen, also known as
Quick Actions on iOS and App Shortcuts on Android.
repository: https://github.com/flutter/plugins/tree/main/packages/quick_actions/quick_actions
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is... | plugins/packages/quick_actions/quick_actions/pubspec.yaml/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions/pubspec.yaml",
"repo_id": "plugins",
"token_count": 352
} | 1,311 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Flutter
import XCTest
@testable import quick_actions_ios
class QuickActionsPluginTests: XCTestCase {
func testHandleMethodCall_setShortcutItems... | plugins/packages/quick_actions/quick_actions_ios/example/ios/RunnerTests/QuickActionsPluginTests.swift/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_ios/example/ios/RunnerTests/QuickActionsPluginTests.swift",
"repo_id": "plugins",
"token_count": 3518
} | 1,312 |
## NEXT
* Updates minimum Flutter version to 3.0.
## 1.0.3
* Updates imports for `prefer_relative_imports`.
* Updates minimum Flutter version to 2.10.
## 1.0.2
* Removes dependency on `meta`.
## 1.0.1
* Updates code for analyzer changes.
* Update to use the `verify` method introduced in plugin_platform_interface... | plugins/packages/quick_actions/quick_actions_platform_interface/CHANGELOG.md/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_platform_interface/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 132
} | 1,313 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:shared_preferences/shared_preferences.dart';
impor... | plugins/packages/shared_preferences/shared_preferences/test/shared_preferences_test.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences/test/shared_preferences_test.dart",
"repo_id": "plugins",
"token_count": 3272
} | 1,314 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| plugins/packages/shared_preferences/shared_preferences_android/example/android/gradle.properties/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_android/example/android/gradle.properties",
"repo_id": "plugins",
"token_count": 30
} | 1,315 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import XCTest
#if os(iOS)
import Flutter
#elseif os(macOS)
import FlutterMacOS
#endif
@testable import shared_preferences_foundation
class RunnerTests: ... | plugins/packages/shared_preferences/shared_preferences_foundation/darwin/Tests/RunnerTests.swift/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_foundation/darwin/Tests/RunnerTests.swift",
"repo_id": "plugins",
"token_count": 769
} | 1,316 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| plugins/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "plugins",
"token_count": 32
} | 1,317 |
## NEXT
* Updates minimum Flutter version to 3.0.
## 2.1.0
* Adopts `plugin_platform_interface`. As a result, `isMock` is deprecated in
favor of the now-standard `MockPlatformInterfaceMixin`.
## 2.0.0
* Migrate to null safety.
## 1.0.5
* Update Flutter SDK constraint.
## 1.0.4
* Update lower bound of dart de... | plugins/packages/shared_preferences/shared_preferences_platform_interface/CHANGELOG.md/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_platform_interface/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 221
} | 1,318 |
// Copyright 2013 The Flutter 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 'dart:async';
import 'package:flutter/material.dart';
import 'package:url_launcher/link.dart';
import '... | plugins/packages/url_launcher/url_launcher/example/lib/main.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 3385
} | 1,319 |
// Copyright 2013 The Flutter 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:url_launcher_platform_interface/url_launcher_platform_interface.dart';
import '../url_launcher_string.dart';
import ... | plugins/packages/url_launcher/url_launcher/lib/src/url_launcher_uri.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/lib/src/url_launcher_uri.dart",
"repo_id": "plugins",
"token_count": 1122
} | 1,320 |
// Copyright 2013 The Flutter 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 android.os.Bundle;
import android.util.Log;
import androidx.annotation.Nullable;
import io.flutter.plugin.c... | plugins/packages/url_launcher/url_launcher_android/android/src/main/java/io/flutter/plugins/urllauncher/MethodCallHandlerImpl.java/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_android/android/src/main/java/io/flutter/plugins/urllauncher/MethodCallHandlerImpl.java",
"repo_id": "plugins",
"token_count": 1344
} | 1,321 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.