text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import '../platform_webview_controller.dart';
/// Defines the supported HTTP methods for loading a page in [Pla... | packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/load_request_params.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_platform_interface/lib/src/types/load_request_params.dart",
"repo_id": "packages",
"token_count": 745
} | 1,069 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:webview_flutter_platform_interface/webview_flutter... | packages/packages/webview_flutter/webview_flutter_web/test/web_webview_widget_test.dart/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_web/test/web_webview_widget_test.dart",
"repo_id": "packages",
"token_count": 404
} | 1,070 |
// Copyright 2013 The Flutter 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 FWFURLProtectionSpaceHostApiTests : XCTestCase
@... | packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFURLProtectionSpaceHostApiTests.m/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FWFURLProtectionSpaceHostApiTests.m",
"repo_id": "packages",
"token_count": 989
} | 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 <Flutter/Flutter.h>
#import <Foundation/Foundation.h>
#import "FWFGeneratedWebKitApis.h"
#import "FWFInstanceManager.h"
NS_ASSUME_NONNULL_BEGIN
/... | packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFURLHostApi.h/0 | {
"file_path": "packages/packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FWFURLHostApi.h",
"repo_id": "packages",
"token_count": 459
} | 1,072 |
test_on: vm
| packages/packages/xdg_directories/dart_test.yaml/0 | {
"file_path": "packages/packages/xdg_directories/dart_test.yaml",
"repo_id": "packages",
"token_count": 6
} | 1,073 |
name: xdg_directories
description: A Dart package for reading XDG directory configuration information on Linux.
repository: https://github.com/flutter/packages/tree/main/packages/xdg_directories
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+xdg_directories%22
version: 1... | packages/packages/xdg_directories/pubspec.yaml/0 | {
"file_path": "packages/packages/xdg_directories/pubspec.yaml",
"repo_id": "packages",
"token_count": 187
} | 1,074 |
# No need for unit tests:
- espresso
| packages/script/configs/exclude_native_unit_android.yaml/0 | {
"file_path": "packages/script/configs/exclude_native_unit_android.yaml",
"repo_id": "packages",
"token_count": 11
} | 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 'dart:io' as io;
import 'package:file/file.dart';
import 'package:uuid/uuid.dart';
import 'common/core.dart';
import 'common/gradle.dart';
import ... | packages/script/tool/lib/src/firebase_test_lab_command.dart/0 | {
"file_path": "packages/script/tool/lib/src/firebase_test_lab_command.dart",
"repo_id": "packages",
"token_count": 4878
} | 1,076 |
// Copyright 2013 The Flutter 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 'common/core.dart';
import 'common/output_utils.dart';
import 'common/package_looping_command.dart';
import 'commo... | packages/script/tool/lib/src/repo_package_info_check_command.dart/0 | {
"file_path": "packages/script/tool/lib/src/repo_package_info_check_command.dart",
"repo_id": "packages",
"token_count": 3358
} | 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 'dart:async';
import 'dart:io' as io;
import 'package:args/command_runner.dart';
import 'package:file/file.dart';
import 'package:file/memory.dart'... | packages/script/tool/test/common/package_looping_command_test.dart/0 | {
"file_path": "packages/script/tool/test/common/package_looping_command_test.dart",
"repo_id": "packages",
"token_count": 13204
} | 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: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/format_command_test.dart/0 | {
"file_path": "packages/script/tool/test/format_command_test.dart",
"repo_id": "packages",
"token_count": 13357
} | 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 '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/update_excerpts_command_test.dart/0 | {
"file_path": "packages/script/tool/test/update_excerpts_command_test.dart",
"repo_id": "packages",
"token_count": 4784
} | 1,080 |
{
"development": {
"app_url": "https://io-photobooth.web.app"
}
} | photobooth/functions/.runtimeconfig.json/0 | {
"file_path": "photobooth/functions/.runtimeconfig.json",
"repo_id": "photobooth",
"token_count": 34
} | 1,081 |
import 'package:authentication_repository/authentication_repository.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:io_photobooth/l10n/l10n.dart';
import 'package:io_photobooth/landing/land... | photobooth/lib/app/app.dart/0 | {
"file_path": "photobooth/lib/app/app.dart",
"repo_id": "photobooth",
"token_count": 616
} | 1,082 |
{
"@@locale": "te",
"landingPageHeading": "గూగుల్ I∕O ఫోటో బూత్ కి స్వాగతం ",
"landingPageSubheading": "ఒక చిత్రం తీస్కొని సమాజం తో పంచుకోండి!",
"landingPageTakePhotoButtonText": "మొదలు పెట్టండి",
"footerMadeWithText": "తయారు చెయ్యబడింది ",
"footerMadeWithFlutterLinkText": "ఫ్లట్... | photobooth/lib/l10n/arb/app_te.arb/0 | {
"file_path": "photobooth/lib/l10n/arb/app_te.arb",
"repo_id": "photobooth",
"token_count": 8815
} | 1,083 |
part of 'photobooth_bloc.dart';
abstract class PhotoboothEvent extends Equatable {
const PhotoboothEvent();
@override
List<Object> get props => [];
}
class PhotoCaptured extends PhotoboothEvent {
const PhotoCaptured({required this.aspectRatio, required this.image});
final double aspectRatio;
final Camer... | photobooth/lib/photobooth/bloc/photobooth_event.dart/0 | {
"file_path": "photobooth/lib/photobooth/bloc/photobooth_event.dart",
"repo_id": "photobooth",
"token_count": 471
} | 1,084 |
import 'dart:async';
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:io_photobooth/l10n/l10n.dart';
import 'package:just_audio/just_audio.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
const _shutterCountdownDuration = Duration(seconds: 3);
AudioPlayer _getAudioPlayer()... | photobooth/lib/photobooth/widgets/shutter_button.dart/0 | {
"file_path": "photobooth/lib/photobooth/widgets/shutter_button.dart",
"repo_id": "photobooth",
"token_count": 1881
} | 1,085 |
import 'package:flutter/material.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
class ShareBackground extends StatelessWidget {
const ShareBackground({super.key});
@override
Widget build(BuildContext context) {
return Stack(
children: [
SizedBox.expand(
child: Image.asset(... | photobooth/lib/share/widgets/share_background.dart/0 | {
"file_path": "photobooth/lib/share/widgets/share_background.dart",
"repo_id": "photobooth",
"token_count": 807
} | 1,086 |
part of 'stickers_bloc.dart';
class StickersState extends Equatable {
const StickersState({
this.isDrawerActive = false,
this.shouldDisplayPropsReminder = true,
this.tabIndex = 0,
});
final bool isDrawerActive;
final bool shouldDisplayPropsReminder;
final int tabIndex;
@override
List<Object... | photobooth/lib/stickers/bloc/stickers_state.dart/0 | {
"file_path": "photobooth/lib/stickers/bloc/stickers_state.dart",
"repo_id": "photobooth",
"token_count": 303
} | 1,087 |
/// A Flutter package which adds analytics support.
library analytics;
export 'src/analytics_io.dart' if (dart.library.html) 'src/analytics_web.dart';
| photobooth/packages/analytics/lib/analytics.dart/0 | {
"file_path": "photobooth/packages/analytics/lib/analytics.dart",
"repo_id": "photobooth",
"token_count": 49
} | 1,088 |
import 'package:camera_platform_interface/camera_platform_interface.dart';
import 'package:camera_platform_interface/src/method_channel/method_channel_camera.dart';
import 'package:flutter/widgets.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
abstract class CameraPlatform extends Pl... | photobooth/packages/camera/camera_platform_interface/lib/src/platform_interface/camera_platform.dart/0 | {
"file_path": "photobooth/packages/camera/camera_platform_interface/lib/src/platform_interface/camera_platform.dart",
"repo_id": "photobooth",
"token_count": 652
} | 1,089 |
import 'dart:async';
import 'dart:html' as html;
import 'dart:js_util' as js_util;
final bool _supportsDecode = js_util.getProperty<dynamic>(
js_util.getProperty(
js_util.getProperty(html.window, 'Image'),
'prototype',
),
'decode',
) !=
null;
/// {@template html_image}
/// Da... | photobooth/packages/image_compositor/lib/src/image_loader.dart/0 | {
"file_path": "photobooth/packages/image_compositor/lib/src/image_loader.dart",
"repo_id": "photobooth",
"token_count": 1262
} | 1,090 |
import 'package:flutter/widgets.dart';
import 'package:photobooth_ui/src/layout/layout.dart';
/// Signature for the individual builders (`small`, `large`, etc.).
typedef ResponsiveLayoutWidgetBuilder = Widget Function(BuildContext, Widget?);
/// {@template responsive_layout_builder}
/// A wrapper around [LayoutBuilde... | photobooth/packages/photobooth_ui/lib/src/widgets/responsive_layout_builder.dart/0 | {
"file_path": "photobooth/packages/photobooth_ui/lib/src/widgets/responsive_layout_builder.dart",
"repo_id": "photobooth",
"token_count": 587
} | 1,091 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:photobooth_ui/photobooth_ui.dart';
void main() {
group('AppAnimatedCrossFade', () {
testWidgets('renders both children', (tester) async {
await tester.pumpW... | photobooth/packages/photobooth_ui/test/src/widgets/app_animated_cross_fade_test.dart/0 | {
"file_path": "photobooth/packages/photobooth_ui/test/src/widgets/app_animated_cross_fade_test.dart",
"repo_id": "photobooth",
"token_count": 274
} | 1,092 |
name: photos_repository
description: repository that manages the photo domain
version: 1.0.0+1
publish_to: none
environment:
sdk: ">=2.19.0 <3.0.0"
dependencies:
firebase_core: ^2.4.1
firebase_storage: ^11.0.10
flutter:
sdk: flutter
image_compositor:
path: ../image_compositor
dev_dependencies:
fl... | photobooth/packages/photos_repository/pubspec.yaml/0 | {
"file_path": "photobooth/packages/photos_repository/pubspec.yaml",
"repo_id": "photobooth",
"token_count": 174
} | 1,093 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:io_photobooth/external_links/external_links.dart';
import 'package:io_photobooth/footer/footer.dart';
import 'package:mocktail/mo... | photobooth/test/app/widgets/footer_link_test.dart/0 | {
"file_path": "photobooth/test/app/widgets/footer_link_test.dart",
"repo_id": "photobooth",
"token_count": 2277
} | 1,094 |
// ignore_for_file: prefer_const_constructors
import 'package:bloc_test/bloc_test.dart';
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:io_photobooth/assets.g.dart';
import 'package:io_photobooth/photobooth/photobooth.dart';
... | photobooth/test/photobooth/widgets/characters_layer_test.dart/0 | {
"file_path": "photobooth/test/photobooth/widgets/characters_layer_test.dart",
"repo_id": "photobooth",
"token_count": 1047
} | 1,095 |
// ignore_for_file: prefer_const_constructors
import 'dart:typed_data';
import 'package:cross_file/cross_file.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:io_photobooth/share/share.dart';
import 'package:mocktail/mocktail.dart';
import '../../helpers/... | photobooth/test/share/widgets/share_progress_overlay_test.dart/0 | {
"file_path": "photobooth/test/share/widgets/share_progress_overlay_test.dart",
"repo_id": "photobooth",
"token_count": 1121
} | 1,096 |
{
"version": "0.2",
"enabled": true,
"language": "en",
"words": [
"animatronic",
"argb",
"audioplayers",
"backbox",
"bezier",
"contador",
"cupertino",
"dashbook",
"deserialization",
"dpad",
"endtemplate",
"fi... | pinball/.vscode/cspell.json/0 | {
"file_path": "pinball/.vscode/cspell.json",
"repo_id": "pinball",
"token_count": 576
} | 1,097 |
import 'package:flame/components.dart';
import 'package:pinball_flame/pinball_flame.dart';
class AnimatronicLoopingBehavior extends TimerComponent
with ParentIsA<SpriteAnimationComponent> {
AnimatronicLoopingBehavior({
required double animationCoolDown,
}) : super(period: animationCoolDown);
@override
... | pinball/lib/game/behaviors/animatronic_looping_behavior.dart/0 | {
"file_path": "pinball/lib/game/behaviors/animatronic_looping_behavior.dart",
"repo_id": "pinball",
"token_count": 224
} | 1,098 |
import 'package:flame/components.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:pinball/game/game.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_flame/pinball_flame.dart';
/// Adds a [GameBonus.androidSpaceship] when [AndroidSpaceship] has a bonus.
clas... | pinball/lib/game/components/android_acres/behaviors/android_spaceship_bonus_behavior.dart/0 | {
"file_path": "pinball/lib/game/components/android_acres/behaviors/android_spaceship_bonus_behavior.dart",
"repo_id": "pinball",
"token_count": 356
} | 1,099 |
// cSpell:ignore sublist
import 'package:flame/components.dart';
import 'package:flame/effects.dart';
import 'package:flutter/material.dart';
import 'package:leaderboard_repository/leaderboard_repository.dart';
import 'package:pinball/l10n/l10n.dart';
import 'package:pinball/leaderboard/models/leader_board_entry.dart';... | pinball/lib/game/components/backbox/displays/leaderboard_display.dart/0 | {
"file_path": "pinball/lib/game/components/backbox/displays/leaderboard_display.dart",
"repo_id": "pinball",
"token_count": 3407
} | 1,100 |
export 'google_word_bonus_behavior.dart';
| pinball/lib/game/components/google_gallery/behaviors/behaviors.dart/0 | {
"file_path": "pinball/lib/game/components/google_gallery/behaviors/behaviors.dart",
"repo_id": "pinball",
"token_count": 15
} | 1,101 |
import 'package:flame/game.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:leaderboard_repository/leaderboard_repository.dart';
import 'package:pinball/assets_manager/assets_manager.dart';
import 'package:pinball/g... | pinball/lib/game/view/pinball_game_page.dart/0 | {
"file_path": "pinball/lib/game/view/pinball_game_page.dart",
"repo_id": "pinball",
"token_count": 2674
} | 1,102 |
{
"@@locale": "en",
"play": "Play",
"@play": {
"description": "Text displayed on the landing page play button"
},
"howToPlay": "How to Play",
"@howToPlay": {
"description": "Text displayed on the landing page how to play button"
},
"tipsForFlips": "Tips for flips",
"@tipsForFlips": {
"desc... | pinball/lib/l10n/arb/app_en.arb/0 | {
"file_path": "pinball/lib/l10n/arb/app_en.arb",
"repo_id": "pinball",
"token_count": 2344
} | 1,103 |
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:pinball/game/game.dart';
import 'package:pinball/how_to_play/how_to_play.dart';
import 'package:pinball/select_character/select_character.dart';
import 'package:pinball/start_game/start_game.dart';
import 'package:p... | pinball/lib/start_game/widgets/start_game_listener.dart/0 | {
"file_path": "pinball/lib/start_game/widgets/start_game_listener.dart",
"repo_id": "pinball",
"token_count": 1003
} | 1,104 |
# leaderboard_repository
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![License: MIT][license_badge]][license_link]
Repository to access leaderboard data in Firebase Cloud Firestore.
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opens... | pinball/packages/leaderboard_repository/README.md/0 | {
"file_path": "pinball/packages/leaderboard_repository/README.md",
"repo_id": "pinball",
"token_count": 176
} | 1,105 |
import 'dart:math';
import 'package:audioplayers/audioplayers.dart';
import 'package:clock/clock.dart';
import 'package:flame_audio/audio_pool.dart';
import 'package:flame_audio/flame_audio.dart';
import 'package:flutter/material.dart';
import 'package:pinball_audio/gen/assets.gen.dart';
/// Sounds available to play.... | pinball/packages/pinball_audio/lib/src/pinball_audio.dart/0 | {
"file_path": "pinball/packages/pinball_audio/lib/src/pinball_audio.dart",
"repo_id": "pinball",
"token_count": 3621
} | 1,106 |
import 'package:flame/components.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flutter/material.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_components/src/components/android_animatronic/behaviors/behaviors.dart';
import 'package:pinball_flame/p... | pinball/packages/pinball_components/lib/src/components/android_animatronic/android_animatronic.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/android_animatronic/android_animatronic.dart",
"repo_id": "pinball",
"token_count": 889
} | 1,107 |
import 'dart:async';
import 'package:flame/components.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flutter/material.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_flame/pinball_flame.dart';
import 'pa... | pinball/packages/pinball_components/lib/src/components/ball/ball.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/ball/ball.dart",
"repo_id": "pinball",
"token_count": 1315
} | 1,108 |
import 'package:flame/components.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_flame/pinball_flame.dart';
/// {@template chrome_dino_chomping_behavior}
/// Chomps a [Ball] after it has entered the [ChromeDino]'s mouth.
///... | pinball/packages/pinball_components/lib/src/components/chrome_dino/behaviors/chrome_dino_chomping_behavior.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/chrome_dino/behaviors/chrome_dino_chomping_behavior.dart",
"repo_id": "pinball",
"token_count": 250
} | 1,109 |
export 'flapper_spinning_behavior.dart';
| pinball/packages/pinball_components/lib/src/components/flapper/behaviors/behaviors.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/flapper/behaviors/behaviors.dart",
"repo_id": "pinball",
"token_count": 14
} | 1,110 |
import 'package:flame/components.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:pinball_components/pinball_components.dart';
class GoogleWordAnimatingBehavior extends TimerComponent
with FlameBlocReader<GoogleWordCubit, GoogleWordState> {
GoogleWordAnimatingBehavior() : super(period: 0.35, r... | pinball/packages/pinball_components/lib/src/components/google_word/behaviors/google_word_animating_behavior.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/google_word/behaviors/google_word_animating_behavior.dart",
"repo_id": "pinball",
"token_count": 236
} | 1,111 |
export 'multiball_blinking_behavior.dart';
| pinball/packages/pinball_components/lib/src/components/multiball/behaviors/behaviors.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/multiball/behaviors/behaviors.dart",
"repo_id": "pinball",
"token_count": 15
} | 1,112 |
import 'package:flame/components.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flutter/material.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_flame/pinball_flame.dart';
export 'behaviors/behaviors.dar... | pinball/packages/pinball_components/lib/src/components/plunger/plunger.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/plunger/plunger.dart",
"repo_id": "pinball",
"token_count": 1678
} | 1,113 |
export 'ramp_ball_ascending_contact_behavior.dart';
| pinball/packages/pinball_components/lib/src/components/spaceship_ramp/behavior/behavior.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/spaceship_ramp/behavior/behavior.dart",
"repo_id": "pinball",
"token_count": 18
} | 1,114 |
// ignore_for_file: avoid_renaming_method_parameters
import 'package:flame/components.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flutter/material.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_components/src/components/sparky_computer/behavior... | pinball/packages/pinball_components/lib/src/components/sparky_computer/sparky_computer.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/sparky_computer/sparky_computer.dart",
"repo_id": "pinball",
"token_count": 1676
} | 1,115 |
import 'package:dashbook/dashbook.dart';
import 'package:flutter/material.dart';
import 'package:sandbox/stories/stories.dart';
void main() {
final dashbook = Dashbook(theme: ThemeData.dark());
addBallStories(dashbook);
addLayerStories(dashbook);
addEffectsStories(dashbook);
addErrorComponentStories(dashboo... | pinball/packages/pinball_components/sandbox/lib/main.dart/0 | {
"file_path": "pinball/packages/pinball_components/sandbox/lib/main.dart",
"repo_id": "pinball",
"token_count": 270
} | 1,116 |
import 'package:flame/extensions.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:sandbox/stories/ball/basic_ball_game.dart';
class KickerGame extends BallGame {
KickerGame()
: super(
imagesFileNames: [
Assets.images.kicker.left.lit.keyName,
... | pinball/packages/pinball_components/sandbox/lib/stories/bottom_group/kicker_game.dart/0 | {
"file_path": "pinball/packages/pinball_components/sandbox/lib/stories/bottom_group/kicker_game.dart",
"repo_id": "pinball",
"token_count": 461
} | 1,117 |
import 'package:dashbook/dashbook.dart';
import 'package:sandbox/common/common.dart';
import 'package:sandbox/stories/flutter_forest/dash_bumper_a_game.dart';
import 'package:sandbox/stories/flutter_forest/dash_bumper_b_game.dart';
import 'package:sandbox/stories/flutter_forest/dash_bumper_main_game.dart';
import 'pack... | pinball/packages/pinball_components/sandbox/lib/stories/flutter_forest/stories.dart/0 | {
"file_path": "pinball/packages/pinball_components/sandbox/lib/stories/flutter_forest/stories.dart",
"repo_id": "pinball",
"token_count": 401
} | 1,118 |
import 'dart:async';
import 'package:flame/input.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:sandbox/stories/ball/basic_ball_game.dart';
class SparkyComputerGame extends BallGame {
static const description = '''
Shows how the SparkyComputer is rendered.
- Activate th... | pinball/packages/pinball_components/sandbox/lib/stories/sparky_scorch/sparky_computer_game.dart/0 | {
"file_path": "pinball/packages/pinball_components/sandbox/lib/stories/sparky_scorch/sparky_computer_game.dart",
"repo_id": "pinball",
"token_count": 290
} | 1,119 |
// ignore_for_file: cascade_invocations
import 'package:bloc_test/bloc_test.dart';
import 'package:flame/components.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball_components/pinball_components.dart';
... | pinball/packages/pinball_components/test/src/components/android_bumper/android_bumper_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/android_bumper/android_bumper_test.dart",
"repo_id": "pinball",
"token_count": 1986
} | 1,120 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_theme/pinball_theme.dart';
void main() {
group('BallState', () {
test('supports value equality', () {
expect(
BallStat... | pinball/packages/pinball_components/test/src/components/ball/cubit/ball_state_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/ball/cubit/ball_state_test.dart",
"repo_id": "pinball",
"token_count": 226
} | 1,121 |
// ignore_for_file: cascade_invocations
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_theme/pinball_theme.dart' as theme;
import '../.... | pinball/packages/pinball_components/test/src/components/flipper/flipper_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/flipper/flipper_test.dart",
"repo_id": "pinball",
"token_count": 1692
} | 1,122 |
// ignore_for_file: cascade_invocations
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_components/src/components/layer_sensor/behaviors/b... | pinball/packages/pinball_components/test/src/components/layer_sensor/layer_sensor_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/layer_sensor/layer_sensor_test.dart",
"repo_id": "pinball",
"token_count": 1713
} | 1,123 |
// ignore_for_file: cascade_invocations
import 'package:flame/components.dart';
import 'package:flame/effects.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_components/src/componen... | pinball/packages/pinball_components/test/src/components/score_component/behaviors/score_component_scaling_behavior_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/score_component/behaviors/score_component_scaling_behavior_test.dart",
"repo_id": "pinball",
"token_count": 936
} | 1,124 |
// ignore_for_file: cascade_invocations
import 'package:bloc_test/bloc_test.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball_components/pinball_compone... | pinball/packages/pinball_components/test/src/components/sparky_bumper/behaviors/sparky_bumper_ball_contact_behavior_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/sparky_bumper/behaviors/sparky_bumper_ball_contact_behavior_test.dart",
"repo_id": "pinball",
"token_count": 694
} | 1,125 |
export 'canvas_component.dart';
export 'z_canvas_component.dart';
| pinball/packages/pinball_flame/lib/src/canvas/canvas.dart/0 | {
"file_path": "pinball/packages/pinball_flame/lib/src/canvas/canvas.dart",
"repo_id": "pinball",
"token_count": 24
} | 1,126 |
// ignore_for_file: cascade_invocations
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball_flame/pinball_flame.dart';
class _TestBodyComponent extends BodyComp... | pinball/packages/pinball_flame/test/src/behaviors/contact_behavior_test.dart/0 | {
"file_path": "pinball/packages/pinball_flame/test/src/behaviors/contact_behavior_test.dart",
"repo_id": "pinball",
"token_count": 3380
} | 1,127 |
import 'package:flame/components.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball_flame/pinball_flame.dart';
class _MockSpriteAnimationController extends Mock
implements SpriteAnimationController {}
class _MockSpriteAnimation extends Mock imp... | pinball/packages/pinball_flame/test/src/sprite_animation_test.dart/0 | {
"file_path": "pinball/packages/pinball_flame/test/src/sprite_animation_test.dart",
"repo_id": "pinball",
"token_count": 757
} | 1,128 |
import 'package:pinball_theme/pinball_theme.dart';
/// {@template dino_theme}
/// Defines Dino character theme assets and attributes.
/// {@endtemplate}
class DinoTheme extends CharacterTheme {
/// {@macro dino_theme}
const DinoTheme();
@override
String get name => 'Dino';
@override
AssetGenImage get bal... | pinball/packages/pinball_theme/lib/src/themes/dino_theme.dart/0 | {
"file_path": "pinball/packages/pinball_theme/lib/src/themes/dino_theme.dart",
"repo_id": "pinball",
"token_count": 205
} | 1,129 |
import 'dart:async';
import 'package:flutter/material.dart';
/// {@template animated_ellipsis_text}
/// Every 500 milliseconds, it will add a new `.` at the end of the given
/// [text]. Once 3 `.` have been added (e.g. `Loading...`), it will reset to
/// zero ellipsis and start over again.
/// {@endtemplate}
class An... | pinball/packages/pinball_ui/lib/src/widgets/animated_ellipsis_text.dart/0 | {
"file_path": "pinball/packages/pinball_ui/lib/src/widgets/animated_ellipsis_text.dart",
"repo_id": "pinball",
"token_count": 535
} | 1,130 |
// ignore_for_file: one_member_abstracts
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball_ui/gen/gen.dart';
import 'package:pinball_ui/pinball_ui.dart';
extension _WidgetTesterX on WidgetTester {
Future<void> pu... | pinball/packages/pinball_ui/test/src/widgets/pinball_dpad_button_test.dart/0 | {
"file_path": "pinball/packages/pinball_ui/test/src/widgets/pinball_dpad_button_test.dart",
"repo_id": "pinball",
"token_count": 1318
} | 1,131 |
name: share_repository
description: Repository to facilitate sharing scores.
version: 1.0.0+1
publish_to: none
environment:
sdk: ">=2.16.0 <3.0.0"
dev_dependencies:
coverage: ^1.1.0
mocktail: ^0.2.0
test: ^1.19.2
very_good_analysis: ^2.4.0
| pinball/packages/share_repository/pubspec.yaml/0 | {
"file_path": "pinball/packages/share_repository/pubspec.yaml",
"repo_id": "pinball",
"token_count": 111
} | 1,132 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter_test/flutter_test.dart';
import 'package:leaderboard_repository/leaderboard_repository.dart';
import 'package:pinball/game/components/backbox/bloc/backbox_bloc.dart';
import 'package:pinball_theme/pinball_theme.dart';
void main() {
group('Backbox... | pinball/test/game/components/backbox/bloc/backbox_state_test.dart/0 | {
"file_path": "pinball/test/game/components/backbox/bloc/backbox_state_test.dart",
"repo_id": "pinball",
"token_count": 2847
} | 1,133 |
// ignore_for_file: cascade_invocations
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package... | pinball/test/game/components/game_bloc_status_listener_test.dart/0 | {
"file_path": "pinball/test/game/components/game_bloc_status_listener_test.dart",
"repo_id": "pinball",
"token_count": 8094
} | 1,134 |
// ignore_for_file: one_member_abstracts
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball/game/game.dart';
import 'package:pinball_ui/pinball_ui.dart';
extension _WidgetTesterX on WidgetTester {
Future<void> pum... | pinball/test/game/view/widgets/mobile_dpad_test.dart/0 | {
"file_path": "pinball/test/game/view/widgets/mobile_dpad_test.dart",
"repo_id": "pinball",
"token_count": 1320
} | 1,135 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball/start_game/bloc/start_game_bloc.dart';
void main() {
group('StartGameState', () {
final testState = StartGameState(
status: StartGameStatus.selectCharacter,
);
test('initial stat... | pinball/test/start_game/bloc/start_game_state_test.dart/0 | {
"file_path": "pinball/test/start_game/bloc/start_game_state_test.dart",
"repo_id": "pinball",
"token_count": 789
} | 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.
package io.flutter.plugins.camera.features;
/** Represents a point on an x/y axis. */
public class Point {
public final Double x;
public final Double ... | plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/Point.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/Point.java",
"repo_id": "plugins",
"token_count": 126
} | 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.
package io.flutter.plugins.camera.features.sensororientation;
import android.app.Activity;
import android.hardware.camera2.CameraMetadata;
import android.... | plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/sensororientation/SensorOrientationFeature.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/sensororientation/SensorOrientationFeature.java",
"repo_id": "plugins",
"token_count": 1006
} | 1,138 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockit... | plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/CameraRegionUtils_getCameraBoundariesTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/CameraRegionUtils_getCameraBoundariesTest.java",
"repo_id": "plugins",
"token_count": 3912
} | 1,139 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera.features.fpsrange;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static... | plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/fpsrange/FpsRangeFeatureTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/fpsrange/FpsRangeFeatureTest.java",
"repo_id": "plugins",
"token_count": 1192
} | 1,140 |
# camera_android_camerax
An implementation of the camera plugin on Android using CameraX.
| plugins/packages/camera/camera_android_camerax/README.md/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/README.md",
"repo_id": "plugins",
"token_count": 23
} | 1,141 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import android.graphics.SurfaceTexture;
import android.util.Size;
import android.view.Surface;
import androidx.annotat... | plugins/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java",
"repo_id": "plugins",
"token_count": 2177
} | 1,142 |
buildscript {
ext.kotlin_version = '1.8.0'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
goo... | plugins/packages/camera/camera_android_camerax/example/android/build.gradle/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/example/android/build.gradle",
"repo_id": "plugins",
"token_count": 258
} | 1,143 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart' show BinaryMessenger;
import 'android_camera_camerax_flutter_api_impls.dart';
import 'camerax_library.g.dart';
impo... | plugins/packages/camera/camera_android_camerax/lib/src/camera_info.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/lib/src/camera_info.dart",
"repo_id": "plugins",
"token_count": 912
} | 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 'package:camera_android_camerax/src/camera_info.dart';
import 'package:camera_android_camerax/src/camera_selector.dart';
import 'package:camera_andr... | plugins/packages/camera/camera_android_camerax/test/camera_selector_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/test/camera_selector_test.dart",
"repo_id": "plugins",
"token_count": 1573
} | 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 camera_avfoundation;
@import camera_avfoundation.Test;
@import AVFoundation;
@import XCTest;
#import <OCMock/OCMock.h>
#import "CameraTestUtils.h"
... | plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/FLTCamSampleBufferTests.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/FLTCamSampleBufferTests.m",
"repo_id": "plugins",
"token_count": 518
} | 1,146 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "FLTThreadSafeEventChannel.h"
#import "QueueUtils.h"
@interface FLTThreadSafeEventChannel ()
@property(nonatomic, strong) FlutterEventChannel *cha... | plugins/packages/camera/camera_avfoundation/ios/Classes/FLTThreadSafeEventChannel.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/ios/Classes/FLTThreadSafeEventChannel.m",
"repo_id": "plugins",
"token_count": 351
} | 1,147 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(a14n): remove this import once Flutter 3.1 or later reaches stable (including flutter/flutter#104231)
// ignore: unnecessary_import
import 'dart:ty... | plugins/packages/camera/camera_platform_interface/lib/src/types/camera_image_data.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/lib/src/types/camera_image_data.dart",
"repo_id": "plugins",
"token_count": 1102
} | 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 'package:camera_platform_interface/camera_platform_interface.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('construc... | plugins/packages/camera/camera_platform_interface/test/types/camera_exception_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/test/types/camera_exception_test.dart",
"repo_id": "plugins",
"token_count": 280
} | 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:camera_web/src/types/types.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';... | plugins/packages/camera/camera_web/example/integration_test/camera_options_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/example/integration_test/camera_options_test.dart",
"repo_id": "plugins",
"token_count": 2942
} | 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:html' as html;
import 'dart:math';
import 'package:camera_platform_interface/camera_platform_interface.dart';
import 'pa... | plugins/packages/camera/camera_web/lib/src/camera_web.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/lib/src/camera_web.dart",
"repo_id": "plugins",
"token_count": 8818
} | 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:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
/// A mock [MethodChannel] implementation for use in tests.
class... | plugins/packages/camera/camera_windows/test/utils/method_channel_mock.dart/0 | {
"file_path": "plugins/packages/camera/camera_windows/test/utils/method_channel_mock.dart",
"repo_id": "plugins",
"token_count": 573
} | 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.
// This file exists solely to host compiled excerpts for README.md, and is not
// intended for use as an actual example application.
// ignore_for_file: p... | plugins/packages/file_selector/file_selector/example/lib/readme_standalone_excerpts.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector/example/lib/readme_standalone_excerpts.dart",
"repo_id": "plugins",
"token_count": 664
} | 1,153 |
## NEXT
* Updates example code for `use_build_context_synchronously` lint.
* Updates minimum Flutter version to 3.0.
## 0.5.0+2
* Changes XTypeGroup initialization from final to const.
* Updates minimum Flutter version to 2.10.
## 0.5.0+1
* Updates README for endorsement.
## 0.5.0
* Initial iOS implementation of... | plugins/packages/file_selector/file_selector_ios/CHANGELOG.md/0 | {
"file_path": "plugins/packages/file_selector/file_selector_ios/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 111
} | 1,154 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v3.2.5), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_co... | plugins/packages/file_selector/file_selector_ios/lib/src/messages.g.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_ios/lib/src/messages.g.dart",
"repo_id": "plugins",
"token_count": 1262
} | 1,155 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'package:flutter/material.dart';
/// Screen that allows th... | plugins/packages/file_selector/file_selector_linux/example/lib/get_multiple_directories_page.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_linux/example/lib/get_multiple_directories_page.dart",
"repo_id": "plugins",
"token_count": 1080
} | 1,156 |
// Copyright 2013 The Flutter 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps... | plugins/packages/google_maps_flutter/google_maps_flutter/test/google_map_test.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter/test/google_map_test.dart",
"repo_id": "plugins",
"token_count": 6973
} | 1,157 |
# google\_maps\_flutter\_ios
The iOS implementation of [`google_maps_flutter`][1].
## Usage
This package is [endorsed][2], which means you can simply use
`google_maps_flutter` normally. This package will be automatically included in
your app when you do.
[1]: https://pub.dev/packages/google_maps_flutter
[2]: https:... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/README.md/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/README.md",
"repo_id": "plugins",
"token_count": 132
} | 1,158 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "PartiallyMockedMapView.h"
@interface PartiallyMockedMapView ()
@property(nonatomic, assign) NSInteger frameObserverCount;
@end
@implementation... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerTests/PartiallyMockedMapView.m/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerTests/PartiallyMockedMapView.m",
"repo_id": "plugins",
"token_count": 310
} | 1,159 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart' show immutable;
/// Joint types for [Polyline].
@immutable
class JointType {
const JointType._(this.value);
... | plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/joint_type.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/joint_type.dart",
"repo_id": "plugins",
"token_count": 255
} | 1,160 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:integration_test/integration_test.dar... | plugins/packages/google_sign_in/google_sign_in/example/integration_test/google_sign_in_test.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in/example/integration_test/google_sign_in_test.dart",
"repo_id": "plugins",
"token_count": 174
} | 1,161 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
... | plugins/packages/google_sign_in/google_sign_in/test/widgets_test.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in/test/widgets_test.dart",
"repo_id": "plugins",
"token_count": 1283
} | 1,162 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import Flutter;
@import XCTest;
@import google_sign_in_ios;
@import google_sign_in_ios.Test;
@import GoogleSignIn;
// OCMock library doesn't generate a ... | plugins/packages/google_sign_in/google_sign_in_ios/example/ios/RunnerTests/GoogleSignInTests.m/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_ios/example/ios/RunnerTests/GoogleSignInTests.m",
"repo_id": "plugins",
"token_count": 16782
} | 1,163 |
name: google_sign_in_ios
description: iOS implementation of the google_sign_in plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22
version: 5.5.1
env... | plugins/packages/google_sign_in/google_sign_in_ios/pubspec.yaml/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_ios/pubspec.yaml",
"repo_id": "plugins",
"token_count": 383
} | 1,164 |
# google\_sign\_in\_web
The web implementation of [google_sign_in](https://pub.dev/packages/google_sign_in)
## Migrating to v0.11 (Google Identity Services)
The `google_sign_in_web` plugin is backed by the new Google Identity Services
(GIS) JS SDK since version 0.11.0.
The GIS SDK is used both for [Authentication](... | plugins/packages/google_sign_in/google_sign_in_web/README.md/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_web/README.md",
"repo_id": "plugins",
"token_count": 2482
} | 1,165 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:image_picker/image_picker.dart';
import 'package:i... | plugins/packages/image_picker/image_picker/test/image_picker_test.dart/0 | {
"file_path": "plugins/packages/image_picker/image_picker/test/image_picker_test.dart",
"repo_id": "plugins",
"token_count": 11434
} | 1,166 |
// Copyright 2013 The Flutter 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.imagepicker;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.util.Log;
import androidx.an... | plugins/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImageResizer.java/0 | {
"file_path": "plugins/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImageResizer.java",
"repo_id": "plugins",
"token_count": 1785
} | 1,167 |
// Copyright 2013 The Flutter 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/image_picker/image_picker_ios/pigeons/messages.dart/0 | {
"file_path": "plugins/packages/image_picker/image_picker_ios/pigeons/messages.dart",
"repo_id": "plugins",
"token_count": 503
} | 1,168 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.