text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
REM This file is used by
REM https://github.com/flutter/tests/tree/master/registry/flutter_packages.test
REM to run the tests of certain packages in this repository as a presubmit
REM for the flutter/flutter repository.
REM Changes to this file (and any tests in this repository) are only honored
REM after the commit ha... | packages/customer_testing.bat/0 | {
"file_path": "packages/customer_testing.bat",
"repo_id": "packages",
"token_count": 184
} | 1,100 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="example"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
... | packages/packages/animations/example/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/animations/example/android/app/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 480
} | 1,101 |
// Copyright 2013 The Flutter 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:animations/src/shared_axis_transition.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
impor... | packages/packages/animations/test/shared_axis_transition_test.dart/0 | {
"file_path": "packages/packages/animations/test/shared_axis_transition_test.dart",
"repo_id": "packages",
"token_count": 29742
} | 1,102 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera;
import android.os.Build;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
/** Wraps ... | packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/DeviceInfo.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/DeviceInfo.java",
"repo_id": "packages",
"token_count": 201
} | 1,103 |
// Copyright 2013 The Flutter 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.flash;
import android.annotation.SuppressLint;
import android.hardware.camera2.CaptureRequest;
import androidx.... | packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/flash/FlashFeature.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/flash/FlashFeature.java",
"repo_id": "packages",
"token_count": 853
} | 1,104 |
// Copyright 2013 The Flutter 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 androidx.annotation.NonNull;
/**
* Wrapper class that provides a container for all {@link Timeout} insta... | packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/types/CaptureTimeoutsWrapper.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/types/CaptureTimeoutsWrapper.java",
"repo_id": "packages",
"token_count": 537
} | 1,105 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mo... | packages/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/ImageSaverTests.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/ImageSaverTests.java",
"repo_id": "packages",
"token_count": 1300
} | 1,106 |
// Copyright 2013 The Flutter 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.zoomlevel;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import stat... | packages/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/zoomlevel/ZoomLevelFeatureTest.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/zoomlevel/ZoomLevelFeatureTest.java",
"repo_id": "packages",
"token_count": 2625
} | 1,107 |
// Copyright 2013 The Flutter 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: avoid_print
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:flutter_driver/flutter_driver.dart';
const... | packages/packages/camera/camera_android/example/test_driver/integration_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android/example/test_driver/integration_test.dart",
"repo_id": "packages",
"token_count": 637
} | 1,108 |
group 'io.flutter.plugins.camerax'
version '1.0'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugi... | packages/packages/camera/camera_android_camerax/android/build.gradle/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/build.gradle",
"repo_id": "packages",
"token_count": 997
} | 1,109 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraSelectorHostApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraSelectorHostApiImpl.java",
"repo_id": "packages",
"token_count": 762
} | 1,110 |
// Copyright 2013 The Flutter 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.ImagePro... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/ImageProxyFlutterApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/ImageProxyFlutterApiImpl.java",
"repo_id": "packages",
"token_count": 714
} | 1,111 |
// Copyright 2013 The Flutter 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.util.Size;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.ann... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/QualitySelectorHostApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/QualitySelectorHostApiImpl.java",
"repo_id": "packages",
"token_count": 1746
} | 1,112 |
// Copyright 2013 The Flutter 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... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/CameraControlTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/CameraControlTest.java",
"repo_id": "packages",
"token_count": 6008
} | 1,113 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/ImageProxyTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/ImageProxyTest.java",
"repo_id": "packages",
"token_count": 1496
} | 1,114 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;
import static org.mockito.Ar... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/SystemServicesTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/SystemServicesTest.java",
"repo_id": "packages",
"token_count": 1768
} | 1,115 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:meta/meta.dart' show immutable;
import 'camerax_library.g.dart';
import 'instance_manager.dart';
i... | packages/packages/camera/camera_android_camerax/lib/src/capture_request_options.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/capture_request_options.dart",
"repo_id": "packages",
"token_count": 1720
} | 1,116 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart' show BinaryMessenger;
import 'package:meta/meta.dart' show immutable;
import 'camerax_library.g.dart';
import 'inst... | packages/packages/camera/camera_android_camerax/lib/src/preview.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/preview.dart",
"repo_id": "packages",
"token_count": 1830
} | 1,117 |
// Copyright 2013 The Flutter 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' show Point;
import 'package:async/async.dart';
import 'package:camera_android_camerax/camera_android_camerax.dart'... | packages/packages/camera/camera_android_camerax/test/android_camera_camerax_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/android_camera_camerax_test.dart",
"repo_id": "packages",
"token_count": 46653
} | 1,118 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:camera_android_camerax/src/camera.dart';
import 'package:camera_android_camerax/src/camera_control.dart';
import 'package:camera_android_ca... | packages/packages/camera/camera_android_camerax/test/camera_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/camera_test.dart",
"repo_id": "packages",
"token_count": 1312
} | 1,119 |
// Copyright 2013 The Flutter 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/image_capture.dart';
import 'package:camera_android_camerax/src/instance_manager.dart';
import 'package:camera_a... | packages/packages/camera/camera_android_camerax/test/image_capture_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/image_capture_test.dart",
"repo_id": "packages",
"token_count": 2026
} | 1,120 |
// Mocks generated by Mockito 5.4.4 from annotations
// in camera_android_camerax/test/preview_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:camera_android_camerax/src/camerax_library.g.dart' as _i2;
import 'package:camera_android_camerax/... | packages/packages/camera/camera_android_camerax/test/preview_test.mocks.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/preview_test.mocks.dart",
"repo_id": "packages",
"token_count": 1560
} | 1,121 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:camera_android_camerax/src/camerax_library.g.dart';
import 'package:camera_android_camerax/src/instance_manager.dart';
import 'package:came... | packages/packages/camera/camera_android_camerax/test/video_capture_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/video_capture_test.dart",
"repo_id": "packages",
"token_count": 1429
} | 1,122 |
// Copyright 2013 The Flutter 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... | packages/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraMethodChannelTests.m/0 | {
"file_path": "packages/packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraMethodChannelTests.m",
"repo_id": "packages",
"token_count": 582
} | 1,123 |
// Copyright 2013 The Flutter 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 "CameraTestUtils.h"
... | packages/packages/camera/camera_avfoundation/example/ios/RunnerTests/StreamingTest.m/0 | {
"file_path": "packages/packages/camera/camera_avfoundation/example/ios/RunnerTests/StreamingTest.m",
"repo_id": "packages",
"token_count": 1235
} | 1,124 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This header is available in the Test module. Import via "@import camera_avfoundation.Test;"
#import "CameraPlugin.h"
#import "FLTCam.h"
#import "FLTThr... | packages/packages/camera/camera_avfoundation/ios/Classes/CameraPlugin_Test.h/0 | {
"file_path": "packages/packages/camera/camera_avfoundation/ios/Classes/CameraPlugin_Test.h",
"repo_id": "packages",
"token_count": 655
} | 1,125 |
// Copyright 2013 The Flutter 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 "FLTThreadSafeTextureRegistry.h"
#import "QueueUtils.h"
@interface FLTThreadSafeTextureRegistry ()
@property(nonatomic, strong) NSObject<FlutterTe... | packages/packages/camera/camera_avfoundation/ios/Classes/FLTThreadSafeTextureRegistry.m/0 | {
"file_path": "packages/packages/camera/camera_avfoundation/ios/Classes/FLTThreadSafeTextureRegistry.m",
"repo_id": "packages",
"token_count": 435
} | 1,126 |
## 2.7.4
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
* Documents `getExposureOffsetStepSize` to return -1 if the device does not support
exposure compensation.
## 2.7.3
* Adds documentation to clarify that platform implementations of the plugin use
resolution presets as target resolutions.
... | packages/packages/camera/camera_platform_interface/CHANGELOG.md/0 | {
"file_path": "packages/packages/camera/camera_platform_interface/CHANGELOG.md",
"repo_id": "packages",
"token_count": 1168
} | 1,127 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Group of image formats that are comparable across Android and iOS platforms.
enum ImageFormatGroup {
/// The image format does not fit into any speci... | packages/packages/camera/camera_platform_interface/lib/src/types/image_format_group.dart/0 | {
"file_path": "packages/packages/camera/camera_platform_interface/lib/src/types/image_format_group.dart",
"repo_id": "packages",
"token_count": 757
} | 1,128 |
// Copyright 2013 The Flutter 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:flutter_test/flutter_test.dart';
void main() {
test('FlashMod... | packages/packages/camera/camera_platform_interface/test/types/flash_mode_test.dart/0 | {
"file_path": "packages/packages/camera/camera_platform_interface/test/types/flash_mode_test.dart",
"repo_id": "packages",
"token_count": 230
} | 1,129 |
// Copyright 2013 The Flutter 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';
import 'dart:ui';
import 'package:async/async.dart';
import 'package:camera_platform_interface/camera_platform_in... | packages/packages/camera/camera_web/example/integration_test/camera_test.dart/0 | {
"file_path": "packages/packages/camera/camera_web/example/integration_test/camera_test.dart",
"repo_id": "packages",
"token_count": 24928
} | 1,130 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:html' as html;
/// Error codes that may occur during the camera initialization,
/// configuration or video streaming.
class CameraErrorCode {... | packages/packages/camera/camera_web/lib/src/types/camera_error_code.dart/0 | {
"file_path": "packages/packages/camera/camera_web/lib/src/types/camera_error_code.dart",
"repo_id": "packages",
"token_count": 981
} | 1,131 |
# Camera Windows Plugin
The Windows implementation of [`camera`][camera].
*Note*: This plugin is under development.
See [missing implementations and limitations](#missing-features-on-the-windows-platform).
## Usage
### Depend on the package
This package is not an [endorsed][endorsed-federated-plugin]
implementatio... | packages/packages/camera/camera_windows/README.md/0 | {
"file_path": "packages/packages/camera/camera_windows/README.md",
"repo_id": "packages",
"token_count": 593
} | 1,132 |
// Copyright 2013 The Flutter 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 <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "utils.h"
int AP... | packages/packages/camera/camera_windows/example/windows/runner/main.cpp/0 | {
"file_path": "packages/packages/camera/camera_windows/example/windows/runner/main.cpp",
"repo_id": "packages",
"token_count": 506
} | 1,133 |
// Copyright 2013 The Flutter 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_plugin.h"
#include <flutter/flutter_view.h>
#include <flutter/method_channel.h>
#include <flutter/plugin_registrar_windows.h>
#include <f... | packages/packages/camera/camera_windows/windows/camera_plugin.cpp/0 | {
"file_path": "packages/packages/camera/camera_windows/windows/camera_plugin.cpp",
"repo_id": "packages",
"token_count": 7766
} | 1,134 |
// Copyright 2013 The Flutter 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 "record_handler.h"
#include <mfapi.h>
#include <mfcaptureengine.h>
#include <cassert>
#include "string_utils.h"
namespace camera_windows {
us... | packages/packages/camera/camera_windows/windows/record_handler.cpp/0 | {
"file_path": "packages/packages/camera/camera_windows/windows/record_handler.cpp",
"repo_id": "packages",
"token_count": 2998
} | 1,135 |
// Copyright 2013 The Flutter 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: avoid_print
import 'package:cross_file/cross_file.dart';
/// Demonstrate instantiating an XFile for the README.
Future<XFile> instant... | packages/packages/cross_file/example/lib/readme_excerpts.dart/0 | {
"file_path": "packages/packages/cross_file/example/lib/readme_excerpts.dart",
"repo_id": "packages",
"token_count": 216
} | 1,136 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 1.1.4
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
* Improves README example and updates it to use code excerpts.
## 1.1.3
- Adds pub topics to package metadata.
## 1.1.2
- Updates the `Color` documentation link in ... | packages/packages/css_colors/CHANGELOG.md/0 | {
"file_path": "packages/packages/css_colors/CHANGELOG.md",
"repo_id": "packages",
"token_count": 219
} | 1,137 |
// Copyright 2013 The Flutter 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:dynamic_layouts/dynamic_layouts.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main(... | packages/packages/dynamic_layouts/test/wrap_layout_test.dart/0 | {
"file_path": "packages/packages/dynamic_layouts/test/wrap_layout_test.dart",
"repo_id": "packages",
"token_count": 9164
} | 1,138 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package androidx.test.espresso.flutter.action;
import androidx.test.annotation.ExperimentalTestApi;
import androidx.test.espresso.flutter.api.WidgetAction... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/action/FlutterActions.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/action/FlutterActions.java",
"repo_id": "packages",
"token_count": 877
} | 1,139 |
// Copyright 2013 The Flutter 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.common;
import java.util.concurrent.TimeUnit;
/** A utility class to hold various constants used by the Espresso-F... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/common/Constants.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/common/Constants.java",
"repo_id": "packages",
"token_count": 159
} | 1,140 |
// Copyright 2013 The Flutter 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 androidx.test.espr... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/GetOffsetResponse.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/internal/protocol/impl/GetOffsetResponse.java",
"repo_id": "packages",
"token_count": 1472
} | 1,141 |
// Copyright 2013 The Flutter 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 static com.google.common.base.Preconditions.checkNotNull;
import androidx.test.espresso.flutter.ap... | packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/matcher/WithValueKeyMatcher.java/0 | {
"file_path": "packages/packages/espresso/android/src/main/java/androidx/test/espresso/flutter/matcher/WithValueKeyMatcher.java",
"repo_id": "packages",
"token_count": 481
} | 1,142 |
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/packages/tree/main/packages/espresso
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+espr... | packages/packages/espresso/pubspec.yaml/0 | {
"file_path": "packages/packages/espresso/pubspec.yaml",
"repo_id": "packages",
"token_count": 252
} | 1,143 |
// Copyright 2013 The Flutter 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:extension_google_sign_in_as_googleapis_auth/extension_google_sign_in_as_googleapis_auth.dart';
import 'package:flutter_test/flutter_test.da... | packages/packages/extension_google_sign_in_as_googleapis_auth/test/extension_google_sign_in_as_googleapis_auth_test.dart/0 | {
"file_path": "packages/packages/extension_google_sign_in_as_googleapis_auth/test/extension_google_sign_in_as_googleapis_auth_test.dart",
"repo_id": "packages",
"token_count": 724
} | 1,144 |
// Copyright 2013 The Flutter 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 dev.flutter.packages.file_selector_android;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.any;
import st... | packages/packages/file_selector/file_selector_android/android/src/test/java/dev/flutter/packages/file_selector_android/FileSelectorAndroidPluginTest.java/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/android/src/test/java/dev/flutter/packages/file_selector_android/FileSelectorAndroidPluginTest.java",
"repo_id": "packages",
"token_count": 3615
} | 1,145 |
name: file_selector_android_example
description: Demonstrates how to use the file_selector_android plugin.
publish_to: 'none'
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
file_selector_android:
# When depending on this package from a real application you should use:
# file_selector_andro... | packages/packages/file_selector/file_selector_android/example/pubspec.yaml/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 297
} | 1,146 |
// Copyright 2013 The Flutter 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:flutter/material.dart';
/// Screen that allows th... | packages/packages/file_selector/file_selector_ios/example/lib/open_text_page.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_ios/example/lib/open_text_page.dart",
"repo_id": "packages",
"token_count": 1008
} | 1,147 |
// Copyright 2013 The Flutter 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';
/// Home Page of the application.
class HomePage extends StatelessWidget {
/// Default Constructor
const HomeP... | packages/packages/file_selector/file_selector_linux/example/lib/home_page.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_linux/example/lib/home_page.dart",
"repo_id": "packages",
"token_count": 1049
} | 1,148 |
# Platform Implementation Test App
This is a test app for manual testing and automated integration testing
of this platform implementation. It is not intended to demonstrate actual use of
this package, since the intent is that plugin clients use the app-facing
package.
Unless you are making changes to this implementa... | packages/packages/file_selector/file_selector_macos/example/README.md/0 | {
"file_path": "packages/packages/file_selector/file_selector_macos/example/README.md",
"repo_id": "packages",
"token_count": 76
} | 1,149 |
// Mocks generated by Mockito 5.4.4 from annotations
// in file_selector_macos/test/file_selector_macos_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'package:file_selector_macos/src/messages.g.dart' as _i4;
import 'pac... | packages/packages/file_selector/file_selector_macos/test/file_selector_macos_test.mocks.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_macos/test/file_selector_macos_test.mocks.dart",
"repo_id": "packages",
"token_count": 712
} | 1,150 |
// Copyright 2013 The Flutter 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_platform_interface/src/method_channe... | packages/packages/file_selector/file_selector_platform_interface/test/method_channel_file_selector_test.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_platform_interface/test/method_channel_file_selector_test.dart",
"repo_id": "packages",
"token_count": 3957
} | 1,151 |
name: file_selector_web
description: Web platform implementation of file_selector
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.4+1
environm... | packages/packages/file_selector/file_selector_web/pubspec.yaml/0 | {
"file_path": "packages/packages/file_selector/file_selector_web/pubspec.yaml",
"repo_id": "packages",
"token_count": 320
} | 1,152 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'package:flutter/foundation.dart';
impor... | packages/packages/file_selector/file_selector_windows/example/lib/open_image_page.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_windows/example/lib/open_image_page.dart",
"repo_id": "packages",
"token_count": 1033
} | 1,153 |
// Copyright 2013 The Flutter 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_FILE_SELECTOR_FILE_SELECTOR_WINDOWS_WINDOWS_FILE_DIALOG_CONTROLLER_H_
#define PACKAGES_FILE_SELECTOR_FILE_SELECTOR_WINDOWS_WINDOWS_FILE_DIA... | packages/packages/file_selector/file_selector_windows/windows/file_dialog_controller.h/0 | {
"file_path": "packages/packages/file_selector/file_selector_windows/windows/file_dialog_controller.h",
"repo_id": "packages",
"token_count": 696
} | 1,154 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_adaptive_scaffold_example/adaptive_scaffold_demo.dart'
as example;
import 'package:flut... | packages/packages/flutter_adaptive_scaffold/example/test/adaptive_scaffold_demo_test.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/example/test/adaptive_scaffold_demo_test.dart",
"repo_id": "packages",
"token_count": 1747
} | 1,155 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_adaptive_scaffold/src/adaptive_scaffold.dart';
import 'package:flutter_test/flutter_test.da... | packages/packages/flutter_adaptive_scaffold/test/adaptive_scaffold_test.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/test/adaptive_scaffold_test.dart",
"repo_id": "packages",
"token_count": 8666
} | 1,156 |
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flu... | packages/packages/flutter_lints/example/analysis_options.yaml/0 | {
"file_path": "packages/packages/flutter_lints/example/analysis_options.yaml",
"repo_id": "packages",
"token_count": 399
} | 1,157 |
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == ... | packages/packages/flutter_markdown/example/android/app/build.gradle/0 | {
"file_path": "packages/packages/flutter_markdown/example/android/app/build.gradle",
"repo_id": "packages",
"token_count": 672
} | 1,158 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(goderbauer): Restructure the examples to avoid this ignore, https://github.com/flutter/flutter/issues/110208.
// ignore_for_file: avoid_implementin... | packages/packages/flutter_markdown/example/lib/demos/original_demo.dart/0 | {
"file_path": "packages/packages/flutter_markdown/example/lib/demos/original_demo.dart",
"repo_id": "packages",
"token_count": 1755
} | 1,159 |
<!DOCTYPE html>
<!-- Copyright 2013 The Flutter Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<html>
<head>
<!--
If you are serving your web app in a path other than the root, change the
href value below to reflect the base ... | packages/packages/flutter_markdown/example/web/index.html/0 | {
"file_path": "packages/packages/flutter_markdown/example/web/index.html",
"repo_id": "packages",
"token_count": 569
} | 1,160 |
// Copyright 2013 The Flutter 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/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:fl... | packages/packages/flutter_markdown/test/custom_syntax_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/custom_syntax_test.dart",
"repo_id": "packages",
"token_count": 4738
} | 1,161 |
// Copyright 2013 The Flutter 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/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:f... | packages/packages/flutter_markdown/test/style_sheet_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/style_sheet_test.dart",
"repo_id": "packages",
"token_count": 6643
} | 1,162 |
// Copyright 2013 The Flutter 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:args/command_runner.dart';
import 'logger.dart';
import 'project.dart';
enum ExitStatus {
success,
warning,
fail,
killed,
}
cons... | packages/packages/flutter_migrate/lib/src/base/command.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/base/command.dart",
"repo_id": "packages",
"token_count": 767
} | 1,163 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:process/process.dart';
import 'base/common.dart';
import 'base/logger.dart'... | packages/packages/flutter_migrate/lib/src/environment.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/environment.dart",
"repo_id": "packages",
"token_count": 1017
} | 1,164 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_migrate/src/base/common.dart';
import 'package:flutter_migrate/src/base/file_system.dart';
import 'package:flutter_migrate/src/base... | packages/packages/flutter_migrate/test/compute_test.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/compute_test.dart",
"repo_id": "packages",
"token_count": 14607
} | 1,165 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_migrate/src/base/file_system.dart';
import 'package:flutter_migrate/src/base/io.dart';
import 'package:flutter_migrate/src/base/log... | packages/packages/flutter_migrate/test/update_locks_test.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/update_locks_test.dart",
"repo_id": "packages",
"token_count": 3247
} | 1,166 |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_bac... | packages/packages/flutter_plugin_android_lifecycle/example/android/app/src/main/res/values/styles.xml/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/example/android/app/src/main/res/values/styles.xml",
"repo_id": "packages",
"token_count": 125
} | 1,167 |
GoRouter allows you to customize the transition animation for each GoRoute. To
configure a custom transition animation, provide a `pageBuilder` parameter
to the GoRoute constructor:
```dart
GoRoute(
path: 'details',
pageBuilder: (context, state) {
return CustomTransitionPage(
key: state.pageKey,
ch... | packages/packages/go_router/doc/transition-animations.md/0 | {
"file_path": "packages/packages/go_router/doc/transition-animations.md",
"repo_id": "packages",
"token_count": 352
} | 1,168 |
// Copyright 2013 The Flutter 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 '../data.dart';
/// The author list view.
class AuthorList extends StatelessWidget {
/// Creates an [Aut... | packages/packages/go_router/example/lib/books/src/widgets/author_list.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/books/src/widgets/author_list.dart",
"repo_id": "packages",
"token_count": 370
} | 1,169 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
void main() => runApp(App());
/// The main app.
class App extends Stat... | packages/packages/go_router/example/lib/others/transitions.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/others/transitions.dart",
"repo_id": "packages",
"token_count": 2286
} | 1,170 |
// Copyright 2013 The Flutter 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: diagnostic_describe_all_properties
import 'package:flutter/cupertino.dart';
import '../misc/extensions.dart';
/// Checks for Cupertin... | packages/packages/go_router/lib/src/pages/cupertino.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/pages/cupertino.dart",
"repo_id": "packages",
"token_count": 671
} | 1,171 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/src/misc/error_screen.dart';
import 'he... | packages/packages/go_router/test/error_page_test.dart/0 | {
"file_path": "packages/packages/go_router/test/error_page_test.dart",
"repo_id": "packages",
"token_count": 495
} | 1,172 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
... | packages/packages/go_router/test/on_exit_test.dart/0 | {
"file_path": "packages/packages/go_router/test/on_exit_test.dart",
"repo_id": "packages",
"token_count": 2957
} | 1,173 |
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: always_specify_types, public_member_api_docs
part of 'shell_route_example.dart';
// **************************************************************************
// GoRouterGenerator
// ************************************************************************... | packages/packages/go_router_builder/example/lib/shell_route_example.g.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/shell_route_example.g.dart",
"repo_id": "packages",
"token_count": 839
} | 1,174 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router_builder_example/shared/data.dart';
impor... | packages/packages/go_router_builder/example/test/simple_example_test.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/test/simple_example_test.dart",
"repo_id": "packages",
"token_count": 252
} | 1,175 |
RouteBase get $enumParam => GoRouteData.$route(
path: '/:y',
factory: $EnumParamExtension._fromState,
);
extension $EnumParamExtension on EnumParam {
static EnumParam _fromState(GoRouterState state) => EnumParam(
y: _$EnumTestEnumMap._$fromName(state.pathParameters['y']!),
);
String ... | packages/packages/go_router_builder/test_inputs/enum_parameter.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/enum_parameter.dart.expect",
"repo_id": "packages",
"token_count": 358
} | 1,176 |
RouteBase get $requiredExtraValueRoute => GoRouteData.$route(
path: '/default-value-route',
factory: $RequiredExtraValueRouteExtension._fromState,
);
extension $RequiredExtraValueRouteExtension on RequiredExtraValueRoute {
static RequiredExtraValueRoute _fromState(GoRouterState state) =>
Requir... | packages/packages/go_router_builder/test_inputs/required_extra_value.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/required_extra_value.dart.expect",
"repo_id": "packages",
"token_count": 275
} | 1,177 |
The parameter type `Stopwatch` is not supported.
| packages/packages/go_router_builder/test_inputs/unsupported_type.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/unsupported_type.dart.expect",
"repo_id": "packages",
"token_count": 12
} | 1,178 |
// Copyright 2013 The Flutter 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: avoid_print
import 'dart:convert';
import 'package:google_identity_services_web/id.dart';
import 'package:google_identity_services_we... | packages/packages/google_identity_services_web/example/lib/main_oauth.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/example/lib/main_oauth.dart",
"repo_id": "packages",
"token_count": 1164
} | 1,179 |
// Copyright 2013 The Flutter 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 'dart:math';
import 'dart:typed_data';
import 'dart:ui';
import 'package:flutter/m... | packages/packages/google_maps_flutter/google_maps_flutter/example/lib/place_marker.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/example/lib/place_marker.dart",
"repo_id": "packages",
"token_count": 6161
} | 1,180 |
// Copyright 2013 The Flutter 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';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
imp... | packages/packages/google_maps_flutter/google_maps_flutter/lib/google_maps_flutter.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/lib/google_maps_flutter.dart",
"repo_id": "packages",
"token_count": 579
} | 1,181 |
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()
}
}
... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/build.gradle/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/build.gradle",
"repo_id": "packages",
"token_count": 838
} | 1,182 |
// Copyright 2013 The Flutter 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.BitmapDescriptor;
import com.google.android.gms.maps.model.LatLng;
import ... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/MarkerBuilder.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/MarkerBuilder.java",
"repo_id": "packages",
"token_count": 644
} | 1,183 |
// Copyright 2013 The Flutter 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... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java",
"repo_id": "packages",
"token_count": 1203
} | 1,184 |
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
| packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/gradle/wrapper/gradle-wrapper.properties/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/android/app/gradle/wrapper/gradle-wrapper.properties",
"repo_id": "packages",
"token_count": 73
} | 1,185 |
// Copyright 2013 The Flutter 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_android/google_maps_flutter_android... | packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/map_map_id.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/lib/map_map_id.dart",
"repo_id": "packages",
"token_count": 1531
} | 1,186 |
// Copyright 2013 The Flutter 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/widgets.dart';
import 'package:google_maps_flutter_platform_interface... | packages/packages/google_maps_flutter/google_maps_flutter_android/example/test/fake_google_maps_flutter_platform.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/example/test/fake_google_maps_flutter_platform.dart",
"repo_id": "packages",
"token_count": 2833
} | 1,187 |
[
{
"elementType": "geometry",
"stylers": [
{
"color": "#242f3e"
}
]
},
{
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#746855"
}
]
},
{
"elementType": "labels.text.stroke",
"stylers": [
{
"color": "#242f3e"
... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/assets/night_mode.json/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/assets/night_mode.json",
"repo_id": "packages",
"token_count": 1383
} | 1,188 |
name: google_maps_flutter_example
description: Demonstrates how to use the google_maps_flutter plugin.
publish_to: none
environment:
sdk: ^3.2.3
flutter: ">=3.16.6"
dependencies:
cupertino_icons: ^1.0.5
flutter:
sdk: flutter
flutter_plugin_android_lifecycle: ^2.0.1
google_maps_flutter_ios:
# When ... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/pubspec.yaml/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/pubspec.yaml",
"repo_id": "packages",
"token_count": 345
} | 1,189 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"
@import GoogleMaps;
@implementation AppDelegate
- (BOOL)application:(UIApplication *)appli... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios14/ios/Runner/AppDelegate.m/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios14/ios/Runner/AppDelegate.m",
"repo_id": "packages",
"token_count": 249
} | 1,190 |
This directory contains shared code used by all of the example apps.
| packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/README.md/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/README.md",
"repo_id": "packages",
"token_count": 14
} | 1,191 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:google_maps_f... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/place_polyline.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/place_polyline.dart",
"repo_id": "packages",
"token_count": 4955
} | 1,192 |
// Copyright 2013 The Flutter 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>
#import "GoogleMapCircleController.h"
#import "GoogleMapMarkerController.h"
#import "GoogleMa... | packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapController.h/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapController.h",
"repo_id": "packages",
"token_count": 421
} | 1,193 |
name: google_maps_flutter_ios
description: iOS implementation of the google_maps_flutter plugin.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version:... | packages/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml",
"repo_id": "packages",
"token_count": 339
} | 1,194 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'types.dart';
/// [Circle] update events to be applied to the [GoogleMap].
///
/// Used in [GoogleMapController] when the map is updated.
// (Do no... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/circle_updates.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/circle_updates.dart",
"repo_id": "packages",
"token_count": 269
} | 1,195 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart'
show VoidCallback, immutable, listEquals;
import 'package:flutter/material.dart' show Color, Colors;
import '... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/polyline.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/polyline.dart",
"repo_id": "packages",
"token_count": 2373
} | 1,196 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../types.dart';
import 'maps_object.dart';
/// Converts an [Iterable] of TileOverlay in a Map of TileOverlayId -> TileOverlay.
Map<TileOverlayId, ... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/tile_overlay.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/tile_overlay.dart",
"repo_id": "packages",
"token_count": 218
} | 1,197 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart';
clas... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/tile_overlay_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/tile_overlay_test.dart",
"repo_id": "packages",
"token_count": 1994
} | 1,198 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:typed_data';
import 'dart:ui';
import 'package:flutter_test/flutter_test.dart';
import 'package:g... | packages/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/markers_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/markers_test.dart",
"repo_id": "packages",
"token_count": 4312
} | 1,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.