text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'billing_client_wrapper.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
const _$BillingResponseEnumMap = {
BillingRespons... | plugins/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_wrapper.g.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_wrapper.g.dart",
"repo_id": "plugins",
"token_count": 475
} | 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:in_app_purchase_android/billing_client_wrappers.dart';
import 'package:in_app_purchase_android/in_app_purchase_android.dart';
import 'packa... | plugins/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/purchase_wrapper_test.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/purchase_wrapper_test.dart",
"repo_id": "plugins",
"token_count": 3115
} | 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.
import 'in_app_purchase_platform_addition.dart';
/// The [InAppPurchasePlatformAdditionProvider] is responsible for providing
/// a platform-specific [InA... | plugins/packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/in_app_purchase_platform_addition_provider.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/in_app_purchase_platform_addition_provider.dart",
"repo_id": "plugins",
"token_count": 187
} | 1,171 |
# in\_app\_purchase\_storekit
The iOS and macOS implementation of [`in_app_purchase`][1].
## Usage
This package has been [endorsed][2], meaning that you only need to add `in_app_purchase`
as a dependency in your `pubspec.yaml`. This package will be automatically included in your app
when you do.
If you wish to use ... | plugins/packages/in_app_purchase/in_app_purchase_storekit/README.md/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/README.md",
"repo_id": "plugins",
"token_count": 355
} | 1,172 |
#include "../../Flutter/Flutter-Release.xcconfig"
| plugins/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "plugins",
"token_count": 19
} | 1,173 |
// Copyright 2013 The Flutter 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:in_app_purchase_platform_interface/in_app_purchase... | plugins/packages/in_app_purchase/in_app_purchase_storekit/test/in_app_purchase_storekit_platform_addtion_test.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/test/in_app_purchase_storekit_platform_addtion_test.dart",
"repo_id": "plugins",
"token_count": 606
} | 1,174 |
{
"images" : [
{
"idiom" : "universal",
"filename" : "flutter.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "flutter@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"au... | plugins/packages/ios_platform_images/example/ios/Runner/Assets.xcassets/flutter.imageset/Contents.json/0 | {
"file_path": "plugins/packages/ios_platform_images/example/ios/Runner/Assets.xcassets/flutter.imageset/Contents.json",
"repo_id": "plugins",
"token_count": 194
} | 1,175 |
// Copyright 2013 The Flutter 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 "IosPlatformImagesPlugin.h"
#if !__has_feature(objc_arc)
#error ARC must be enabled!
#endif
@interface IosPlatformImagesPlugin ()
@end
@implemen... | plugins/packages/ios_platform_images/ios/Classes/IosPlatformImagesPlugin.m/0 | {
"file_path": "plugins/packages/ios_platform_images/ios/Classes/IosPlatformImagesPlugin.m",
"repo_id": "plugins",
"token_count": 604
} | 1,176 |
// Copyright 2013 The Flutter 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 is a temporary ignore to allow us to land a new set of linter rules in a
// series of manageable patches instead of one gigantic PR. It disables so... | plugins/packages/local_auth/local_auth/lib/src/local_auth.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth/lib/src/local_auth.dart",
"repo_id": "plugins",
"token_count": 879
} | 1,177 |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L... | plugins/packages/local_auth/local_auth_android/android/src/main/res/drawable/ic_done_white_24dp.xml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/android/src/main/res/drawable/ic_done_white_24dp.xml",
"repo_id": "plugins",
"token_count": 175
} | 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.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:local_auth_android/local_auth_android.dart';
void... | plugins/packages/local_auth/local_auth_android/test/local_auth_test.dart/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/test/local_auth_test.dart",
"repo_id": "plugins",
"token_count": 2624
} | 1,179 |
name: local_auth_ios
description: iOS implementation of the local_auth plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 1.0.12
environment:
sdk: ">... | plugins/packages/local_auth/local_auth_ios/pubspec.yaml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_ios/pubspec.yaml",
"repo_id": "plugins",
"token_count": 290
} | 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.
// ignore_for_file: public_member_api_docs
import 'package:flutter/material.dart';
import 'package:path_provider_platform_interface/path_provider_platform... | plugins/packages/path_provider/path_provider_android/example/lib/main.dart/0 | {
"file_path": "plugins/packages/path_provider/path_provider_android/example/lib/main.dart",
"repo_id": "plugins",
"token_count": 2610
} | 1,181 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| plugins/packages/path_provider/path_provider_foundation/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "plugins/packages/path_provider/path_provider_foundation/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "plugins",
"token_count": 32
} | 1,182 |
org.gradle.jvmargs=-Xmx4G
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
| plugins/packages/quick_actions/quick_actions/example/android/gradle.properties/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions/example/android/gradle.properties",
"repo_id": "plugins",
"token_count": 38
} | 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.
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:quick_actions_android/quick_... | plugins/packages/quick_actions/quick_actions_android/test/quick_actions_android_test.dart/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_android/test/quick_actions_android_test.dart",
"repo_id": "plugins",
"token_count": 2266
} | 1,184 |
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.1.0" client="gradle" variant="debug" version="4.1.0">
<issue
id="CommitPrefEdits"
message="`SharedPreferences.edit()` without a corresponding `commit()` or `apply()` call"
errorLine1=" commitAsync(preferences.edit... | plugins/packages/shared_preferences/shared_preferences_android/android/lint-baseline.xml/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_android/android/lint-baseline.xml",
"repo_id": "plugins",
"token_count": 1607
} | 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.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:shared_preferences_foundation/shared_preferences_f... | plugins/packages/shared_preferences/shared_preferences_foundation/test/shared_preferences_foundation_test.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_foundation/test/shared_preferences_foundation_test.dart",
"repo_id": "plugins",
"token_count": 1361
} | 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 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:shared_preferences_platform_interface/method_chann... | plugins/packages/shared_preferences/shared_preferences_platform_interface/test/method_channel_shared_preferences_test.dart/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_platform_interface/test/method_channel_shared_preferences_test.dart",
"repo_id": "plugins",
"token_count": 1789
} | 1,187 |
// Copyright 2013 The Flutter 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#105648)
// ignore: unnecessary_import
import 'dart:ui... | plugins/packages/url_launcher/url_launcher/test/src/legacy_api_test.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/test/src/legacy_api_test.dart",
"repo_id": "plugins",
"token_count": 4675
} | 1,188 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "include/url_launcher_linux/url_launcher_plugin.h"
#include <flutter_linux/flutter_linux.h>
#include <gtk/gtk.h>
#include <cstring>
#include "u... | plugins/packages/url_launcher/url_launcher_linux/linux/url_launcher_plugin.cc/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_linux/linux/url_launcher_plugin.cc",
"repo_id": "plugins",
"token_count": 2297
} | 1,189 |
# url_launcher_platform_interface
A common platform interface for the [`url_launcher`][1] plugin.
This interface allows platform-specific implementations of the `url_launcher`
plugin, as well as the plugin itself, to ensure they are supporting the
same interface.
# Usage
To implement a new platform-specific impleme... | plugins/packages/url_launcher/url_launcher_platform_interface/README.md/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_platform_interface/README.md",
"repo_id": "plugins",
"token_count": 246
} | 1,190 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:html' as html;
import 'dart:js_util';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package... | plugins/packages/url_launcher/url_launcher_web/example/integration_test/link_widget_test.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_web/example/integration_test/link_widget_test.dart",
"repo_id": "plugins",
"token_count": 2759
} | 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.
import 'dart:async';
import 'dart:html' as html;
import 'package:flutter/foundation.dart' show visibleForTesting;
import 'package:flutter_web_plugins/flut... | plugins/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart",
"repo_id": "plugins",
"token_count": 1025
} | 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 'package:flutter/foundation.dart' show objectRuntimeType;
import 'sub_rip.dart';
import 'web_vtt.dart';
export 'sub_rip.dart' show SubRipCaptionFi... | plugins/packages/video_player/video_player/lib/src/closed_caption_file.dart/0 | {
"file_path": "plugins/packages/video_player/video_player/lib/src/closed_caption_file.dart",
"repo_id": "plugins",
"token_count": 693
} | 1,193 |
rootProject.name = 'video_player_android'
| plugins/packages/video_player/video_player_android/android/settings.gradle/0 | {
"file_path": "plugins/packages/video_player/video_player_android/android/settings.gradle",
"repo_id": "plugins",
"token_count": 13
} | 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 'package:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
dartOut: 'lib/src/messages.g.dart',
dartTestOut: 'test/test_api.g.dart',
objcHe... | plugins/packages/video_player/video_player_avfoundation/pigeons/messages.dart/0 | {
"file_path": "plugins/packages/video_player/video_player_avfoundation/pigeons/messages.dart",
"repo_id": "plugins",
"token_count": 723
} | 1,195 |
name: video_player_web
description: Web platform implementation of video_player.
repository: https://github.com/flutter/plugins/tree/main/packages/video_player/video_player_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
version: 2.0.13
environment:
... | plugins/packages/video_player/video_player_web/pubspec.yaml/0 | {
"file_path": "plugins/packages/video_player/video_player_web/pubspec.yaml",
"repo_id": "plugins",
"token_count": 296
} | 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.
/// Re-export the classes from the webview_flutter_platform_interface through
/// the `platform_interface.dart` file so we don't accidentally break any
///... | plugins/packages/webview_flutter/webview_flutter/lib/src/legacy/platform_interface.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter/lib/src/legacy/platform_interface.dart",
"repo_id": "plugins",
"token_count": 354
} | 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.
package io.flutter.plugins.webviewflutter;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.graphics.Bitmap;
im... | plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewClientHostApiImpl.java/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewClientHostApiImpl.java",
"repo_id": "plugins",
"token_count": 2859
} | 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.
package io.flutter.plugins.webviewflutter;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.verify;
import static org.moc... | plugins/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/WebSettingsTest.java/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/android/src/test/java/io/flutter/plugins/webviewflutter/WebSettingsTest.java",
"repo_id": "plugins",
"token_count": 1086
} | 1,199 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.webviewflutterexample;
import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterActivity;
public class D... | plugins/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.java/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/example/android/app/src/main/java/io/flutter/plugins/webviewflutterexample/DriverExtensionActivity.java",
"repo_id": "plugins",
"token_count": 136
} | 1,200 |
h1 {
color: blue;
} | plugins/packages/webview_flutter/webview_flutter_android/example/assets/www/styles/style.css/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/example/assets/www/styles/style.css",
"repo_id": "plugins",
"token_count": 13
} | 1,201 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
/// An immutable object that can provide functional copies of itself.
///
/// All implementers are expected to b... | plugins/packages/webview_flutter/webview_flutter_android/lib/src/instance_manager.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/lib/src/instance_manager.dart",
"repo_id": "plugins",
"token_count": 2157
} | 1,202 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/annotations.dart';
import 'package:mockito/mockito.dart';
import 'package:webview_... | plugins/packages/webview_flutter/webview_flutter_android/test/android_webview_test.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/test/android_webview_test.dart",
"repo_id": "plugins",
"token_count": 13123
} | 1,203 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import '../platform_interface/jav... | plugins/packages/webview_flutter/webview_flutter_platform_interface/lib/src/legacy/platform_interface/webview_platform.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_platform_interface/lib/src/legacy/platform_interface/webview_platform.dart",
"repo_id": "plugins",
"token_count": 832
} | 1,204 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
import 'webview_platform.dart';
/// ... | plugins/packages/webview_flutter/webview_flutter_platform_interface/lib/src/platform_webview_cookie_manager.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_platform_interface/lib/src/platform_webview_cookie_manager.dart",
"repo_id": "plugins",
"token_count": 711
} | 1,205 |
# webview\_flutter\_web
This is an implementation of the [`webview_flutter`](https://pub.dev/packages/webview_flutter) plugin for web.
It is currently severely limited and doesn't implement most of the available functionality.
The following functionality is currently available:
- `loadRequest`
- `loadHtmlString` (Wi... | plugins/packages/webview_flutter/webview_flutter_web/README.md/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_web/README.md",
"repo_id": "plugins",
"token_count": 324
} | 1,206 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import Flutter;
@import XCTest;
@import webview_flutter_wkwebview;
#import <OCMock/OCMock.h>
@interface FWFWebsiteDataStoreHostApiTests : XCTestCase
@en... | plugins/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFWebsiteDataStoreHostApiTests.m/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFWebsiteDataStoreHostApiTests.m",
"repo_id": "plugins",
"token_count": 1344
} | 1,207 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v4.2.13), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import "FWFGeneratedWebKitApis.h"
#import <Flutt... | plugins/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFGeneratedWebKitApis.m/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFGeneratedWebKitApis.m",
"repo_id": "plugins",
"token_count": 46944
} | 1,208 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'webview_flutter_wkwebview'
s.version = '0.0.1'
s.summary = 'A WebView Plugin for Flutter.'
s.description = <<-DESC
A Flutter plugin that provides a WebView wi... | plugins/packages/webview_flutter/webview_flutter_wkwebview/ios/webview_flutter_wkwebview.podspec/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/ios/webview_flutter_wkwebview.podspec",
"repo_id": "plugins",
"token_count": 491
} | 1,209 |
// Copyright 2013 The Flutter 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:webview_flutter_platform_interface/webview_flutter_platform_interface.dart';
import 'webkit_webview_controller.dart';
import 'webkit_webvi... | plugins/packages/webview_flutter/webview_flutter_wkwebview/lib/src/webkit_webview_platform.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/lib/src/webkit_webview_platform.dart",
"repo_id": "plugins",
"token_count": 391
} | 1,210 |
// Mocks generated by Mockito 5.3.2 from annotations
// in webview_flutter_wkwebview/test/src/web_kit/web_kit_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'package:mockito/mockito.dart' as _i1;
import 'package:webview_... | plugins/packages/webview_flutter/webview_flutter_wkwebview/test/src/web_kit/web_kit_test.mocks.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_wkwebview/test/src/web_kit/web_kit_test.mocks.dart",
"repo_id": "plugins",
"token_count": 6646
} | 1,211 |
# Currently missing: https://github.com/flutter/flutter/issues/82211
- file_selector
| plugins/script/configs/exclude_integration_web.yaml/0 | {
"file_path": "plugins/script/configs/exclude_integration_web.yaml",
"repo_id": "plugins",
"token_count": 28
} | 1,212 |
// Copyright 2013 The Flutter 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/file.dart';
import 'package:path/path.dart' as p;
import 'package:pubspec_parse/pubspec_parse.dart';
import 'core.dart';
export 'pac... | plugins/script/tool/lib/src/common/repository_package.dart/0 | {
"file_path": "plugins/script/tool/lib/src/common/repository_package.dart",
"repo_id": "plugins",
"token_count": 1709
} | 1,213 |
# android_view
An example of an Android app that integrates a Flutter add-to-app module at a
view level. For more information see [../README.md](../README.md).
| samples/add_to_app/android_view/android_view/README.md/0 | {
"file_path": "samples/add_to_app/android_view/android_view/README.md",
"repo_id": "samples",
"token_count": 48
} | 1,214 |
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlin... | samples/add_to_app/books/android_books/gradlew/0 | {
"file_path": "samples/add_to_app/books/android_books/gradlew",
"repo_id": "samples",
"token_count": 2352
} | 1,215 |
// Autogenerated from Pigeon (v1.0.1), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import "api.h"
#import <Flutter/Flutter.h>
#if !__has_feature(objc_arc)
#error File requires ARC to be enabled.
#endif
static NSDictionary<NSString *, id> *wrapResult(id result,
... | samples/add_to_app/books/ios_books/IosBooks/api.m/0 | {
"file_path": "samples/add_to_app/books/ios_books/IosBooks/api.m",
"repo_id": "samples",
"token_count": 3472
} | 1,216 |
// Copyright 2021 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Flutter
import UIKit
/// The app's UIApplicationDelegate.
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
let engines = FlutterEngineG... | samples/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/AppDelegate.swift/0 | {
"file_path": "samples/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/AppDelegate.swift",
"repo_id": "samples",
"token_count": 503
} | 1,217 |
# multiple_flutters_module
This is the Flutter module that is embedded in the `multiple_flutters` projects.
See also: [multiple_flutters/README.md](../README.md) | samples/add_to_app/multiple_flutters/multiple_flutters_module/README.md/0 | {
"file_path": "samples/add_to_app/multiple_flutters/multiple_flutters_module/README.md",
"repo_id": "samples",
"token_count": 50
} | 1,218 |
# Splash Screen Sample
A Flutter app that exemplifies how to implement an animated splash screen for Android devices running at least Android 12, the version that supplies the new [SplashScreen API](https://developer.android.com/about/versions/12/features/splash-screen).
**NOTE:** There is a pub package available to ... | samples/android_splash_screen/README.md/0 | {
"file_path": "samples/android_splash_screen/README.md",
"repo_id": "samples",
"token_count": 681
} | 1,219 |
# Animation Samples
Sample apps that showcase Flutter's animation features
## Goals
- Demonstrate the building blocks for animations and how they work together.
- Provide samples for common patterns and use-cases.
## Samples
### Basics
Building blocks and patterns
1. **AnimatedContainerDemo**: Demonstrates how to... | samples/animations/README.md/0 | {
"file_path": "samples/animations/README.md",
"repo_id": "samples",
"token_count": 713
} | 1,220 |
// Copyright 2019 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/physics.dart';
class CardSwipeDemo extends StatefulWidget {
const CardSwipeDemo({super.key}... | samples/animations/lib/src/misc/card_swipe.dart/0 | {
"file_path": "samples/animations/lib/src/misc/card_swipe.dart",
"repo_id": "samples",
"token_count": 2337
} | 1,221 |
name: animations
description: A new Flutter project.
version: 1.0.0+1
publish_to: none
environment:
sdk: ^3.2.0
dependencies:
flutter:
sdk: flutter
flutter_animate: ^4.1.0
go_router: ^13.0.0
window_size: # plugin is not yet part of the flutter framework
git:
url: https://github.com/google/flut... | samples/animations/pubspec.yaml/0 | {
"file_path": "samples/animations/pubspec.yaml",
"repo_id": "samples",
"token_count": 261
} | 1,222 |
name: server
description: A server app using the shelf package and Docker.
version: 1.0.0
publish_to: "none"
environment:
sdk: ^3.2.0
dependencies:
args: ^2.0.0
shelf: ^1.1.0
shelf_router: ^1.0.0
shared:
path: ../shared
dev_dependencies:
http: ^1.0.0
lints: ^3.0.0
test: ^1.15.0
| samples/code_sharing/server/pubspec.yaml/0 | {
"file_path": "samples/code_sharing/server/pubspec.yaml",
"repo_id": "samples",
"token_count": 138
} | 1,223 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| samples/context_menus/android/gradle.properties/0 | {
"file_path": "samples/context_menus/android/gradle.properties",
"repo_id": "samples",
"token_count": 31
} | 1,224 |
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import 'constants.dart';
import 'platform_selector.dart';
class CustomMenuPage extends StatelessWidget {
CustomMenuPage({
super.key,
required this.onChangedPlatform,
});
static const String route = 'custom-menu';
... | samples/context_menus/lib/custom_menu_page.dart/0 | {
"file_path": "samples/context_menus/lib/custom_menu_page.dart",
"repo_id": "samples",
"token_count": 1129
} | 1,225 |
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
// Returns the first RenderEditable.
RenderEditable findRenderEditable(WidgetTester tester) {
final Rend... | samples/context_menus/test/utils.dart/0 | {
"file_path": "samples/context_menus/test/utils.dart",
"repo_id": "samples",
"token_count": 484
} | 1,226 |
# Photo Search app
This desktop application enables you to search
[Unsplash](https://unsplash.com/) for photographs that interest you.
To use it, you need to add an **Access Key** from
[Unsplash API](https://unsplash.com/developers) to
`lib/unsplash_access_key.dart`.
This is the Photo Search app, built out with tw... | samples/desktop_photo_search/README.md/0 | {
"file_path": "samples/desktop_photo_search/README.md",
"repo_id": "samples",
"token_count": 191
} | 1,227 |
// Copyright 2019 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';
import '../serializers.dart';
part 'exi... | samples/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.dart/0 | {
"file_path": "samples/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.dart",
"repo_id": "samples",
"token_count": 392
} | 1,228 |
// Copyright 2019 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'urls.dart';
// **************************************************************************
// BuiltValueGe... | samples/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart/0 | {
"file_path": "samples/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart",
"repo_id": "samples",
"token_count": 2398
} | 1,229 |
name: desktop_photo_search
description: Search for Photos, using the Unsplash API.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.2.0
dependencies:
built_collection: ^5.1.1
built_value: ^8.6.1
cupertino_icons: ^1.0.5
file_selector: ^1.0.0
fluent_ui: ^4.7.2
fluentui_system_icons: ^1.1.208
flu... | samples/desktop_photo_search/fluent_ui/pubspec.yaml/0 | {
"file_path": "samples/desktop_photo_search/fluent_ui/pubspec.yaml",
"repo_id": "samples",
"token_count": 610
} | 1,230 |
package dev.flutter.federated_plugin_example
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| samples/experimental/federated_plugin/federated_plugin/example/android/app/src/main/kotlin/dev/flutter/federated_plugin_example/MainActivity.kt/0 | {
"file_path": "samples/experimental/federated_plugin/federated_plugin/example/android/app/src/main/kotlin/dev/flutter/federated_plugin_example/MainActivity.kt",
"repo_id": "samples",
"token_count": 43
} | 1,231 |
#import <Flutter/Flutter.h>
@interface FederatedPlugin : NSObject<FlutterPlugin>
@end
| samples/experimental/federated_plugin/federated_plugin/ios/Classes/FederatedPlugin.h/0 | {
"file_path": "samples/experimental/federated_plugin/federated_plugin/ios/Classes/FederatedPlugin.h",
"repo_id": "samples",
"token_count": 30
} | 1,232 |
// Copyright 2021 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:linting_tool/model/profile.dart';
import 'package:linting_tool/model/profiles_store.dart';
import 'pac... | samples/experimental/linting_tool/lib/model/editing_controller.dart/0 | {
"file_path": "samples/experimental/linting_tool/lib/model/editing_controller.dart",
"repo_id": "samples",
"token_count": 434
} | 1,233 |
// Copyright 2021 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:google_fonts/google_fonts.dart';
import 'pack... | samples/experimental/linting_tool/lib/theme/app_theme.dart/0 | {
"file_path": "samples/experimental/linting_tool/lib/theme/app_theme.dart",
"repo_id": "samples",
"token_count": 3378
} | 1,234 |
import 'dart:async';
import 'dart:collection';
import 'dart:ffi' as ffi;
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:intl/intl.dart';
import 'package:jni/jni.dart' as jni;
import 'package:pedometer/pedometer_bindings_generated.dart' as pd;
import 'package:pedometer/health_connect.dart' ... | samples/experimental/pedometer/example/lib/steps_repo.dart/0 | {
"file_path": "samples/experimental/pedometer/example/lib/steps_repo.dart",
"repo_id": "samples",
"token_count": 2189
} | 1,235 |
/*
* Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
#ifndef RUNTIME_INCLUDE_INTERNAL_DART_API_DL_IMPL_H_
#define RUNTIME_INCLUDE_INTERNAL_DART_API_D... | samples/experimental/pedometer/src/dart-sdk/include/internal/dart_api_dl_impl.h/0 | {
"file_path": "samples/experimental/pedometer/src/dart-sdk/include/internal/dart_api_dl_impl.h",
"repo_id": "samples",
"token_count": 215
} | 1,236 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| samples/experimental/varfont_shader_puzzle/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "samples/experimental/varfont_shader_puzzle/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "samples",
"token_count": 32
} | 1,237 |
// Copyright 2023 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:varfont_shader_puzzle/main.dart';
void main() {
const welcomeText =
'Welcome to you... | samples/experimental/varfont_shader_puzzle/test/widget_test.dart/0 | {
"file_path": "samples/experimental/varfont_shader_puzzle/test/widget_test.dart",
"repo_id": "samples",
"token_count": 292
} | 1,238 |
// Copyright 2020, the Flutter project authors. Please see the AUTHORS file
// for details. 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:firebase_auth/firebase_auth.dart' hide User;
import 'package:flutter/services.dart';
impo... | samples/experimental/web_dashboard/lib/src/auth/firebase.dart/0 | {
"file_path": "samples/experimental/web_dashboard/lib/src/auth/firebase.dart",
"repo_id": "samples",
"token_count": 529
} | 1,239 |
// Copyright 2020, the Flutter project authors. Please see the AUTHORS file
// for details. 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:web_dashboard/src/api/api.dart';
import... | samples/experimental/web_dashboard/test/mock_service_test.dart/0 | {
"file_path": "samples/experimental/web_dashboard/test/mock_service_test.dart",
"repo_id": "samples",
"token_count": 1306
} | 1,240 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!--
TODO: Replace this file with credentials from Cloud Firestore.
See https://pub.dev/packages/cloud_firestore#setup for more detail.
-->
</dic... | samples/flutter_maps_firestore/ios/GoogleService-Info.plist/0 | {
"file_path": "samples/flutter_maps_firestore/ios/GoogleService-Info.plist",
"repo_id": "samples",
"token_count": 130
} | 1,241 |
// Copyright 2020, the Flutter project authors. Please see the AUTHORS file
// for details. 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:english_words/english_words.dart' as english_words;
import 'package:flutter/material.dart... | samples/form_app/lib/src/validation.dart/0 | {
"file_path": "samples/form_app/lib/src/validation.dart",
"repo_id": "samples",
"token_count": 3721
} | 1,242 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| samples/form_app/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "samples/form_app/macos/Runner/Configs/Release.xcconfig",
"repo_id": "samples",
"token_count": 32
} | 1,243 |
#import "GeneratedPluginRegistrant.h"
| samples/game_template/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "samples/game_template/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "samples",
"token_count": 13
} | 1,244 |
// Copyright 2022, the Flutter project authors. Please see the AUTHORS file
// for details. 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';
import 'package:provid... | samples/game_template/lib/src/level_selection/level_selection_screen.dart/0 | {
"file_path": "samples/game_template/lib/src/level_selection/level_selection_screen.dart",
"repo_id": "samples",
"token_count": 1163
} | 1,245 |
// Copyright 2022, the Flutter project authors. Please see the AUTHORS file
// for details. 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';
/// A palette of colors to be used in the game.
///
/// The reas... | samples/game_template/lib/src/style/palette.dart/0 | {
"file_path": "samples/game_template/lib/src/style/palette.dart",
"repo_id": "samples",
"token_count": 465
} | 1,246 |
//
// Generated file. Do not edit.
//
import FlutterMacOS
import Foundation
import audioplayers_darwin
import firebase_core
import firebase_crashlytics
import games_services
import in_app_purchase_storekit
import path_provider_foundation
import shared_preferences_foundation
func RegisterGeneratedPlugins(registry: F... | samples/game_template/macos/Flutter/GeneratedPluginRegistrant.swift/0 | {
"file_path": "samples/game_template/macos/Flutter/GeneratedPluginRegistrant.swift",
"repo_id": "samples",
"token_count": 304
} | 1,247 |
# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild
name: Isolate Example rebuild script
steps:
- name: Remove runners
rmdirs:
- android
- ios
- macos
- linux
- windows
- name: Recreate runners
flutter: create --org dev.flutter --platf... | samples/isolate_example/codelab_rebuild.yaml/0 | {
"file_path": "samples/isolate_example/codelab_rebuild.yaml",
"repo_id": "samples",
"token_count": 200
} | 1,248 |
package com.example.material_3_demo
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| samples/material_3_demo/android/app/src/main/kotlin/com/example/material_3_demo/MainActivity.kt/0 | {
"file_path": "samples/material_3_demo/android/app/src/main/kotlin/com/example/material_3_demo/MainActivity.kt",
"repo_id": "samples",
"token_count": 41
} | 1,249 |
// Copyright 2021, the Flutter project authors. Please see the AUTHORS file
// for details. 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';
class Credentials {
final String username;
final String pass... | samples/navigation_and_routing/lib/src/screens/sign_in.dart/0 | {
"file_path": "samples/navigation_and_routing/lib/src/screens/sign_in.dart",
"repo_id": "samples",
"token_count": 1096
} | 1,250 |
//
// Generated file. Do not edit.
//
import FlutterMacOS
import Foundation
import url_launcher_macos
import window_size
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WindowSizePlugin.register(with: registry.... | samples/navigation_and_routing/macos/Flutter/GeneratedPluginRegistrant.swift/0 | {
"file_path": "samples/navigation_and_routing/macos/Flutter/GeneratedPluginRegistrant.swift",
"repo_id": "samples",
"token_count": 112
} | 1,251 |
// Copyright 2020 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'place.dart';
class StubData {
static const List<Place> places = [
Place(
... | samples/place_tracker/lib/stub_data.dart/0 | {
"file_path": "samples/place_tracker/lib/stub_data.dart",
"repo_id": "samples",
"token_count": 2113
} | 1,252 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| samples/platform_channels/android/gradle.properties/0 | {
"file_path": "samples/platform_channels/android/gradle.properties",
"repo_id": "samples",
"token_count": 30
} | 1,253 |
// Copyright 2020 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:platform_channels/src/add_pet_details.dart';
import 'packag... | samples/platform_channels/lib/main.dart/0 | {
"file_path": "samples/platform_channels/lib/main.dart",
"repo_id": "samples",
"token_count": 1296
} | 1,254 |
// Copyright 2020 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:platform_chan... | samples/platform_channels/test/src/platform_image_demo_test.dart/0 | {
"file_path": "samples/platform_channels/test/src/platform_image_demo_test.dart",
"repo_id": "samples",
"token_count": 493
} | 1,255 |
# Provider Counter
The starter Flutter application, but using Provider to manage state.
This app is a direct counterpart to the
[simple counter application](https://flutter.io/docs/development/ui/widgets-intro#changing-widgets-in-response-to-input)
that you get when you create a new Flutter project. That one uses a `... | samples/provider_counter/README.md/0 | {
"file_path": "samples/provider_counter/README.md",
"repo_id": "samples",
"token_count": 293
} | 1,256 |
// Copyright 2020 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:provider/provider.dart';
import 'package:provider_sho... | samples/provider_shopper/test/catalog_widget_test.dart/0 | {
"file_path": "samples/provider_shopper/test/catalog_widget_test.dart",
"repo_id": "samples",
"token_count": 705
} | 1,257 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| samples/simple_shader/android/gradle.properties/0 | {
"file_path": "samples/simple_shader/android/gradle.properties",
"repo_id": "samples",
"token_count": 31
} | 1,258 |
name: simple_shader
description: Using a shader, simply.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.2.0
dependencies:
flutter:
sdk: flutter
flutter_shaders: ^0.1.0
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter:
uses-material-... | samples/simple_shader/pubspec.yaml/0 | {
"file_path": "samples/simple_shader/pubspec.yaml",
"repo_id": "samples",
"token_count": 156
} | 1,259 |
include: package:analysis_defaults/flutter.yaml
# Files under typer/ are partially completed files, and often invalid
analyzer:
exclude:
- typer/**
| samples/simplistic_calculator/analysis_options.yaml/0 | {
"file_path": "samples/simplistic_calculator/analysis_options.yaml",
"repo_id": "samples",
"token_count": 47
} | 1,260 |
# Simplistic Editor
This sample text editor showcases the use of TextEditingDeltas and a DeltaTextInputClient to expand
and contract styled ranges of text. For more information visit https://api.flutter.dev/flutter/services/TextEditingDelta-class.html.
https://user-images.githubusercontent.com/948037/166981868-0529e32... | samples/simplistic_editor/README.md/0 | {
"file_path": "samples/simplistic_editor/README.md",
"repo_id": "samples",
"token_count": 1743
} | 1,261 |
import 'package:flutter/material.dart';
import 'app_state.dart';
import 'app_state_manager.dart';
/// The toggle buttons that can be selected.
enum ToggleButtonsState {
bold,
italic,
underline,
}
class FormattingToolbar extends StatelessWidget {
const FormattingToolbar({super.key});
@override
Widget bui... | samples/simplistic_editor/lib/formatting_toolbar.dart/0 | {
"file_path": "samples/simplistic_editor/lib/formatting_toolbar.dart",
"repo_id": "samples",
"token_count": 636
} | 1,262 |
#!/bin/bash
set -e
DIR="${BASH_SOURCE%/*}"
source "$DIR/flutter_ci_script_shared.sh"
flutter doctor -v
declare -ar PROJECT_NAMES=(
"add_to_app/android_view/flutter_module_using_plugin"
"add_to_app/books/flutter_module_books"
"add_to_app/fullscreen/flutter_module"
"add_to_app/multiple_flutters/multip... | samples/tool/flutter_ci_script_beta.sh/0 | {
"file_path": "samples/tool/flutter_ci_script_beta.sh",
"repo_id": "samples",
"token_count": 896
} | 1,263 |
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
| samples/veggieseasons/ios/Flutter/Release.xcconfig/0 | {
"file_path": "samples/veggieseasons/ios/Flutter/Release.xcconfig",
"repo_id": "samples",
"token_count": 69
} | 1,264 |
#import "GeneratedPluginRegistrant.h"
| samples/veggieseasons/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "samples/veggieseasons/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "samples",
"token_count": 13
} | 1,265 |
// Copyright 2018 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:veggieseasons/styles.dart';
// The widgets in this file present a Cupertino-st... | samples/veggieseasons/lib/widgets/settings_item.dart/0 | {
"file_path": "samples/veggieseasons/lib/widgets/settings_item.dart",
"repo_id": "samples",
"token_count": 2313
} | 1,266 |
name: example
description: "flutter_web_startup_analyzer example"
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ^3.2.0
flutter: ^3.16.0
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.6
web_startup_analyzer:
path: ../
dev_dependenc... | samples/web/_packages/web_startup_analyzer/example/pubspec.yaml/0 | {
"file_path": "samples/web/_packages/web_startup_analyzer/example/pubspec.yaml",
"repo_id": "samples",
"token_count": 176
} | 1,267 |
# Sample Index and Web Demos
This directory contains the index hosted at [flutter.github.io/samples][samples]
and web demos hosted with it.
## See the demos in action
Compiled versions of the samples are hosted at
https://flutter.github.io/samples/#?platform=web.
## Building samples code
Run the demo using the `ch... | samples/web/readme.md/0 | {
"file_path": "samples/web/readme.md",
"repo_id": "samples",
"token_count": 365
} | 1,268 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.