text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
import 'package:flame/components.dart';
import 'package:flutter/material.dart';
import 'package:pinball/game/game.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_ui/pinball_ui.dart';
final _bodyTextPaint = TextPaint(
style: const TextStyle(
fontSize: 3,
color: Pinb... | pinball/lib/game/components/backbox/displays/initials_submission_success_display.dart/0 | {
"file_path": "pinball/lib/game/components/backbox/displays/initials_submission_success_display.dart",
"repo_id": "pinball",
"token_count": 269
} | 1,150 |
import 'package:flame/components.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:pinball/game/game.dart';
import 'package:pinball/select_character/select_character.dart';
import 'package:pinball_audio/pinball_audio.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:p... | pinball/lib/game/components/game_bloc_status_listener.dart/0 | {
"file_path": "pinball/lib/game/components/game_bloc_status_listener.dart",
"repo_id": "pinball",
"token_count": 1592
} | 1,151 |
import 'dart:async';
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame/input.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:leaderboard_repository/leaderboard_repository.da... | pinball/lib/game/pinball_game.dart/0 | {
"file_path": "pinball/lib/game/pinball_game.dart",
"repo_id": "pinball",
"token_count": 4356
} | 1,152 |
export 'how_to_play_dialog.dart';
| pinball/lib/how_to_play/widgets/widgets.dart/0 | {
"file_path": "pinball/lib/how_to_play/widgets/widgets.dart",
"repo_id": "pinball",
"token_count": 15
} | 1,153 |
export 'bloc/start_game_bloc.dart';
export 'widgets/start_game_listener.dart';
| pinball/lib/start_game/start_game.dart/0 | {
"file_path": "pinball/lib/start_game/start_game.dart",
"repo_id": "pinball",
"token_count": 32
} | 1,154 |
library pinball_audio;
export 'src/pinball_audio.dart';
| pinball/packages/pinball_audio/lib/pinball_audio.dart/0 | {
"file_path": "pinball/packages/pinball_audio/lib/pinball_audio.dart",
"repo_id": "pinball",
"token_count": 21
} | 1,155 |
library pinball_components;
export 'gen/gen.dart';
export 'src/pinball_components.dart';
| pinball/packages/pinball_components/lib/pinball_components.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/pinball_components.dart",
"repo_id": "pinball",
"token_count": 33
} | 1,156 |
import 'package:flame/components.dart';
import 'package:flame/input.dart';
import 'package:flutter/material.dart';
import 'package:pinball_components/pinball_components.dart';
/// enum with the available directions for an [ArrowIcon].
enum ArrowIconDirection {
/// Left.
left,
/// Right.
right,
}
/// {@templa... | pinball/packages/pinball_components/lib/src/components/arrow_icon.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/arrow_icon.dart",
"repo_id": "pinball",
"token_count": 414
} | 1,157 |
export 'chrome_dino_chomping_behavior.dart';
export 'chrome_dino_mouth_opening_behavior.dart';
export 'chrome_dino_spitting_behavior.dart';
export 'chrome_dino_swiveling_behavior.dart';
| pinball/packages/pinball_components/lib/src/components/chrome_dino/behaviors/behaviors.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/chrome_dino/behaviors/behaviors.dart",
"repo_id": "pinball",
"token_count": 67
} | 1,158 |
import 'package:flame/components.dart';
import 'package:flutter/material.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_ui/pinball_ui.dart';
final _boldLabelTextPaint = TextPaint(
style: const TextStyle(
fontSize: 1.8,
color: PinballColors.white,
fontFamily: P... | pinball/packages/pinball_components/lib/src/components/error_component.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/error_component.dart",
"repo_id": "pinball",
"token_count": 1012
} | 1,159 |
export 'google_word_animating_behavior.dart';
| pinball/packages/pinball_components/lib/src/components/google_word/behaviors/behaviors.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/google_word/behaviors/behaviors.dart",
"repo_id": "pinball",
"token_count": 15
} | 1,160 |
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_components/src/components/layer_sensor/behaviors/layer_filtering_behavior.dart';
import 'package:pinball_flame/pinball_flame.dart';
/// {@template layer_entrance_orientation}
/// Dete... | pinball/packages/pinball_components/lib/src/components/layer_sensor/layer_sensor.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/layer_sensor/layer_sensor.dart",
"repo_id": "pinball",
"token_count": 606
} | 1,161 |
part of 'plunger_cubit.dart';
enum PlungerState {
pulling,
releasing,
autoPulling,
}
extension PlungerStateX on PlungerState {
bool get isPulling =>
this == PlungerState.pulling || this == PlungerState.autoPulling;
bool get isReleasing => this == PlungerState.releasing;
bool get isAutoPulling => t... | pinball/packages/pinball_components/lib/src/components/plunger/cubit/plunger_state.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/plunger/cubit/plunger_state.dart",
"repo_id": "pinball",
"token_count": 129
} | 1,162 |
import 'dart:math' as math;
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 spaceship_rail}
/// Rail exiting the [AndroidSpaceship].
/// {@endtempla... | pinball/packages/pinball_components/lib/src/components/spaceship_rail.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/spaceship_rail.dart",
"repo_id": "pinball",
"token_count": 1826
} | 1,163 |
part of 'sparky_computer_cubit.dart';
enum SparkyComputerState {
withoutBall,
withBall,
}
| pinball/packages/pinball_components/lib/src/components/sparky_computer/cubit/sparky_computer_state.dart/0 | {
"file_path": "pinball/packages/pinball_components/lib/src/components/sparky_computer/cubit/sparky_computer_state.dart",
"repo_id": "pinball",
"token_count": 37
} | 1,164 |
import 'dart:async';
import 'package:flame/components.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flutter/material.dart';
import 'package:pinball_components/pinball_components.dart';
extension BodyTrace on BodyComponent {
void trace({Color color = const Color(0xFFFF0000)}) {
paint ... | pinball/packages/pinball_components/sandbox/lib/common/trace.dart/0 | {
"file_path": "pinball/packages/pinball_components/sandbox/lib/common/trace.dart",
"repo_id": "pinball",
"token_count": 451
} | 1,165 |
import 'package:flame/input.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:sandbox/stories/ball/basic_ball_game.dart';
class FlipperGame extends BallGame with KeyboardEvents {
FlipperGame()
: super(
imagesFileNames: [
Assets.images.flipper.left.keyNam... | pinball/packages/pinball_components/sandbox/lib/stories/bottom_group/flipper_game.dart/0 | {
"file_path": "pinball/packages/pinball_components/sandbox/lib/stories/bottom_group/flipper_game.dart",
"repo_id": "pinball",
"token_count": 456
} | 1,166 |
import 'dart:async';
import 'package:flame/input.dart';
import 'package:flame_bloc/flame_bloc.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:sandbox/stories/ball/basic_ball_game.dart';
class SignpostGame extends BallGame {
SignpostGame()
: super(
imagesFileNames:... | pinball/packages/pinball_components/sandbox/lib/stories/flutter_forest/signpost_game.dart/0 | {
"file_path": "pinball/packages/pinball_components/sandbox/lib/stories/flutter_forest/signpost_game.dart",
"repo_id": "pinball",
"token_count": 610
} | 1,167 |
import 'dart:async';
import 'package:flame/extensions.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:sandbox/stories/ball/basic_ball_game.dart';
class SparkyBumperGame extends BallGame {
static const description = '''
Shows how a SparkyBumper is rendered.
- Activate the... | pinball/packages/pinball_components/sandbox/lib/stories/sparky_scorch/sparky_bumper_game.dart/0 | {
"file_path": "pinball/packages/pinball_components/sandbox/lib/stories/sparky_scorch/sparky_bumper_game.dart",
"repo_id": "pinball",
"token_count": 572
} | 1,168 |
// ignore_for_file: cascade_invocations
import 'package:flame/components.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/android_animatronic/behaviors/beha... | pinball/packages/pinball_components/test/src/components/android_animatronic_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/android_animatronic_test.dart",
"repo_id": "pinball",
"token_count": 1130
} | 1,169 |
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_theme/pinball_theme.dart';
void main() {
group(
'BallCubit',
() {
blocTest<BallCubit, BallState>(
'onCharacterSelected... | pinball/packages/pinball_components/test/src/components/ball/cubit/ball_cubit_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/ball/cubit/ball_cubit_test.dart",
"repo_id": "pinball",
"token_count": 216
} | 1,170 |
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_components/pinball_components.dart';
void main() {
group('FlipperCubit', () {
test('can be instantiated', () {
expect(FlipperCubit(), isA<FlipperCubit>());
});
blocTest<FlipperCubit,... | pinball/packages/pinball_components/test/src/components/flipper/cubit/flipper_cubit_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/flipper/cubit/flipper_cubit_test.dart",
"repo_id": "pinball",
"token_count": 256
} | 1,171 |
// 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_components/pinball_components.dart';
import 'package:pinball_componen... | pinball/packages/pinball_components/test/src/components/layer_sensor/behavior/layer_filtering_behavior_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/layer_sensor/behavior/layer_filtering_behavior_test.dart",
"repo_id": "pinball",
"token_count": 1811
} | 1,172 |
// ignore_for_file: cascade_invocations
import 'package:flame/components.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_components/pinball_components.dart';
import '../../helpers/helpers.dart';
void main() {
TestWidgetsFlutterBinding.ens... | pinball/packages/pinball_components/test/src/components/rocket_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/rocket_test.dart",
"repo_id": "pinball",
"token_count": 412
} | 1,173 |
// ignore_for_file: cascade_invocations
import 'package:flame/components.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_components/pinball_components.dart';
import '../../helpers/helpers.dart';
void main() {
TestWidgetsFlutterBinding.ens... | pinball/packages/pinball_components/test/src/components/sparky_animatronic_test.dart/0 | {
"file_path": "pinball/packages/pinball_components/test/src/components/sparky_animatronic_test.dart",
"repo_id": "pinball",
"token_count": 882
} | 1,174 |
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:pinball_flame/pinball_flame.dart';
/// {@template layer_contact_behavior}
/// Switches the z-index of any [ZIndex] body that contacts with it.
/// {@endtemplate}
class ZIndexContactBehavior extends ContactBehavior<BodyComponent> {
/// {@macro layer_c... | pinball/packages/pinball_flame/lib/src/behaviors/z_index_contact_behavior.dart/0 | {
"file_path": "pinball/packages/pinball_flame/lib/src/behaviors/z_index_contact_behavior.dart",
"repo_id": "pinball",
"token_count": 277
} | 1,175 |
// ignore_for_file: cascade_invocations
import 'dart:math' as math;
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_flame/pinball_flame.dart';
class _TestLayeredBodyComponent extends BodyComponent ... | pinball/packages/pinball_flame/test/layer_test.dart/0 | {
"file_path": "pinball/packages/pinball_flame/test/layer_test.dart",
"repo_id": "pinball",
"token_count": 2358
} | 1,176 |
import 'dart:math' as math;
import 'package:flame/extensions.dart';
import 'package:flame/game.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_flame/pinball_flame.dart';
void main() {
group('EllipseShape', () {
test('can be instantiated', () {
expect(
EllipseShape(
... | pinball/packages/pinball_flame/test/src/shapes/ellipse_shape_test.dart/0 | {
"file_path": "pinball/packages/pinball_flame/test/src/shapes/ellipse_shape_test.dart",
"repo_id": "pinball",
"token_count": 504
} | 1,177 |
import 'package:pinball_theme/pinball_theme.dart';
/// {@template dash_theme}
/// Defines Dash character theme assets and attributes.
/// {@endtemplate}
class DashTheme extends CharacterTheme {
/// {@macro dash_theme}
const DashTheme();
@override
String get name => 'Dash';
@override
AssetGenImage get bal... | pinball/packages/pinball_theme/lib/src/themes/dash_theme.dart/0 | {
"file_path": "pinball/packages/pinball_theme/lib/src/themes/dash_theme.dart",
"repo_id": "pinball",
"token_count": 197
} | 1,178 |
export 'pinball_colors.dart';
export 'pinball_text_style.dart';
export 'pinball_theme.dart';
| pinball/packages/pinball_ui/lib/src/theme/theme.dart/0 | {
"file_path": "pinball/packages/pinball_ui/lib/src/theme/theme.dart",
"repo_id": "pinball",
"token_count": 36
} | 1,179 |
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball_ui/pinball_ui.dart';
void main() {
group('PinballButton', () {
testWidgets('renders the given text and responds to taps', (tester) async {
var wasTapped = false;
await tester.pumpWidget(
... | pinball/packages/pinball_ui/test/src/widgets/pinball_button_test.dart/0 | {
"file_path": "pinball/packages/pinball_ui/test/src/widgets/pinball_button_test.dart",
"repo_id": "pinball",
"token_count": 361
} | 1,180 |
import 'package:share_repository/share_repository.dart';
/// {@template share_repository}
/// Repository to facilitate sharing scores.
/// {@endtemplate}
class ShareRepository {
/// {@macro share_repository}
const ShareRepository({
required String appUrl,
}) : _appUrl = appUrl;
final String _appUrl;
//... | pinball/packages/share_repository/lib/src/share_repository.dart/0 | {
"file_path": "pinball/packages/share_repository/lib/src/share_repository.dart",
"repo_id": "pinball",
"token_count": 424
} | 1,181 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter_test/flutter_test.dart';
import 'package:pinball/game/components/backbox/bloc/backbox_bloc.dart';
import 'package:pinball_theme/pinball_theme.dart';
void main() {
group('BackboxEvent', () {
group('PlayerInitialsRequested', () {
test('ca... | pinball/test/game/components/backbox/bloc/backbox_event_test.dart/0 | {
"file_path": "pinball/test/game/components/backbox/bloc/backbox_event_test.dart",
"repo_id": "pinball",
"token_count": 2096
} | 1,182 |
// ignore_for_file: cascade_invocations
import 'package:flame_bloc/flame_bloc.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball/game/behaviors/behaviors... | pinball/test/game/components/flutter_forest/flutter_forest_test.dart/0 | {
"file_path": "pinball/test/game/components/flutter_forest/flutter_forest_test.dart",
"repo_id": "pinball",
"token_count": 1563
} | 1,183 |
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import 'package:pinball/game/game.dart';
import 'package:pinball/l10n/l10n.dart';
i... | pinball/test/game/view/widgets/mobile_controls_test.dart/0 | {
"file_path": "pinball/test/game/view/widgets/mobile_controls_test.dart",
"repo_id": "pinball",
"token_count": 1572
} | 1,184 |
// 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('StartGameEvent', () {
test('PlayTapped supports value equality', () {
expect(
PlayTapped(),
equals(PlayTapped()... | pinball/test/start_game/bloc/start_game_event_test.dart/0 | {
"file_path": "pinball/test/start_game/bloc/start_game_event_test.dart",
"repo_id": "pinball",
"token_count": 335
} | 1,185 |
7048ed95a5ad3e43d697e0c397464193991fc230
| plugins/.ci/flutter_stable.version/0 | {
"file_path": "plugins/.ci/flutter_stable.version",
"repo_id": "plugins",
"token_count": 24
} | 1,186 |
rootProject.name = 'camera_android'
| plugins/packages/camera/camera_android/android/settings.gradle/0 | {
"file_path": "plugins/packages/camera/camera_android/android/settings.gradle",
"repo_id": "plugins",
"token_count": 11
} | 1,187 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera.features;
import android.app.Activity;
import io.flutter.plugins.camera.CameraProperties;
import io.flutter.plugins.came... | plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/CameraFeatures.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/CameraFeatures.java",
"repo_id": "plugins",
"token_count": 3004
} | 1,188 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Arg... | plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/CameraRegionUtils_convertPointToMeteringRectangleTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/CameraRegionUtils_convertPointToMeteringRectangleTest.java",
"repo_id": "plugins",
"token_count": 3644
} | 1,189 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera.features.fpsrange;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.mock;
import android.... | plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/fpsrange/FpsRangeFeaturePixel4aTest.java/0 | {
"file_path": "plugins/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/fpsrange/FpsRangeFeaturePixel4aTest.java",
"repo_id": "plugins",
"token_count": 364
} | 1,190 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '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.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/lib/src/camera.dart",
"repo_id": "plugins",
"token_count": 562
} | 1,191 |
// Mocks generated by Mockito 5.3.2 from annotations
// in camera_android_camerax/test/camera_info_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:mockito/mockito.dart' as _i1;
import 'test_camerax_library.g.dart' as _i2;
// ignore_for_fil... | plugins/packages/camera/camera_android_camerax/test/camera_info_test.mocks.dart/0 | {
"file_path": "plugins/packages/camera/camera_android_camerax/test/camera_info_test.mocks.dart",
"repo_id": "plugins",
"token_count": 463
} | 1,192 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'dart:ui';
import 'package:camera_avfoundation/camera_avfoundation.dart';
import 'package:camera_example/cam... | plugins/packages/camera/camera_avfoundation/example/integration_test/camera_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/integration_test/camera_test.dart",
"repo_id": "plugins",
"token_count": 3356
} | 1,193 |
// 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/FLTCamPhotoCaptureTests.m/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/example/ios/RunnerTests/FLTCamPhotoCaptureTests.m",
"repo_id": "plugins",
"token_count": 1391
} | 1,194 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
/**
* A thread safe wrapper for FlutterEventChannel that can be called from any thread, by dispatchi... | plugins/packages/camera/camera_avfoundation/ios/Classes/FLTThreadSafeEventChannel.h/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/ios/Classes/FLTThreadSafeEventChannel.h",
"repo_id": "plugins",
"token_count": 275
} | 1,195 |
name: camera_avfoundation
description: iOS implementation of the camera plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_avfoundation
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.9.11
environment:
sdk: ">=2... | plugins/packages/camera/camera_avfoundation/pubspec.yaml/0 | {
"file_path": "plugins/packages/camera/camera_avfoundation/pubspec.yaml",
"repo_id": "plugins",
"token_count": 293
} | 1,196 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// This is thrown when the plugin reports an error.
class CameraException implements Exception {
/// Creates a new camera exception with the given error... | plugins/packages/camera/camera_platform_interface/lib/src/types/camera_exception.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/lib/src/types/camera_exception.dart",
"repo_id": "plugins",
"token_count": 178
} | 1,197 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:camera_platform_interface/camera_platform_interface.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
TestWidgetsFlu... | plugins/packages/camera/camera_platform_interface/test/types/camera_description_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_platform_interface/test/types/camera_description_test.dart",
"repo_id": "plugins",
"token_count": 1305
} | 1,198 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:html' as html;
// TODO(a14n): remove this import once Flutter 3.1 or later reaches stable (including flutter/flutter#106316)
// ignore: unnece... | plugins/packages/camera/camera_web/lib/src/camera_service.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/lib/src/camera_service.dart",
"repo_id": "plugins",
"token_count": 4574
} | 1,199 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: avoid_print
import 'package:flutter_test/flutter_test.dart';
void main() {
test('Tell the user where to find more tests', () {
... | plugins/packages/camera/camera_web/test/more_tests_exist_elsewhere_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_web/test/more_tests_exist_elsewhere_test.dart",
"repo_id": "plugins",
"token_count": 152
} | 1,200 |
// 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:async/async.dart';
import 'package:camera_platform_interface/camera_platform_interface.dart';
import 'package:camera_windows/camera_windows... | plugins/packages/camera/camera_windows/test/camera_windows_test.dart/0 | {
"file_path": "plugins/packages/camera/camera_windows/test/camera_windows_test.dart",
"repo_id": "plugins",
"token_count": 9710
} | 1,201 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_COMHEAPPTR_H_
#define PACKAGES_CAMERA_CAMERA_WINDOWS_WINDOWS_COMHEAPPTR_H_
#include <windows.h>
#include <... | plugins/packages/camera/camera_windows/windows/com_heap_ptr.h/0 | {
"file_path": "plugins/packages/camera/camera_windows/windows/com_heap_ptr.h",
"repo_id": "plugins",
"token_count": 598
} | 1,202 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file_selector/file_selector.dart';
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';
/// Screen t... | plugins/packages/file_selector/file_selector/example/lib/open_text_page.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector/example/lib/open_text_page.dart",
"repo_id": "plugins",
"token_count": 1182
} | 1,203 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'src/messages.g.dart';
/// An implementation of [FileSele... | plugins/packages/file_selector/file_selector_ios/lib/file_selector_ios.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_ios/lib/file_selector_ios.dart",
"repo_id": "plugins",
"token_count": 811
} | 1,204 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
import 'package:flutter/foundation.dart' show visibleForTesting;
i... | plugins/packages/file_selector/file_selector_linux/lib/file_selector_linux.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_linux/lib/file_selector_linux.dart",
"repo_id": "plugins",
"token_count": 1914
} | 1,205 |
// 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_macos/file_selector_macos.dart';
import 'package:file_selector_macos/src/messages.g.dart';
import 'package:file_selector_plat... | plugins/packages/file_selector/file_selector_macos/test/file_selector_macos_test.dart/0 | {
"file_path": "plugins/packages/file_selector/file_selector_macos/test/file_selector_macos_test.dart",
"repo_id": "plugins",
"token_count": 5296
} | 1,206 |
name: file_selector_web
description: Web platform implementation of file_selector
repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.0+2
environme... | plugins/packages/file_selector/file_selector_web/pubspec.yaml/0 | {
"file_path": "plugins/packages/file_selector/file_selector_web/pubspec.yaml",
"repo_id": "plugins",
"token_count": 297
} | 1,207 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter/goo... | plugins/packages/google_maps_flutter/google_maps_flutter/test/fake_maps_controllers.dart/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter/test/fake_maps_controllers.dart",
"repo_id": "plugins",
"token_count": 6525
} | 1,208 |
// 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 GoogleMaps;
/**
* Defines a map view used for testing key-value observing.
*/
@interface PartiallyMockedMapView : GMSMapView
/**
* The number ... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerTests/PartiallyMockedMapView.h/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerTests/PartiallyMockedMapView.h",
"repo_id": "plugins",
"token_count": 127
} | 1,209 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "GoogleMapCircleController.h"
#import "FLTGoogleMapJSONConversions.h"
@interface FLTGoogleMapCircleController ()
@property(nonatomic, strong) GMS... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapCircleController.m/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapCircleController.m",
"repo_id": "plugins",
"token_count": 2314
} | 1,210 |
name: google_maps_flutter_ios
description: iOS implementation of the google_maps_flutter plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/google_maps_flutter/google_maps_flutter_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: ... | plugins/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml",
"repo_id": "plugins",
"token_count": 324
} | 1,211 |
# google_maps_flutter_web
This is an implementation of the [google_maps_flutter](https://pub.dev/packages/google_maps_flutter) plugin for web. Behind the scenes, it uses a14n's [google_maps](https://pub.dev/packages/google_maps) dart JS interop layer.
## Usage
### Depend on the package
This package is not an endors... | plugins/packages/google_maps_flutter/google_maps_flutter_web/README.md/0 | {
"file_path": "plugins/packages/google_maps_flutter/google_maps_flutter_web/README.md",
"repo_id": "plugins",
"token_count": 631
} | 1,212 |
// Mocks generated by Mockito 5.1.0 from annotations
// in google_sign_in/test/google_sign_in_test.dart.
// Do not manually edit this file.
import 'dart:async' as _i4;
import 'package:google_sign_in_platform_interface/google_sign_in_platform_interface.dart'
as _i3;
import 'package:google_sign_in_platform_interfac... | plugins/packages/google_sign_in/google_sign_in/test/google_sign_in_test.mocks.dart/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in/test/google_sign_in_test.mocks.dart",
"repo_id": "plugins",
"token_count": 1737
} | 1,213 |
org.gradle.jvmargs=-Xmx4G
android.enableR8=true
android.useAndroidX=true
| plugins/packages/google_sign_in/google_sign_in_android/example/android/gradle.properties/0 | {
"file_path": "plugins/packages/google_sign_in/google_sign_in_android/example/android/gradle.properties",
"repo_id": "plugins",
"token_count": 30
} | 1,214 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: deprecated_member_use_from_same_package
// This file preserves the tests for the deprecated methods as they were before
// the migrati... | plugins/packages/image_picker/image_picker/test/image_picker_deprecated_test.dart/0 | {
"file_path": "plugins/packages/image_picker/image_picker/test/image_picker_deprecated_test.dart",
"repo_id": "plugins",
"token_count": 4651
} | 1,215 |
// 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.Manifest;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.con... | plugins/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerUtils.java/0 | {
"file_path": "plugins/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerUtils.java",
"repo_id": "plugins",
"token_count": 516
} | 1,216 |
name: image_picker_for_web_integration_tests
publish_to: none
environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
flutter:
sdk: flutter
image_picker_for_web:
path: ../
image_picker_platform_interface: ^2.2.0
dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
s... | plugins/packages/image_picker/image_picker_for_web/example/pubspec.yaml/0 | {
"file_path": "plugins/packages/image_picker/image_picker_for_web/example/pubspec.yaml",
"repo_id": "plugins",
"token_count": 180
} | 1,217 |
## 0.1.0+4
* Updates example code for `use_build_context_synchronously` lint.
* Updates minimum Flutter version to 3.0.
## 0.1.0+3
* Changes XTypeGroup initialization from final to const.
* Updates minimum Flutter version to 2.10.
## 0.1.0+2
* Minor fixes for new analysis options.
## 0.1.0+1
* Removes unnecessar... | plugins/packages/image_picker/image_picker_windows/CHANGELOG.md/0 | {
"file_path": "plugins/packages/image_picker/image_picker_windows/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 169
} | 1,218 |
name: in_app_purchase
description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissu... | plugins/packages/in_app_purchase/in_app_purchase/pubspec.yaml/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase/pubspec.yaml",
"repo_id": "plugins",
"token_count": 491
} | 1,219 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:json_annotation/json_annotation.dar... | plugins/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_wrapper.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_wrapper.dart",
"repo_id": "plugins",
"token_count": 8119
} | 1,220 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_android/billing_client_wrappers.da... | plugins/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/billing_client_wrapper_test.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/billing_client_wrapper_test.dart",
"repo_id": "plugins",
"token_count": 9811
} | 1,221 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../in_app_purchase_platform_interface.dart';
// ignore: avoid_classes_with_only_static_members
/// The interface that platform implementations mus... | plugins/packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/in_app_purchase_platform_addition.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/in_app_purchase_platform_addition.dart",
"repo_id": "plugins",
"token_count": 718
} | 1,222 |
#include "../../Flutter/Flutter-Debug.xcconfig"
| plugins/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "plugins",
"token_count": 19
} | 1,223 |
// 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 '../../store_kit_wrappers.dart';
/// A wrapper around
/// [`SKPaymentQueueDelegate`](https://developer.apple.com/documentation/storekit/skpaymentqu... | plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_payment_queue_delegate_wrapper.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_wrappers/sk_payment_queue_delegate_wrapper.dart",
"repo_id": "plugins",
"token_count": 561
} | 1,224 |
// 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/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_storekit/in_app... | plugins/packages/in_app_purchase/in_app_purchase_storekit/test/fakes/fake_storekit_platform.dart/0 | {
"file_path": "plugins/packages/in_app_purchase/in_app_purchase_storekit/test/fakes/fake_storekit_platform.dart",
"repo_id": "plugins",
"token_count": 3779
} | 1,225 |
// 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>
/// A plugin for Flutter that allows Flutter to load images in a platform
/// specific way on iOS.
@interface IosPlatformImage... | plugins/packages/ios_platform_images/ios/Classes/IosPlatformImagesPlugin.h/0 | {
"file_path": "plugins/packages/ios_platform_images/ios/Classes/IosPlatformImagesPlugin.h",
"repo_id": "plugins",
"token_count": 98
} | 1,226 |
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<solid android:color="@color/warning_color"/>
<size
android:width="40dp"
android:height="40dp"/>
</shape>
</item>
<item android... | plugins/packages/local_auth/local_auth_android/android/src/main/res/drawable/fingerprint_warning_icon.xml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/android/src/main/res/drawable/fingerprint_warning_icon.xml",
"repo_id": "plugins",
"token_count": 215
} | 1,227 |
name: local_auth_android
description: Android implementation of the local_auth plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 1.0.18
environmen... | plugins/packages/local_auth/local_auth_android/pubspec.yaml/0 | {
"file_path": "plugins/packages/local_auth/local_auth_android/pubspec.yaml",
"repo_id": "plugins",
"token_count": 323
} | 1,228 |
## NEXT
* Updates minimum Flutter version to 3.0.
## 1.0.5
* Switches internal implementation to Pigeon.
## 1.0.4
* Updates imports for `prefer_relative_imports`.
* Updates minimum Flutter version to 2.10.
## 1.0.3
* Fixes avoid_redundant_argument_values lint warnings and minor typos.
## 1.0.2
* Updates `local... | plugins/packages/local_auth/local_auth_windows/CHANGELOG.md/0 | {
"file_path": "plugins/packages/local_auth/local_auth_windows/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 166
} | 1,229 |
// 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_p... | plugins/packages/path_provider/path_provider_android/example/integration_test/path_provider_test.dart/0 | {
"file_path": "plugins/packages/path_provider/path_provider_android/example/integration_test/path_provider_test.dart",
"repo_id": "plugins",
"token_count": 1096
} | 1,230 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| plugins/packages/path_provider/path_provider_foundation/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "plugins/packages/path_provider/path_provider_foundation/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "plugins",
"token_count": 32
} | 1,231 |
# quick\_actions\_android
The Android implementation of [`quick_actions`][1].
## Usage
This package is [endorsed][2], which means you can simply use `quick_actions`
normally. This package will be automatically included in your app when you do.
## Contributing
If you would like to contribute to the plugin, check ou... | plugins/packages/quick_actions/quick_actions_android/README.md/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_android/README.md",
"repo_id": "plugins",
"token_count": 173
} | 1,232 |
name: quick_actions_android
description: An implementation for the Android platform of the Flutter `quick_actions` plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/quick_actions/quick_actions_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A... | plugins/packages/quick_actions/quick_actions_android/pubspec.yaml/0 | {
"file_path": "plugins/packages/quick_actions/quick_actions_android/pubspec.yaml",
"repo_id": "plugins",
"token_count": 327
} | 1,233 |
group 'io.flutter.plugins.sharedpreferences'
version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
... | plugins/packages/shared_preferences/shared_preferences_android/android/build.gradle/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_android/android/build.gradle",
"repo_id": "plugins",
"token_count": 617
} | 1,234 |
name: shared_preferences_foundation
description: iOS and macOS implementation of the shared_preferences plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/shared_preferences/shared_preferences_foundation
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%... | plugins/packages/shared_preferences/shared_preferences_foundation/pubspec.yaml/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_foundation/pubspec.yaml",
"repo_id": "plugins",
"token_count": 365
} | 1,235 |
name: shared_preferences_platform_interface
description: A common platform interface for the shared_preferences plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/shared_preferences/shared_preferences_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aop... | plugins/packages/shared_preferences/shared_preferences_platform_interface/pubspec.yaml/0 | {
"file_path": "plugins/packages/shared_preferences/shared_preferences_platform_interface/pubspec.yaml",
"repo_id": "plugins",
"token_count": 219
} | 1,236 |
// 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:plugin_platform_interface/plugin_platform_interface.dart';
import 'package:url_launcher_pl... | plugins/packages/url_launcher/url_launcher/test/mocks/mock_url_launcher_platform.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher/test/mocks/mock_url_launcher_platform.dart",
"repo_id": "plugins",
"token_count": 1079
} | 1,237 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.urllauncher;
import static org.junit.Assert.assertEquals;
import java.util.Collections;
import org.junit.Test;
public class W... | plugins/packages/url_launcher/url_launcher_android/android/src/test/java/io/flutter/plugins/urllauncher/WebViewActivityTest.java/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_android/android/src/test/java/io/flutter/plugins/urllauncher/WebViewActivityTest.java",
"repo_id": "plugins",
"token_count": 153
} | 1,238 |
name: url_launcher_example
description: Demonstrates how to use the url_launcher plugin.
publish_to: none
environment:
sdk: '>=2.18.0 <3.0.0'
flutter: ">=3.3.0"
dependencies:
flutter:
sdk: flutter
url_launcher_ios:
# When depending on this package from a real application you should use:
# url_la... | plugins/packages/url_launcher/url_launcher_ios/example/pubspec.yaml/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_ios/example/pubspec.yaml",
"repo_id": "plugins",
"token_count": 315
} | 1,239 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <flutter_linux/flutter_linux.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <memory>
#include <string>
#include "include/url_launc... | plugins/packages/url_launcher/url_launcher_linux/linux/test/url_launcher_linux_test.cc/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_linux/linux/test/url_launcher_linux_test.cc",
"repo_id": "plugins",
"token_count": 1520
} | 1,240 |
targets:
$default:
sources:
- integration_test/*.dart
- lib/$lib$
- $package$
| plugins/packages/url_launcher/url_launcher_web/example/build.yaml/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_web/example/build.yaml",
"repo_id": "plugins",
"token_count": 51
} | 1,241 |
// Copyright 2017 Workiva Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | plugins/packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/browser.dart/0 | {
"file_path": "plugins/packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/browser.dart",
"repo_id": "plugins",
"token_count": 361
} | 1,242 |
group 'io.flutter.plugins.videoplayer'
version '1.0-SNAPSHOT'
def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"]
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
}
}
rootProject.allprojects {
... | plugins/packages/video_player/video_player_android/android/build.gradle/0 | {
"file_path": "plugins/packages/video_player/video_player_android/android/build.gradle",
"repo_id": "plugins",
"token_count": 805
} | 1,243 |
## NEXT
* Updates minimum Flutter version to 3.0.
## 2.3.8
* Adds compatibilty with version 6.0 of the platform interface.
* Fixes file URI construction in example.
* Updates code for new analysis options.
* Adds an integration test for a bug where the aspect ratios of some HLS videos are incorrectly inverted.
* Rem... | plugins/packages/video_player/video_player_avfoundation/CHANGELOG.md/0 | {
"file_path": "plugins/packages/video_player/video_player_avfoundation/CHANGELOG.md",
"repo_id": "plugins",
"token_count": 533
} | 1,244 |
# video_player_web
The web implementation of [`video_player`][1].
## Usage
This package is [endorsed](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin),
which means you can simply use `video_player` normally. This package will be
automatically included in your a... | plugins/packages/video_player/video_player_web/README.md/0 | {
"file_path": "plugins/packages/video_player/video_player_web/README.md",
"repo_id": "plugins",
"token_count": 1188
} | 1,245 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:html';
import 'package:flutter/material.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'pa... | plugins/packages/video_player/video_player_web/lib/video_player_web.dart/0 | {
"file_path": "plugins/packages/video_player/video_player_web/lib/video_player_web.dart",
"repo_id": "plugins",
"token_count": 1513
} | 1,246 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/annotations.dart';
import 'package:mockito/mockito.dart';
import 'package:webview_... | plugins/packages/webview_flutter/webview_flutter/test/webview_cookie_manager_test.dart/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter/test/webview_cookie_manager_test.dart",
"repo_id": "plugins",
"token_count": 653
} | 1,247 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.webviewflutter;
import android.os.Build;
import android.webkit.WebChromeClient;
import androidx.annotation.RequiresApi;
import ... | plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/FileChooserParamsFlutterApiImpl.java/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/FileChooserParamsFlutterApiImpl.java",
"repo_id": "plugins",
"token_count": 913
} | 1,248 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.webviewflutter;
import android.annotation.SuppressLint;
import android.os.Build;
import android.webkit.WebResourceError;
import... | plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewClientFlutterApiImpl.java/0 | {
"file_path": "plugins/packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/WebViewClientFlutterApiImpl.java",
"repo_id": "plugins",
"token_count": 2653
} | 1,249 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.