text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
<?code-excerpt path-base="example/lib"?> # Migration Guide from 0.2.x to 0.3.0 Starting November 2023, Android Billing Client V4 is no longer supported, requiring app developers using the plugin to migrate to 0.3.0. Version 0.3.0 introduces breaking changes to the API as a result of changes in the underlying Google Pl...
packages/packages/in_app_purchase/in_app_purchase_android/migration_guide.md/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_android/migration_guide.md", "repo_id": "packages", "token_count": 1649 }
1,071
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <OCMock/OCMock.h> #import <XCTest/XCTest.h> #import "FIAPaymentQueueHandler.h" #import "InAppPurchasePlugin+TestOnly.h" #import "Stubs.h" @import ...
packages/packages/in_app_purchase/in_app_purchase_storekit/example/macos/RunnerTests/InAppPurchasePluginTests.m/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/example/macos/RunnerTests/InAppPurchasePluginTests.m", "repo_id": "packages", "token_count": 14419 }
1,072
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <XCTest/XCTest.h> #import "Stubs.h" @import in_app_purchase_storekit; @interface TranslatorTest : XCTestCase @property(strong, nonatomic) NSDict...
packages/packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/TranslatorTests.m/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/TranslatorTests.m", "repo_id": "packages", "token_count": 8532 }
1,073
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'sk_product_wrapper.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** SkProductResponseWrapper _$SkProductResponseWrapperFrom...
packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_product_wrapper.g.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_product_wrapper.g.dart", "repo_id": "packages", "token_count": 1407 }
1,074
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_test/flutter_test.dart'; import 'package:in_app_purchase_storekit/src/messages.g.dart'; import 'package:in_app_purchase_storekit/st...
packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/pigeon_converter_test.dart/0
{ "file_path": "packages/packages/in_app_purchase/in_app_purchase_storekit/test/store_kit_wrappers/pigeon_converter_test.dart", "repo_id": "packages", "token_count": 1431 }
1,075
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:ios_platform_images/ios_platform_images.dart'; void main() => runApp(const MyApp()); /// Main wid...
packages/packages/ios_platform_images/example/lib/main.dart/0
{ "file_path": "packages/packages/ios_platform_images/example/lib/main.dart", "repo_id": "packages", "token_count": 456 }
1,076
group 'io.flutter.plugins.localauth' 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/local_auth/local_auth_android/android/build.gradle/0
{ "file_path": "packages/packages/local_auth/local_auth_android/android/build.gradle", "repo_id": "packages", "token_count": 898 }
1,077
// Copyright 2013 The Flutter 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 <LocalAuthentication/LocalAuthentication.h> /// Protocol for a source of LAContext instances. Used to allow context in...
packages/packages/local_auth/local_auth_darwin/darwin/Classes/FLALocalAuthPlugin_Test.h/0
{ "file_path": "packages/packages/local_auth/local_auth_darwin/darwin/Classes/FLALocalAuthPlugin_Test.h", "repo_id": "packages", "token_count": 191 }
1,078
// Copyright 2013 The Flutter 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_darwin/local_auth_darwin.dart'; import ...
packages/packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.dart/0
{ "file_path": "packages/packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.dart", "repo_id": "packages", "token_count": 5075 }
1,079
// Copyright 2013 The Flutter 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:collection'; import 'dart:convert'; import 'package:crypto/crypto.dart'; import 'package:googleapis_auth/googleapis_auth.dart'; import 'packa...
packages/packages/metrics_center/lib/src/common.dart/0
{ "file_path": "packages/packages/metrics_center/lib/src/common.dart", "repo_id": "packages", "token_count": 635 }
1,080
// Copyright 2013 The Flutter 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:multicast_dns/src/packet.dart'; import 'package:multicast_dns/src/resource_record.dart'; import 'package:test/test.dart'...
packages/packages/multicast_dns/test/decode_test.dart/0
{ "file_path": "packages/packages/multicast_dns/test/decode_test.dart", "repo_id": "packages", "token_count": 10776 }
1,081
name: image_colors description: A simple example of how to use the PaletteGenerator to load the palette from an image file. publish_to: none version: 0.1.0 environment: sdk: ^3.1.0 flutter: ">=3.13.0" dependencies: flutter: sdk: flutter palette_generator: path: ../ dev_dependencies: flutter_test: ...
packages/packages/palette_generator/example/pubspec.yaml/0
{ "file_path": "packages/packages/palette_generator/example/pubspec.yaml", "repo_id": "packages", "token_count": 161 }
1,082
// Copyright 2013 The Flutter 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.pathprovider; import android.content.Context; import android.os.Build.VERSION; import android.os.Build.VERSION_CODES; import an...
packages/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java/0
{ "file_path": "packages/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java", "repo_id": "packages", "token_count": 1709 }
1,083
org.gradle.jvmargs=-Xmx4G android.useAndroidX=true android.enableJetifier=true
packages/packages/path_provider/path_provider_android/example/android/gradle.properties/0
{ "file_path": "packages/packages/path_provider/path_provider_android/example/android/gradle.properties", "repo_id": "packages", "token_count": 30 }
1,084
## NEXT * Updates minimum iOS version to 12.0 and minimum Flutter version to 3.16.6. ## 2.3.2 * Adds privacy manifest. * Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. ## 2.3.1 * Adds pub topics to package metadata. * Updates minimum supported SDK version to Flutter 3.7/Dart 2.19. ## 2.3.0 * Add...
packages/packages/path_provider/path_provider_foundation/CHANGELOG.md/0
{ "file_path": "packages/packages/path_provider/path_provider_foundation/CHANGELOG.md", "repo_id": "packages", "token_count": 404 }
1,085
// Copyright 2013 The Flutter 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:flutter/foundation.dart'; import 'package:path_provider_platform_interface/path_provider_platform_interface.dart'; impo...
packages/packages/path_provider/path_provider_foundation/lib/path_provider_foundation.dart/0
{ "file_path": "packages/packages/path_provider/path_provider_foundation/lib/path_provider_foundation.dart", "repo_id": "packages", "token_count": 1001 }
1,086
// Copyright 2013 The Flutter 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:flutter_test/flutter_test.dart'; import 'package:integration_test/integration_test.dart'; import 'package:path_provider_l...
packages/packages/path_provider/path_provider_linux/example/integration_test/path_provider_test.dart/0
{ "file_path": "packages/packages/path_provider/path_provider_linux/example/integration_test/path_provider_test.dart", "repo_id": "packages", "token_count": 710 }
1,087
name: path_provider_linux description: Linux implementation of the path_provider plugin repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_linux issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22 version: 2.2.1 en...
packages/packages/path_provider/path_provider_linux/pubspec.yaml/0
{ "file_path": "packages/packages/path_provider/path_provider_linux/pubspec.yaml", "repo_id": "packages", "token_count": 323 }
1,088
name: path_provider_windows description: Windows implementation of the path_provider plugin repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_windows issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22 version: 2.2...
packages/packages/path_provider/path_provider_windows/pubspec.yaml/0
{ "file_path": "packages/packages/path_provider/path_provider_windows/pubspec.yaml", "repo_id": "packages", "token_count": 310 }
1,089
// Copyright 2013 The Flutter 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, do not edit directly. // See also: https://pub.dev/packages/pigeon import Foundation #if os(iOS) import Flutter #elseif os...
packages/packages/pigeon/example/app/ios/Runner/Messages.g.swift/0
{ "file_path": "packages/packages/pigeon/example/app/ios/Runner/Messages.g.swift", "repo_id": "packages", "token_count": 2684 }
1,090
// Copyright 2013 The Flutter 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, do not edit directly. // See also: https://pub.dev/packages/pigeon #import "messages.g.h" #if TARGET_OS_OSX #import <Flutter...
packages/packages/pigeon/example/app/macos/Runner/messages.g.m/0
{ "file_path": "packages/packages/pigeon/example/app/macos/Runner/messages.g.m", "repo_id": "packages", "token_count": 3739 }
1,091
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'dart:io'; import 'dart:mirrors'; import 'package:yaml/yaml.dart' as yaml; import 'ast.dart'; /// The current version of p...
packages/packages/pigeon/lib/generator_tools.dart/0
{ "file_path": "packages/packages/pigeon/lib/generator_tools.dart", "repo_id": "packages", "token_count": 7218 }
1,092
// Copyright 2013 The Flutter 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 file is an example pigeon file that is used in compilation, unit, mock // handler, and e2e tests. import 'package:pigeon/pigeon.dart'; class NonN...
packages/packages/pigeon/pigeons/non_null_fields.dart/0
{ "file_path": "packages/packages/pigeon/pigeons/non_null_fields.dart", "repo_id": "packages", "token_count": 316 }
1,093
// Copyright 2013 The Flutter 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 com.example.alternate_language_test_plugin; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import com.example.alternate_l...
packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/AllDatatypesTest.java/0
{ "file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/android/src/test/java/com/example/alternate_language_test_plugin/AllDatatypesTest.java", "repo_id": "packages", "token_count": 3824 }
1,094
// Copyright 2013 The Flutter 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 "MockBinaryMessenger.h" @implementation MockBinaryMessenger - (instancetype)initWithCodec:(NSObject<FlutterMessageCodec> *)codec { self = [supe...
packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MockBinaryMessenger.m/0
{ "file_path": "packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MockBinaryMessenger.m", "repo_id": "packages", "token_count": 471 }
1,095
// Copyright 2013 The Flutter 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, do not edit directly. // See also: https://pub.dev/packages/pigeon // ignore_for_file: public_member_api_docs, non_constant...
packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/message.gen.dart/0
{ "file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/lib/src/generated/message.gen.dart", "repo_id": "packages", "token_count": 4538 }
1,096
// Mocks generated by Mockito 5.4.1 from annotations // in shared_test_plugin_code/test/null_safe_test.dart. // Do not manually edit this file. // @dart=2.19 // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i3; import 'dart:typed_data' as _i4; import 'dart:ui' as _i5; import 'p...
packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/null_safe_test.mocks.dart/0
{ "file_path": "packages/packages/pigeon/platform_tests/shared_test_plugin_code/test/null_safe_test.mocks.dart", "repo_id": "packages", "token_count": 1589 }
1,097
// Copyright 2013 The Flutter 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 com.example.test_plugin import io.flutter.plugin.common.BinaryMessenger import io.mockk.every import io.mockk.mockk import io.mockk.slot import io...
packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/AsyncHandlersTest.kt/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/android/src/test/kotlin/com/example/test_plugin/AsyncHandlersTest.kt", "repo_id": "packages", "token_count": 1494 }
1,098
// Copyright 2013 The Flutter 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 Foundation import XCTest @testable import test_plugin class RunnerTests: XCTestCase { func testToListAndBack() throws { let ...
packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/RunnerTests.swift/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/ios/RunnerTests/RunnerTests.swift", "repo_id": "packages", "token_count": 612 }
1,099
name: test_plugin_example description: Pigeon test harness for primary plugin languages. publish_to: 'none' environment: sdk: ^3.1.0 dependencies: flutter: sdk: flutter shared_test_plugin_code: path: ../../shared_test_plugin_code test_plugin: path: ../ dev_dependencies: flutter_test: sdk: f...
packages/packages/pigeon/platform_tests/test_plugin/example/pubspec.yaml/0
{ "file_path": "packages/packages/pigeon/platform_tests/test_plugin/example/pubspec.yaml", "repo_id": "packages", "token_count": 156 }
1,100
name: pigeon description: Code generator tool to make communication between Flutter and the host platform type-safe and easier. repository: https://github.com/flutter/packages/tree/main/packages/pigeon issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+pigeon%22 version: 17....
packages/packages/pigeon/pubspec.yaml/0
{ "file_path": "packages/packages/pigeon/pubspec.yaml", "repo_id": "packages", "token_count": 285 }
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 'dart:convert'; import 'dart:io'; String getFlutterCommand() => Platform.isWindows ? 'flutter.bat' : 'flutter'; /// Returns the first device liste...
packages/packages/pigeon/tool/shared/flutter_utils.dart/0
{ "file_path": "packages/packages/pigeon/tool/shared/flutter_utils.dart", "repo_id": "packages", "token_count": 456 }
1,102
plugins { id "com.android.application" id "kotlin-android" id "dev.flutter.flutter-gradle-plugin" } def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> local...
packages/packages/platform/example/android/app/build.gradle/0
{ "file_path": "packages/packages/platform/example/android/app/build.gradle", "repo_id": "packages", "token_count": 567 }
1,103
name: platform description: A pluggable, mockable platform information abstraction for Dart. repository: https://github.com/flutter/packages/tree/main/packages/platform issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+platform%22 version: 3.1.4 environment: sdk: ^3.1.0 ...
packages/packages/platform/pubspec.yaml/0
{ "file_path": "packages/packages/platform/pubspec.yaml", "repo_id": "packages", "token_count": 144 }
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. import XCTest final class RunnerUITests: XCTestCase { override func setUp() { continueAfterFailure = false } func testPointerInterceptorBlocks...
packages/packages/pointer_interceptor/pointer_interceptor_ios/example/ios/RunnerUITests/RunnerUITests.swift/0
{ "file_path": "packages/packages/pointer_interceptor/pointer_interceptor_ios/example/ios/RunnerUITests/RunnerUITests.swift", "repo_id": "packages", "token_count": 461 }
1,105
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/quick_actions/quick_actions/example/android/app/build.gradle/0
{ "file_path": "packages/packages/quick_actions/quick_actions/example/android/app/build.gradle", "repo_id": "packages", "token_count": 620 }
1,106
rootProject.name = 'quick_actions'
packages/packages/quick_actions/quick_actions_android/android/settings.gradle/0
{ "file_path": "packages/packages/quick_actions/quick_actions_android/android/settings.gradle", "repo_id": "packages", "token_count": 11 }
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. // Autogenerated from Pigeon (v11.0.1), do not edit directly. // See also: https://pub.dev/packages/pigeon // ignore_for_file: public_member_api_docs, non_c...
packages/packages/quick_actions/quick_actions_android/lib/src/messages.g.dart/0
{ "file_path": "packages/packages/quick_actions/quick_actions_android/lib/src/messages.g.dart", "repo_id": "packages", "token_count": 2307 }
1,108
# Remote Flutter Widgets This package provides a mechanism for rendering widgets based on declarative UI descriptions that can be obtained at runtime. ## Status This package is relatively stable. We plan to keep the format and supported widget set backwards compatible, so that once a file works, it will keep workin...
packages/packages/rfw/README.md/0
{ "file_path": "packages/packages/rfw/README.md", "repo_id": "packages", "token_count": 11302 }
1,109
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
packages/packages/rfw/example/local/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "packages/packages/rfw/example/local/macos/Runner/Configs/Debug.xcconfig", "repo_id": "packages", "token_count": 32 }
1,110
name: remote description: Example of fetching remote widgets for RFW 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 path: ^1.8.0 path_provider: ^2.0.2 rfw: path: ../../ flutt...
packages/packages/rfw/example/remote/pubspec.yaml/0
{ "file_path": "packages/packages/rfw/example/remote/pubspec.yaml", "repo_id": "packages", "token_count": 147 }
1,111
buildFlags: global: - "--no-tree-shake-icons"
packages/packages/rfw/example/wasm/.pluginToolsConfig.yaml/0
{ "file_path": "packages/packages/rfw/example/wasm/.pluginToolsConfig.yaml", "repo_id": "packages", "token_count": 23 }
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. // This file is hand-formatted. // This file must not import `dart:ui`, directly or indirectly, as it is // intended to function even in pure Dart server ...
packages/packages/rfw/lib/src/dart/binary.dart/0
{ "file_path": "packages/packages/rfw/lib/src/dart/binary.dart", "repo_id": "packages", "token_count": 8866 }
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. // This file is hand-formatted. // This file contains and briefly tests the snippets used in the README.md file. import 'package:flutter/material.dart'; ...
packages/packages/rfw/test/readme_test.dart/0
{ "file_path": "packages/packages/rfw/test/readme_test.dart", "repo_id": "packages", "token_count": 4300 }
1,114
name: shared_preferences description: Flutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android. repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences issue_tracker: https://github.com/flutter/flutter/...
packages/packages/shared_preferences/shared_preferences/pubspec.yaml/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences/pubspec.yaml", "repo_id": "packages", "token_count": 518 }
1,115
## NEXT * Updates minimum iOS version to 12.0 and minimum Flutter version to 3.16.6. ## 2.3.5 * Adds privacy manifest. * Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. ## 2.3.4 * Adds pub topics to package metadata. * Updates minimum supported SDK version to Flutter 3.7/Dart 2.19. ## 2.3.3 * Upd...
packages/packages/shared_preferences/shared_preferences_foundation/CHANGELOG.md/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences_foundation/CHANGELOG.md", "repo_id": "packages", "token_count": 510 }
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'; import 'package:shared_preferences_platform_interface/shared_preferences_platform_interface.dart'; import 'package:...
packages/packages/shared_preferences/shared_preferences_foundation/lib/shared_preferences_foundation.dart/0
{ "file_path": "packages/packages/shared_preferences/shared_preferences_foundation/lib/shared_preferences_foundation.dart", "repo_id": "packages", "token_count": 1093 }
1,117
name: standard_message_codec_examples description: Example code for standard message codec usage version: 0.0.1 publish_to: none environment: sdk: ^3.1.0 dependencies: standard_message_codec: path: ../ dev_dependencies: build_runner: ^2.1.10
packages/packages/standard_message_codec/example/pubspec.yaml/0
{ "file_path": "packages/packages/standard_message_codec/example/pubspec.yaml", "repo_id": "packages", "token_count": 93 }
1,118
#Wed Jul 31 20:16:04 BRT 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
packages/packages/url_launcher/url_launcher/example/android/gradle/wrapper/gradle-wrapper.properties/0
{ "file_path": "packages/packages/url_launcher/url_launcher/example/android/gradle/wrapper/gradle-wrapper.properties", "repo_id": "packages", "token_count": 86 }
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 'dart:async'; import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; import 'package:url_launcher_platform_interface/link.d...
packages/packages/url_launcher/url_launcher/lib/src/link.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher/lib/src/link.dart", "repo_id": "packages", "token_count": 1439 }
1,120
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.plugins.urllauncherexample"> <!-- The INTERNET permission is required for development. Specifically, flutter needs it to communicate with the running application to allow setting breakpoints, to provide hot reloa...
packages/packages/url_launcher/url_launcher_android/example/android/app/src/main/AndroidManifest.xml/0
{ "file_path": "packages/packages/url_launcher/url_launcher_android/example/android/app/src/main/AndroidManifest.xml", "repo_id": "packages", "token_count": 512 }
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 UIKit /// Protocol for UIApplication methods relating to launching URLs. /// /// This protocol exists to allow injecting an alternate implementatio...
packages/packages/url_launcher/url_launcher_ios/ios/Classes/Launcher.swift/0
{ "file_path": "packages/packages/url_launcher/url_launcher_ios/ios/Classes/Launcher.swift", "repo_id": "packages", "token_count": 213 }
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. // Autogenerated from Pigeon (v10.1.3), do not edit directly. // See also: https://pub.dev/packages/pigeon import Foundation #if os(iOS) import Flutter ...
packages/packages/url_launcher/url_launcher_macos/macos/Classes/messages.g.swift/0
{ "file_path": "packages/packages/url_launcher/url_launcher_macos/macos/Classes/messages.g.swift", "repo_id": "packages", "token_count": 1774 }
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 'package:flutter_test/flutter_test.dart'; import 'package:url_launcher_platform_interface/url_launcher_platform_interface.dart'; void main() { te...
packages/packages/url_launcher/url_launcher_platform_interface/test/in_app_browser_configuration_test.dart/0
{ "file_path": "packages/packages/url_launcher/url_launcher_platform_interface/test/in_app_browser_configuration_test.dart", "repo_id": "packages", "token_count": 173 }
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. #include <windows.h> namespace url_launcher_windows { // An interface wrapping system APIs used by the plugin, for mocking. class SystemApis { public: ...
packages/packages/url_launcher/url_launcher_windows/windows/system_apis.h/0
{ "file_path": "packages/packages/url_launcher/url_launcher_windows/windows/system_apis.h", "repo_id": "packages", "token_count": 860 }
1,125
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
packages/packages/video_player/video_player/example/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "packages/packages/video_player/video_player/example/macos/Runner/Configs/Debug.xcconfig", "repo_id": "packages", "token_count": 32 }
1,126
// Copyright 2013 The Flutter 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:video_player/src/closed_caption_file.dart'; import 'package:video_player/video_player.dart...
packages/packages/video_player/video_player/test/sub_rip_file_test.dart/0
{ "file_path": "packages/packages/video_player/video_player/test/sub_rip_file_test.dart", "repo_id": "packages", "token_count": 1158 }
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. #import <Foundation/Foundation.h> #if TARGET_OS_OSX #import <FlutterMacOS/FlutterMacOS.h> #else #import <Flutter/Flutter.h> #endif // A cross-platform di...
packages/packages/video_player/video_player_avfoundation/darwin/Classes/FVPDisplayLink.h/0
{ "file_path": "packages/packages/video_player/video_player_avfoundation/darwin/Classes/FVPDisplayLink.h", "repo_id": "packages", "token_count": 303 }
1,128
# video_player_platform_interface A common platform interface for the [`video_player`][1] plugin. This interface allows platform-specific implementations of the `video_player` plugin, as well as the plugin itself, to ensure they are supporting the same interface. # Usage To implement a new platform-specific impleme...
packages/packages/video_player/video_player_platform_interface/README.md/0
{ "file_path": "packages/packages/video_player/video_player_platform_interface/README.md", "repo_id": "packages", "token_count": 236 }
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 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; impor...
packages/packages/video_player/video_player_web/example/integration_test/video_player_web_test.dart/0
{ "file_path": "packages/packages/video_player/video_player_web/example/integration_test/video_player_web_test.dart", "repo_id": "packages", "token_count": 3386 }
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. // #docregion analyze import 'dart:convert'; import 'dart:io'; import 'package:web_benchmarks/analysis.dart'; void main() { final BenchmarkResults base...
packages/packages/web_benchmarks/example/analyze_example.dart/0
{ "file_path": "packages/packages/web_benchmarks/example/analyze_example.dart", "repo_id": "packages", "token_count": 414 }
1,131
# `testing` README ## How to run the `testing` directory tests The benchmarks contained in this directory use a client-server model, similar to what the integration_test package does. In order to run the tests inside `testing`, do the following: * Install Chrome in a way that [tests can find it](https://github.com/f...
packages/packages/web_benchmarks/testing/README.md/0
{ "file_path": "packages/packages/web_benchmarks/testing/README.md", "repo_id": "packages", "token_count": 805 }
1,132
## 3.16.0 * Adds onReceivedHttpError WebViewClient callback to support `PlatformNavigationDelegate.onHttpError`. * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. * Updates compileSdk to 34. ## 3.15.0 * Adds support for `setOnScrollPositionChange` method to the `AndroidWebViewController`. ## 3.14....
packages/packages/webview_flutter/webview_flutter_android/CHANGELOG.md/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/CHANGELOG.md", "repo_id": "packages", "token_count": 3154 }
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. // Autogenerated from Pigeon (v11.0.1), do not edit directly. // See also: https://pub.dev/packages/pigeon package io.flutter.plugins.webviewflutter; impo...
packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/GeneratedAndroidWebView.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/GeneratedAndroidWebView.java", "repo_id": "packages", "token_count": 66451 }
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. package io.flutter.plugins.webviewflutter; import android.webkit.WebStorage; import androidx.annotation.NonNull; import io.flutter.plugins.webviewflutter....
packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebStorageHostApiImpl.java/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebStorageHostApiImpl.java", "repo_id": "packages", "token_count": 575 }
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. import 'dart:typed_data'; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mockito/annotations.dart...
packages/packages/webview_flutter/webview_flutter_android/test/legacy/webview_android_widget_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_android/test/legacy/webview_android_widget_test.dart", "repo_id": "packages", "token_count": 14484 }
1,136
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// A message that was sent by JavaScript code running in a [WebView]. class JavascriptMessage { /// Constructs a JavaScript message object. /// /// ...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/legacy/types/javascript_message.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/legacy/types/javascript_message.dart", "repo_id": "packages", "token_count": 124 }
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. /// Represents the severity of a JavaScript log message. enum JavaScriptLogLevel { /// Indicates an error message was logged via an "error" event of the ...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/javascript_log_level.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/javascript_log_level.dart", "repo_id": "packages", "token_count": 192 }
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. import 'package:flutter/foundation.dart'; /// Contains information about the response for a request. /// /// Platform specific implementations can add add...
packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/web_resource_response.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/web_resource_response.dart", "repo_id": "packages", "token_count": 454 }
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. import 'package:flutter_test/flutter_test.dart'; import 'package:webview_flutter_platform_interface/src/types/types.dart'; void main() { group('types', ...
packages/packages/webview_flutter/webview_flutter_platform_interface/test/types_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/test/types_test.dart", "repo_id": "packages", "token_count": 368 }
1,140
// Mocks generated by Mockito 5.4.4 from annotations // in webview_flutter_web/test/legacy/webview_flutter_web_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i7; import 'dart:html' as _i2; import 'dart:math' as _i3; import 'package...
packages/packages/webview_flutter/webview_flutter_web/test/legacy/webview_flutter_web_test.mocks.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_web/test/legacy/webview_flutter_web_test.mocks.dart", "repo_id": "packages", "token_count": 35502 }
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. // This test is run using `flutter drive` by the CI (see /script/tool/README.md // in this repository for details on driving that tooling manually), but ca...
packages/packages/webview_flutter/webview_flutter_wkwebview/example/integration_test/webview_flutter_test.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/example/integration_test/webview_flutter_test.dart", "repo_id": "packages", "token_count": 21998 }
1,142
// Copyright 2013 The Flutter 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 "FWFNavigationDelegateHostApi.h" #import "FWFDataConverters.h" #import "FWFURLAuthenticationChallengeHostApi.h" #import "FWFWebViewConfigurationHos...
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFNavigationDelegateHostApi.m/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFNavigationDelegateHostApi.m", "repo_id": "packages", "token_count": 9997 }
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 "FWFURLAuthenticationChallengeHostApi.h" #import "FWFURLProtectionSpaceHostApi.h" @interface FWFURLAuthenticationChallengeFlutterApiImpl () // Bin...
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFURLAuthenticationChallengeHostApi.m/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFURLAuthenticationChallengeHostApi.m", "repo_id": "packages", "token_count": 928 }
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. #import "FWFWebsiteDataStoreHostApi.h" #import "FWFDataConverters.h" #import "FWFWebViewConfigurationHostApi.h" @interface FWFWebsiteDataStoreHostApiImpl ...
packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebsiteDataStoreHostApi.m/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebsiteDataStoreHostApi.m", "repo_id": "packages", "token_count": 1456 }
1,145
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import '../common/instance_manager.dart'; import '...
packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/web_kit/web_kit_api_impls.dart/0
{ "file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/lib/src/web_kit/web_kit_api_impls.dart", "repo_id": "packages", "token_count": 13525 }
1,146
## NEXT * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. ## 1.0.4 * Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. * Fixes new lint warnings. ## 1.0.3 * Adds pub topics to package metadata. * Updates minimum supported SDK version to Flutter 3.7/Dart 2.19. ## 1.0.2 * Adds example...
packages/packages/xdg_directories/CHANGELOG.md/0
{ "file_path": "packages/packages/xdg_directories/CHANGELOG.md", "repo_id": "packages", "token_count": 383 }
1,147
name: xdg_directories_example description: Demonstrates how to use the xdg_directories package. publish_to: 'none' environment: sdk: ^3.1.0 flutter: ">=3.13.0" dependencies: flutter: sdk: flutter xdg_directories: # When depending on this package from a real application you should use: # xdg_dire...
packages/packages/xdg_directories/example/pubspec.yaml/0
{ "file_path": "packages/packages/xdg_directories/example/pubspec.yaml", "repo_id": "packages", "token_count": 259 }
1,148
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'dart:io'; import 'package:file/file.dart'; import 'common/core.dart'; import 'common/output_utils.dart'; import 'common/pa...
packages/script/tool/lib/src/drive_examples_command.dart/0
{ "file_path": "packages/script/tool/lib/src/drive_examples_command.dart", "repo_id": "packages", "token_count": 5878 }
1,149
// Copyright 2013 The Flutter 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:pub_semver/pub_semver.dart'; import 'package:pubspec_parse/pubspec_p...
packages/script/tool/lib/src/pubspec_check_command.dart/0
{ "file_path": "packages/script/tool/lib/src/pubspec_check_command.dart", "repo_id": "packages", "token_count": 7679 }
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 'dart:async'; import 'dart:io'; import 'package:flutter_plugin_tools/src/common/output_utils.dart'; import 'package:test/test.dart'; void main() {...
packages/script/tool/test/common/output_utils_test.dart/0
{ "file_path": "packages/script/tool/test/common/output_utils_test.dart", "repo_id": "packages", "token_count": 979 }
1,151
// Copyright 2013 The Flutter 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 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:flutter_plugin_tools/src/com...
packages/script/tool/test/fetch_deps_command_test.dart/0
{ "file_path": "packages/script/tool/test/fetch_deps_command_test.dart", "repo_id": "packages", "token_count": 9145 }
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 'package:args/command_runner.dart'; import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:flutter_plugin_tools/src/rem...
packages/script/tool/test/remove_dev_dependencies_command_test.dart/0
{ "file_path": "packages/script/tool/test/remove_dev_dependencies_command_test.dart", "repo_id": "packages", "token_count": 1062 }
1,153
{ "hosting": { "public": "build/web", "site": "io-photobooth-dev", "cleanUrls": true, "trailingSlash": false, "ignore": [ ".firebase", "firebase.json", "functions/node_modules", "functions/src", "__/**" ], "rewrites": [ { "source": "/share/**", "...
photobooth/firebase.json/0
{ "file_path": "photobooth/firebase.json", "repo_id": "photobooth", "token_count": 828 }
1,154
{ "compilerOptions": { "noUnusedLocals": false }, "include": [ ".eslintrc.js" ] }
photobooth/functions/tsconfig.dev.json/0
{ "file_path": "photobooth/functions/tsconfig.dev.json", "repo_id": "photobooth", "token_count": 48 }
1,155
{ "@@locale": "hu", "landingPageHeading": "Üdvözlünk az I∕O Photo Booth-ban", "landingPageSubheading": "Készíts egy fotót és oszd meg a közösséggel!", "landingPageTakePhotoButtonText": "Kezdjünk bele", "footerMadeWithText": "Ezzel készült ", "footerMadeWithFlutterLinkText": "Flutter", "foote...
photobooth/lib/l10n/arb/app_hu.arb/0
{ "file_path": "photobooth/lib/l10n/arb/app_hu.arb", "repo_id": "photobooth", "token_count": 2872 }
1,156
export 'landing_background.dart'; export 'landing_body.dart'; export 'landing_take_photo_button.dart';
photobooth/lib/landing/widgets/widgets.dart/0
{ "file_path": "photobooth/lib/landing/widgets/widgets.dart", "repo_id": "photobooth", "token_count": 37 }
1,157
import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; import 'package:io_photobooth/l10n/l10n.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; class PhotoboothError extends StatelessWidget { const PhotoboothError({required this.error, super.key}); final CameraException error; @o...
photobooth/lib/photobooth/widgets/photobooth_error.dart/0
{ "file_path": "photobooth/lib/photobooth/widgets/photobooth_error.dart", "repo_id": "photobooth", "token_count": 2343 }
1,158
import 'package:flutter/material.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; const _size = Size(173, 163); class AnimatedPhotoIndicator extends StatelessWidget { const AnimatedPhotoIndicator({super.key}); @override Widget build(BuildContext context) { return ResponsiveLayoutBuilder( sma...
photobooth/lib/share/widgets/animated_photo_indicator.dart/0
{ "file_path": "photobooth/lib/share/widgets/animated_photo_indicator.dart", "repo_id": "photobooth", "token_count": 427 }
1,159
export 'animated_photo_indicator.dart'; export 'animated_photobooth_photo.dart'; export 'facebook_button.dart'; export 'share_background.dart'; export 'share_body.dart'; export 'share_button.dart'; export 'share_caption.dart'; export 'share_copyable_link.dart'; export 'share_heading.dart'; export 'share_preview_photo.d...
photobooth/lib/share/widgets/widgets.dart/0
{ "file_path": "photobooth/lib/share/widgets/widgets.dart", "repo_id": "photobooth", "token_count": 193 }
1,160
import 'package:camera/camera.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mocktail/mocktail.dart'; import 'package:plugin_platform_interface/plugin_platform_interface.dart'; class MockCameraPlatform extends Mock with MockPlatformInterfaceMixin implements CameraPlatform {} class Fak...
photobooth/packages/camera/camera/test/src/controller_test.dart/0
{ "file_path": "photobooth/packages/camera/camera/test/src/controller_test.dart", "repo_id": "photobooth", "token_count": 1533 }
1,161
@TestOn('chrome') library; import 'dart:html'; import 'package:camera_platform_interface/camera_platform_interface.dart'; import 'package:camera_web/camera_web.dart'; import 'package:flutter/widgets.dart' show Widget; import 'package:flutter_test/flutter_test.dart'; import 'package:mocktail/mocktail.dart'; class Mock...
photobooth/packages/camera/camera_web/test/src/camera_web_test.dart/0
{ "file_path": "photobooth/packages/camera/camera_web/test/src/camera_web_test.dart", "repo_id": "photobooth", "token_count": 878 }
1,162
import 'package:platform_helper/platform_helper.dart'; // ignore: unnecessary_late late final _platformHelper = PlatformHelper(); /// Returns whether the current platform is running on a mobile device. bool get isMobile => _platformHelper.isMobile;
photobooth/packages/photobooth_ui/lib/src/platform/is_mobile.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/lib/src/platform/is_mobile.dart", "repo_id": "photobooth", "token_count": 64 }
1,163
import 'dart:math' as math; import 'package:flutter/material.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; import 'package:platform_helper/platform_helper.dart'; /// {@template drag_update} /// Drag update model which includes the position and size. /// {@endtemplate} class DragUpdate { /// {@macro drag...
photobooth/packages/photobooth_ui/lib/src/widgets/draggable_resizable.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/lib/src/widgets/draggable_resizable.dart", "repo_id": "photobooth", "token_count": 8444 }
1,164
import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:photobooth_ui/photobooth_ui.dart'; void main() { group('AnimatedFadeIn', () { testWidgets('fades in child', (tester) async { final key = UniqueKey(); final child = SizedBox(key: key); await t...
photobooth/packages/photobooth_ui/test/src/widgets/animated_fade_in_test.dart/0
{ "file_path": "photobooth/packages/photobooth_ui/test/src/widgets/animated_fade_in_test.dart", "repo_id": "photobooth", "token_count": 323 }
1,165
include: package:very_good_analysis/analysis_options.yaml
photobooth/packages/photos_repository/analysis_options.yaml/0
{ "file_path": "photobooth/packages/photos_repository/analysis_options.yaml", "repo_id": "photobooth", "token_count": 16 }
1,166
// ignore_for_file: prefer_const_constructors import 'dart:convert'; import 'dart:ui' as ui; import 'package:bloc_test/bloc_test.dart'; import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_test/flutter_test.dart'; import ...
photobooth/test/photobooth/view/photobooth_page_test.dart/0
{ "file_path": "photobooth/test/photobooth/view/photobooth_page_test.dart", "repo_id": "photobooth", "token_count": 10538 }
1,167
// ignore_for_file: prefer_const_constructors import 'dart:typed_data'; import 'package:cross_file/cross_file.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_photobooth/share/share.dart'; import 'package:mocktail/mocktail.dart'; import '../../helpers/helpers.dart'; void main() { const sh...
photobooth/test/share/widgets/facebook_button_test.dart/0
{ "file_path": "photobooth/test/share/widgets/facebook_button_test.dart", "repo_id": "photobooth", "token_count": 756 }
1,168
import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:pinball/assets_manager/assets_manager.dart'; import 'package:pinball/gen/gen.dart'; import 'package:pinball/l10n/l10n.dart'; import 'package:pinball_ui/pinball_ui.dart'; /// {@template assets_loading_page} /// Widg...
pinball/lib/assets_manager/views/assets_loading_page.dart/0
{ "file_path": "pinball/lib/assets_manager/views/assets_loading_page.dart", "repo_id": "pinball", "token_count": 718 }
1,169
part of 'game_bloc.dart'; @immutable abstract class GameEvent extends Equatable { const GameEvent(); } /// {@template round_lost_game_event} /// Event added when a user drops all balls off the screen and loses a round. /// {@endtemplate} class RoundLost extends GameEvent { /// {@macro round_lost_game_event} con...
pinball/lib/game/bloc/game_event.dart/0
{ "file_path": "pinball/lib/game/bloc/game_event.dart", "repo_id": "pinball", "token_count": 432 }
1,170