text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_news_example/login/login.dart';
import 'package:flutter_news_example/magic_link_prompt/magic_link_prompt.dart';
class MagicLinkPromptPage extends StatelessWidget {
const MagicLinkPromptPage({required this.email, supe... | news_toolkit/flutter_news_example/lib/magic_link_prompt/view/magic_link_prompt_page.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/magic_link_prompt/view/magic_link_prompt_page.dart",
"repo_id": "news_toolkit",
"token_count": 421
} | 879 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_news_example/l10n/l10n.dart';
/// {@template network_error}
/// A network error alert.
/// {@endtemplate}
class NetworkError extends StatelessWidget {
/// {@macro network_error}
const NetworkError({super.key, this.... | news_toolkit/flutter_news_example/lib/network_error/view/network_error.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/network_error/view/network_error.dart",
"repo_id": "news_toolkit",
"token_count": 1110
} | 880 |
part of 'onboarding_bloc.dart';
abstract class OnboardingState extends Equatable {
const OnboardingState();
@override
List<Object> get props => [];
}
class OnboardingInitial extends OnboardingState {
const OnboardingInitial();
}
class EnablingAdTracking extends OnboardingState {
const EnablingAdTracking()... | news_toolkit/flutter_news_example/lib/onboarding/bloc/onboarding_state.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/onboarding/bloc/onboarding_state.dart",
"repo_id": "news_toolkit",
"token_count": 276
} | 881 |
export 'search_filter_chip.dart';
export 'search_headline_text.dart';
export 'search_text_field.dart';
| news_toolkit/flutter_news_example/lib/search/widgets/widgets.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/search/widgets/widgets.dart",
"repo_id": "news_toolkit",
"token_count": 37
} | 882 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_news_example/app/app.dart';
import 'package:flutter_news_example/l10n/l10n.dart';
import 'package:flutter_news_example/login/login.dart';
import 'package:flutter_news_exa... | news_toolkit/flutter_news_example/lib/subscriptions/widgets/subscription_card.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/subscriptions/widgets/subscription_card.dart",
"repo_id": "news_toolkit",
"token_count": 3289
} | 883 |
export 'bloc/user_profile_bloc.dart';
export 'view/view.dart';
export 'widgets/widgets.dart';
| news_toolkit/flutter_news_example/lib/user_profile/user_profile.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/user_profile/user_profile.dart",
"repo_id": "news_toolkit",
"token_count": 38
} | 884 |
import 'package:equatable/equatable.dart';
/// {@template analytics_event}
/// An analytic event which can be tracked.
/// Consists of the unique event name and an optional
/// map of properties.
/// {@endtemplate}
class AnalyticsEvent extends Equatable {
/// {@macro analytics_event}
const AnalyticsEvent(this.name... | news_toolkit/flutter_news_example/packages/analytics_repository/lib/src/models/analytics_event.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/analytics_repository/lib/src/models/analytics_event.dart",
"repo_id": "news_toolkit",
"token_count": 206
} | 885 |
<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.75 0.25H2.25C1.4175 0.25 0.75 0.9175 0.75 1.75V10.75C0.75 11.575 1.4175 12.25 2.25 12.25H6V13.75H12V12.25H15.75C16.575 12.25 17.2425 11.575 17.2425 10.75L17.25 1.75C17.25 0.9175 16.575 0.25 15.75 0.25ZM15.75 10.... | news_toolkit/flutter_news_example/packages/app_ui/assets/icons/video.svg/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/assets/icons/video.svg",
"repo_id": "news_toolkit",
"token_count": 223
} | 886 |
// ignore_for_file: avoid_field_initializers_in_const_classes
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
class AppSwitchPage extends StatelessWidget {
AppSwitchPage({super.key});
static Route<void> route() {
return MaterialPageRoute<void>(builder: (_) => AppSwitchPage());
... | news_toolkit/flutter_news_example/packages/app_ui/gallery/lib/widgets/app_switch_page.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/gallery/lib/widgets/app_switch_page.dart",
"repo_id": "news_toolkit",
"token_count": 742
} | 887 |
export 'date_time_extension.dart';
| news_toolkit/flutter_news_example/packages/app_ui/lib/src/extensions/extensions.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/lib/src/extensions/extensions.dart",
"repo_id": "news_toolkit",
"token_count": 13
} | 888 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
/// {@template content_theme_override_builder}
/// The builder widget that overrides the default [TextTheme]
/// to [AppTheme.contentTextTheme] in the widget tree
/// below the given [builder] widget.
/// {@endtemplate}
class ContentThemeOver... | news_toolkit/flutter_news_example/packages/app_ui/lib/src/widgets/content_theme_override_builder.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/lib/src/widgets/content_theme_override_builder.dart",
"repo_id": "news_toolkit",
"token_count": 274
} | 889 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('AppTheme', () {
group('themeData', () {
group('color', () {
test('primary is blue', () {
expect(
const AppTheme().themeData.primar... | news_toolkit/flutter_news_example/packages/app_ui/test/theme/app_theme_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/test/theme/app_theme_test.dart",
"repo_id": "news_toolkit",
"token_count": 2162
} | 890 |
export 'authentication_user.dart';
| news_toolkit/flutter_news_example/packages/authentication_client/authentication_client/lib/src/models/models.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/authentication_client/authentication_client/lib/src/models/models.dart",
"repo_id": "news_toolkit",
"token_count": 11
} | 891 |
name: token_storage
description: Token storage for the authentication client.
version: 1.0.0+1
publish_to: none
environment:
sdk: ">=3.0.0 <4.0.0"
dev_dependencies:
coverage: ^1.3.2
mocktail: ^1.0.2
test: ^1.21.4
very_good_analysis: ^5.1.0
| news_toolkit/flutter_news_example/packages/authentication_client/token_storage/pubspec.yaml/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/authentication_client/token_storage/pubspec.yaml",
"repo_id": "news_toolkit",
"token_count": 109
} | 892 |
# form_inputs
A Dart package which exposes reusable form inputs and validation rules
| news_toolkit/flutter_news_example/packages/form_inputs/README.md/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/form_inputs/README.md",
"repo_id": "news_toolkit",
"token_count": 19
} | 893 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
/// {@template newsletter_container}
/// A reusable newsletter container widget.
/// {@endtemplate}
class NewsletterContainer extends StatelessWidget {
/// {@macro newsletter_container}
const NewsletterContainer({
super.key,
this.... | news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/newsletter/newsletter_container.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/newsletter/newsletter_container.dart",
"repo_id": "news_toolkit",
"token_count": 281
} | 894 |
import 'package:flutter/material.dart';
import 'package:news_blocks/news_blocks.dart';
/// {@template spacer}
/// A reusable spacer news block widget.
/// {@endtemplate}
class Spacer extends StatelessWidget {
/// {@macro spacer}
const Spacer({required this.block, super.key});
/// The associated [SpacerBlock] in... | news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/spacer.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/spacer.dart",
"repo_id": "news_toolkit",
"token_count": 319
} | 895 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
/// {@template post_content_category}
/// A widget displaying the category of a post.
/// {@endtemplate}
class PostContentCategory extends StatelessWidget {
/// {@macro post_content_category}
const PostContentCategory({
required this.... | news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/widgets/post_content_category.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/widgets/post_content_category.dart",
"repo_id": "news_toolkit",
"token_count": 818
} | 896 |
include: package:very_good_analysis/analysis_options.5.1.0.yaml
| news_toolkit/flutter_news_example/packages/notifications_client/firebase_notifications_client/analysis_options.yaml/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/notifications_client/firebase_notifications_client/analysis_options.yaml",
"repo_id": "news_toolkit",
"token_count": 23
} | 897 |
import 'package:notifications_client/notifications_client.dart';
import 'package:onesignal_flutter/onesignal_flutter.dart';
/// {@template one_signal_notifications_client}
/// OneSignal notifications client.
/// {@endtemplate}
class OneSignalNotificationsClient implements NotificationsClient {
/// {@macro one_signal... | news_toolkit/flutter_news_example/packages/notifications_client/one_signal_notifications_client/lib/src/one_signal_notifications_client.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/notifications_client/one_signal_notifications_client/lib/src/one_signal_notifications_client.dart",
"repo_id": "news_toolkit",
"token_count": 388
} | 898 |
/// {@template package_info_client}
/// A client that provides information about the app's package metadata
/// like app name, package name or version.
/// {@endtemplate}
class PackageInfoClient {
/// {@macro package_info_client}
PackageInfoClient({
required this.appName,
required this.packageName,
requ... | news_toolkit/flutter_news_example/packages/package_info_client/lib/src/package_info_client.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/package_info_client/lib/src/package_info_client.dart",
"repo_id": "news_toolkit",
"token_count": 144
} | 899 |
name: purchase_client
description: A PurchaseClient stubbing InAppPurchase implementation.
version: 1.0.0+1
publish_to: none
environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
clock: ^1.1.0
equatable: ^2.0.3
flutter:
sdk: flutter
in_app_purchase: ^3.0.5
in_app_purchase_platform_interface: ^1.3.2
dev_de... | news_toolkit/flutter_news_example/packages/purchase_client/pubspec.yaml/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/purchase_client/pubspec.yaml",
"repo_id": "news_toolkit",
"token_count": 171
} | 900 |
# Secure Storage
[](https://pub.dev/packages/very_good_analysis)
A Key/Value Secure Storage Client.
| news_toolkit/flutter_news_example/packages/storage/secure_storage/README.md/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/storage/secure_storage/README.md",
"repo_id": "news_toolkit",
"token_count": 68
} | 901 |
import 'dart:async';
import 'package:authentication_client/authentication_client.dart';
import 'package:deep_link_client/deep_link_client.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter_news_example_api/client.dart' hide User;
import 'package:package_info_client/package_info_client.dart';
imp... | news_toolkit/flutter_news_example/packages/user_repository/lib/src/user_repository.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/user_repository/lib/src/user_repository.dart",
"repo_id": "news_toolkit",
"token_count": 2785
} | 902 |
// ignore_for_file: prefer_const_constructors, must_be_immutable
import 'dart:async';
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter_news_example/app/app.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_repository/in_app_purchase_repository.dart';
import 'pack... | news_toolkit/flutter_news_example/test/app/bloc/app_bloc_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/app/bloc/app_bloc_test.dart",
"repo_id": "news_toolkit",
"token_count": 4966
} | 903 |
// ignore_for_file: prefer_const_constructors, avoid_redundant_argument_values
// ignore_for_file: prefer_const_literals_to_create_immutables
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_news_example/app/app.... | news_toolkit/flutter_news_example/test/article/widgets/article_trailing_content_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/article/widgets/article_trailing_content_test.dart",
"repo_id": "news_toolkit",
"token_count": 5089
} | 904 |
import 'package:ads_consent_client/ads_consent_client.dart';
import 'package:article_repository/article_repository.dart';
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_localizations/flutter_localizations.dart';... | news_toolkit/flutter_news_example/test/helpers/pump_app.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/helpers/pump_app.dart",
"repo_id": "news_toolkit",
"token_count": 1995
} | 905 |
import 'package:email_launcher/email_launcher.dart';
import 'package:flutter_news_example/magic_link_prompt/magic_link_prompt.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
import '../../helpers/helpers.dart';
class MockEmailLauncher extends Mock implements EmailLaunc... | news_toolkit/flutter_news_example/test/magic_link_prompt/view/magic_link_prompt_view_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/magic_link_prompt/view/magic_link_prompt_view_test.dart",
"repo_id": "news_toolkit",
"token_count": 714
} | 906 |
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_news_example/notification_preferences/notification_preferences.dart';
import 'package:flutter_test/flutter_test.dart';
import '../../helpers/helpers.dart';
void main() {
group('NotificationCategoryTile', () {
testWidgets('rend... | news_toolkit/flutter_news_example/test/notification_preferences/widgets/notification_category_tile_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/notification_preferences/widgets/notification_category_tile_test.dart",
"repo_id": "news_toolkit",
"token_count": 406
} | 907 |
import 'package:flutter_news_example/subscriptions/subscriptions.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:in_app_purchase_repository/in_app_purchase_repository.dart';
void main() {
group('SubscriptionsEvent', () {
group('SubscriptionsRequested', () {
test('supports value comp... | news_toolkit/flutter_news_example/test/subscriptions/dialog/bloc/subscriptions_event_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/subscriptions/dialog/bloc/subscriptions_event_test.dart",
"repo_id": "news_toolkit",
"token_count": 1145
} | 908 |
// ignore_for_file: prefer_const_constructors
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter/material.dart';
import 'package:flutter_news_example/app/app.dart';
import 'package:flutter_news_example/login/login.dart';
import 'package:flutter_news_example/user_profile/user_profile.dart';
import 'pack... | news_toolkit/flutter_news_example/test/user_profile/widgets/user_profile_button_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/user_profile/widgets/user_profile_button_test.dart",
"repo_id": "news_toolkit",
"token_count": 1448
} | 909 |
This directory contains a partial snapshot of an old Flutter project; it is
intended to replace the corresponding parts of a newly Flutter-created project
to allow testing plugin builds with a legacy project.
It was originally created with Flutter 2.0.6. In general the guidelines are:
- Pieces here should be largely s... | packages/.ci/legacy_project/README.md/0 | {
"file_path": "packages/.ci/legacy_project/README.md",
"repo_id": "packages",
"token_count": 512
} | 910 |
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
infra_step: true # Note infra steps failing prevents "always" from running.
# Does a sanity check that packages at least pass analysis on the N-1 and N-2
# versions of Flutter stable if the package claims to support that version.
# This is ... | packages/.ci/targets/analyze_legacy.yaml/0 | {
"file_path": "packages/.ci/targets/analyze_legacy.yaml",
"repo_id": "packages",
"token_count": 195
} | 911 |
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
infra_step: true # Note infra steps failing prevents "always" from running.
- name: tool unit tests
script: .ci/scripts/plugin_tools_tests.sh
- name: format
script: .ci/scripts/tool_runner.sh
# Skip Swift formatting on Linux build... | packages/.ci/targets/repo_checks.yaml/0 | {
"file_path": "packages/.ci/targets/repo_checks.yaml",
"repo_id": "packages",
"token_count": 882
} | 912 |
## Welcome
For an introduction to contributing to Flutter, see [our contributor
guide](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md).
Additional resources specific to the packages repository:
- [Setting up the Packages development
environment](https://github.com/flutter/flutter/wiki/Setting-up-the... | packages/CONTRIBUTING.md/0 | {
"file_path": "packages/CONTRIBUTING.md",
"repo_id": "packages",
"token_count": 797
} | 913 |
name: animations_example
description: A catalog containing example animations from package:animations.
publish_to: none
version: 0.0.1
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
animations:
path: ../../animations
cupertino_icons: ^1.0.2
flutter:
sdk: flutter
dev_dependencies:
fl... | packages/packages/animations/example/pubspec.yaml/0 | {
"file_path": "packages/packages/animations/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 182
} | 914 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:animations/src/fade_through_transition.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
voi... | packages/packages/animations/test/fade_through_transition_test.dart/0 | {
"file_path": "packages/packages/animations/test/fade_through_transition_test.dart",
"repo_id": "packages",
"token_count": 6765
} | 915 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math';
import 'package:camera/camera.dart';
import 'package:camera_platform_interface/camera_platform_interface.dart';
i... | packages/packages/camera/camera/test/camera_test.dart/0 | {
"file_path": "packages/packages/camera/camera/test/camera_test.dart",
"repo_id": "packages",
"token_count": 22816
} | 916 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera;
import android.annotation.TargetApi;
import android.hardware.camera2.CaptureRequest;
import android.hardware.camera2.pa... | packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/CameraRegionUtils.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/CameraRegionUtils.java",
"repo_id": "packages",
"token_count": 2396
} | 917 |
// 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.exposurelock;
import android.annotation.SuppressLint;
import android.hardware.camera2.CaptureRequest;
import an... | packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/exposurelock/ExposureLockFeature.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/exposurelock/ExposureLockFeature.java",
"repo_id": "packages",
"token_count": 474
} | 918 |
// 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.media;
import android.graphics.ImageFormat;
import android.media.Image;
import android.media.ImageReader;
import android... | packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/media/ImageStreamReader.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/media/ImageStreamReader.java",
"repo_id": "packages",
"token_count": 2716
} | 919 |
## 0.6.0+1
* Updates `README.md` to encourage developers to opt into this implementation of the camera plugin.
## 0.6.0
* Implements `setFocusMode`, which makes this plugin reach feature parity with camera_android.
* Fixes `setExposureCompensationIndex` return value to use index returned by CameraX.
## 0.5.0+36
* ... | packages/packages/camera/camera_android_camerax/CHANGELOG.md/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/CHANGELOG.md",
"repo_id": "packages",
"token_count": 1417
} | 920 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import androidx.annotation.NonNull;
import androidx.camera.core.CameraInfo;
import io.flutter.plugin.common.BinaryMess... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraInfoFlutterApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraInfoFlutterApiImpl.java",
"repo_id": "packages",
"token_count": 319
} | 921 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import androidx.camera.core.FocusMet... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/FocusMeteringResultHostApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/FocusMeteringResultHostApiImpl.java",
"repo_id": "packages",
"token_count": 655
} | 922 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/AnalyzerTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/AnalyzerTest.java",
"repo_id": "packages",
"token_count": 1305
} | 923 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/FocusMeteringActionTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/FocusMeteringActionTest.java",
"repo_id": "packages",
"token_count": 2918
} | 924 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camerax;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;
import static org.mockito.Ar... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/RecorderTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/RecorderTest.java",
"repo_id": "packages",
"token_count": 2457
} | 925 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:meta/meta.dart';
import 'camera_state_error.dart';
import 'camerax_library.g.dart';
import 'instan... | packages/packages/camera/camera_android_camerax/lib/src/camera_state.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/camera_state.dart",
"repo_id": "packages",
"token_count": 1426
} | 926 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart' show BinaryMessenger;
import 'package:meta/meta.dart' show immutable;
import 'android_camera_camerax_flutter_api_im... | packages/packages/camera/camera_android_camerax/lib/src/metering_point.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/metering_point.dart",
"repo_id": "packages",
"token_count": 1467
} | 927 |
// 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/camerax_library.g.dart',
dartTestOut: 'test/test_camerax... | packages/packages/camera/camera_android_camerax/pigeons/camerax_library.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/pigeons/camerax_library.dart",
"repo_id": "packages",
"token_count": 4516
} | 928 |
// 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_state_error.dart';
import 'package:camera_android_camerax/src/instance_manager.dart';
import 'package:flu... | packages/packages/camera/camera_android_camerax/test/camera_state_error_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/camera_state_error_test.dart",
"repo_id": "packages",
"token_count": 578
} | 929 |
// 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/focus_metering_result.dart';
import 'package:camera_android_camerax/src/instance_manager.dart';
import 'package:... | packages/packages/camera/camera_android_camerax/test/focus_metering_result_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/focus_metering_result_test.dart",
"repo_id": "packages",
"token_count": 936
} | 930 |
// Mocks generated by Mockito 5.4.4 from annotations
// in camera_android_camerax/test/pending_recording_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i4;
import 'package:camera_android_camerax/src/recording.dart' as _i3;
import '... | packages/packages/camera/camera_android_camerax/test/pending_recording_test.mocks.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/pending_recording_test.mocks.dart",
"repo_id": "packages",
"token_count": 1347
} | 931 |
// Mocks generated by Mockito 5.4.4 from annotations
// in camera_android_camerax/test/resolution_strategy_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:camera_android_camerax/src/camerax_library.g.dart' as _i3;
import 'package:mockito/moc... | packages/packages/camera/camera_android_camerax/test/resolution_strategy_test.mocks.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/resolution_strategy_test.mocks.dart",
"repo_id": "packages",
"token_count": 799
} | 932 |
// 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.
@TestOn('chrome') // Uses web-only Flutter SDK
library;
import 'dart:convert';
import 'dart:js_interop';
import 'dart:typed_data';
import 'package:cross_... | packages/packages/cross_file/test/x_file_html_test.dart/0 | {
"file_path": "packages/packages/cross_file/test/x_file_html_test.dart",
"repo_id": "packages",
"token_count": 1712
} | 933 |
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
version:
revision: cd41fdd495f6944ecd3506c21e94c6567b073278
channel: stable
project_type: app
# Tracks metadata for the flutter migrate comman... | packages/packages/dynamic_layouts/example/.metadata/0 | {
"file_path": "packages/packages/dynamic_layouts/example/.metadata",
"repo_id": "packages",
"token_count": 713
} | 934 |
name: example
description: A new Flutter project.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.1.0
dependencies:
cupertino_icons: ^1.0.5
dynamic_layouts:
path: ../
flutter:
sdk: flutter
dev_dependencies:
flutter_lints: ^2.0.0
flutter_test:
sdk: flutter
flutter:
uses-material-... | packages/packages/dynamic_layouts/example/pubspec.yaml/0 | {
"file_path": "packages/packages/dynamic_layouts/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 148
} | 935 |
name: dynamic_layouts
description: Widgets for building dynamic grid layouts.
version: 0.0.1+1
issue_tracker: https://github.com/flutter/flutter/labels/p%3A%20dynamic_layouts
repository: https://github.com/flutter/packages/tree/main/packages/dynamic_layouts
# Temporarily unpublished while in process of releasing full p... | packages/packages/dynamic_layouts/pubspec.yaml/0 | {
"file_path": "packages/packages/dynamic_layouts/pubspec.yaml",
"repo_id": "packages",
"token_count": 182
} | 936 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.espresso">
</manifest>
| packages/packages/espresso/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/espresso/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 42
} | 937 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.flutter.packages.file_selector_android">
</manifest>
| packages/packages/file_selector/file_selector_android/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 49
} | 938 |
// 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_android/file_selector_android.dart';
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';... | packages/packages/file_selector/file_selector_android/example/lib/main.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/example/lib/main.dart",
"repo_id": "packages",
"token_count": 506
} | 939 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v10.0.1), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_c... | packages/packages/file_selector/file_selector_windows/test/test_api.g.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_windows/test/test_api.g.dart",
"repo_id": "packages",
"token_count": 1944
} | 940 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_adaptive_scaffold/flutter_adaptive_scaffold.dart';
/// A more functional demo of the usage... | packages/packages/flutter_adaptive_scaffold/example/lib/main.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/example/lib/main.dart",
"repo_id": "packages",
"token_count": 19734
} | 941 |
// 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';
const Set<TargetPlatform> _desktop = <TargetPlatform>{
TargetPlatform.linux,
TargetPlatform.macOS,
TargetPla... | packages/packages/flutter_adaptive_scaffold/lib/src/breakpoints.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/lib/src/breakpoints.dart",
"repo_id": "packages",
"token_count": 1354
} | 942 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/flutter_image/example/android/gradle.properties/0 | {
"file_path": "packages/packages/flutter_image/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 943 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 3.0.1
* Replaces `flutter pub add --dev` with `dev:` in README.md.
## 3.0.0
* Updated `package:lints` dependency to version 3.0.0, with the following changes:
* added `collection_methods_unrelated_type`
* added `dangling_library_d... | packages/packages/flutter_lints/CHANGELOG.md/0 | {
"file_path": "packages/packages/flutter_lints/CHANGELOG.md",
"repo_id": "packages",
"token_count": 781
} | 944 |
// 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_markdown/flutter_markdown.dart';
import 'package:markdown/markdown.dart' as md;
import '../... | packages/packages/flutter_markdown/example/lib/demos/centered_header_demo.dart/0 | {
"file_path": "packages/packages/flutter_markdown/example/lib/demos/centered_header_demo.dart",
"repo_id": "packages",
"token_count": 755
} | 945 |
name: flutter_markdown_example
description: Demonstrates how to use the flutter_markdown package.
publish_to: none
environment:
sdk: ^3.2.0
flutter: ">=3.16.0"
dependencies:
flutter:
sdk: flutter
flutter_markdown:
path: ../
markdown: ^7.0.0
dev_dependencies:
flutter_test:
sdk: flutter
flutte... | packages/packages/flutter_markdown/example/pubspec.yaml/0 | {
"file_path": "packages/packages/flutter_markdown/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 203
} | 946 |
// 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/widgets.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:flutter_test/flutter_test.dart';
import 'ut... | packages/packages/flutter_markdown/test/markdown_body_shrink_wrap_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/markdown_body_shrink_wrap_test.dart",
"repo_id": "packages",
"token_count": 1230
} | 947 |
# Specify analysis options.
include: ../../analysis_options.yaml
linter:
rules:
public_member_api_docs: false # Standalone executable, no public API
| packages/packages/flutter_migrate/analysis_options.yaml/0 | {
"file_path": "packages/packages/flutter_migrate/analysis_options.yaml",
"repo_id": "packages",
"token_count": 50
} | 948 |
// 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:process/process.dart';
import '../base/command.dart';
import '../base/file_system.dart';
import '../base/logger.dart';
import '../base/pro... | packages/packages/flutter_migrate/lib/src/commands/start.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/commands/start.dart",
"repo_id": "packages",
"token_count": 4664
} | 949 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_migrate/src/base/context.dart';
import 'package:flutter_migrate/src/base/file_system.dart';
import 'package:flutter_migrate/src/bas... | packages/packages/flutter_migrate/test/status_test.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/status_test.dart",
"repo_id": "packages",
"token_count": 1818
} | 950 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.flutter_plugin_android_lifecycle">
</manifest>
| packages/packages/flutter_plugin_android_lifecycle/android/src/main/AndroidManifest.xml/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/android/src/main/AndroidManifest.xml",
"repo_id": "packages",
"token_count": 52
} | 951 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 4.2.1
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
* Updates minimum SDK version to Flutter 3.0.
## 4.2.0
* Adds iOS template app icons, updated to square icons with no transpare... | packages/packages/flutter_template_images/CHANGELOG.md/0 | {
"file_path": "packages/packages/flutter_template_images/CHANGELOG.md",
"repo_id": "packages",
"token_count": 392
} | 952 |
To get started, follow the [package installation
instructions](https://pub.dev/packages/go_router/install) and add a GoRouter
configuration to your app:
```dart
import 'package:go_router/go_router.dart';
// GoRouter configuration
final _router = GoRouter(
routes: [
GoRoute(
path: '/',
builder: (cont... | packages/packages/go_router/doc/get-started.md/0 | {
"file_path": "packages/packages/go_router/doc/get-started.md",
"repo_id": "packages",
"token_count": 353
} | 953 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import '../data.dart';
import '../widgets/book_list.dart';
/// A scree... | packages/packages/go_router/example/lib/books/src/screens/books.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/books/src/screens/books.dart",
"repo_id": "packages",
"token_count": 1264
} | 954 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
void main() => runApp(App());
/// The main app.
class App extends Stat... | packages/packages/go_router/example/lib/others/push.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/others/push.dart",
"repo_id": "packages",
"token_count": 1323
} | 955 |
// 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:go_router_examples/routing_config.dart' as example;
void main() {
testWidgets('example ... | packages/packages/go_router/example/test/routing_config_test.dart/0 | {
"file_path": "packages/packages/go_router/example/test/routing_config_test.dart",
"repo_id": "packages",
"token_count": 348
} | 956 |
// 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/widgets.dart';
import 'extensions.dart';
/// Default error page implementation for WidgetsApp.
class ErrorScreen extends Stateles... | packages/packages/go_router/lib/src/misc/error_screen.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/misc/error_screen.dart",
"repo_id": "packages",
"token_count": 920
} | 957 |
// 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
import 'test_helpers.da... | packages/packages/go_router/test/configuration_test.dart/0 | {
"file_path": "packages/packages/go_router/test/configuration_test.dart",
"repo_id": "packages",
"token_count": 22568
} | 958 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
... | packages/packages/go_router/test/match_test.dart/0 | {
"file_path": "packages/packages/go_router/test/match_test.dart",
"repo_id": "packages",
"token_count": 3920
} | 959 |
// 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:go_router/go_router.dart';
void main() {
const GoRouterState state = GoRouterState();
final GoRouter router = GoRouter(routes: <RouteB... | packages/packages/go_router/test_fixes/go_router.dart.expect/0 | {
"file_path": "packages/packages/go_router/test_fixes/go_router.dart.expect",
"repo_id": "packages",
"token_count": 429
} | 960 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: public_member_api_docs, unreachable_from_main
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:go_router/... | packages/packages/go_router_builder/example/lib/main.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/main.dart",
"repo_id": "packages",
"token_count": 4761
} | 961 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router_builder_example/all_types.dart';
import ... | packages/packages/go_router_builder/example/test/all_types_test.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/test/all_types_test.dart",
"repo_id": "packages",
"token_count": 3216
} | 962 |
Could not find a field for the path parameter "id".
| packages/packages/go_router_builder/test_inputs/bad_path_pattern.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/bad_path_pattern.dart.expect",
"repo_id": "packages",
"token_count": 13
} | 963 |
RouteBase get $namedRoute => GoRouteData.$route(
path: '/named-route',
name: 'namedRoute',
factory: $NamedRouteExtension._fromState,
);
extension $NamedRouteExtension on NamedRoute {
static NamedRoute _fromState(GoRouterState state) => NamedRoute();
String get location => GoRouteData.$locati... | packages/packages/go_router_builder/test_inputs/named_route.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/named_route.dart.expect",
"repo_id": "packages",
"token_count": 211
} | 964 |
The ShellRouteData "ShellRouteWithoutUnnamedConstructor" class must have an unnamed constructor.
| packages/packages/go_router_builder/test_inputs/shell_route_data_without_unnamed_constructor.dart.expect/0 | {
"file_path": "packages/packages/go_router_builder/test_inputs/shell_route_data_without_unnamed_constructor.dart.expect",
"repo_id": "packages",
"token_count": 21
} | 965 |
// 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.
// the following ignore is needed for downgraded analyzer (casts to JSObject).
// ignore_for_file: unnecessary_cast
import 'dart:async';
import 'dart:js_i... | packages/packages/google_identity_services_web/example/integration_test/js_interop_id_test.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/example/integration_test/js_interop_id_test.dart",
"repo_id": "packages",
"token_count": 1657
} | 966 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is used to mock the GIS library for integration tests under:
// example/integration_test
class PromptMomentNotification {
constructor(momen... | packages/packages/google_identity_services_web/example/web/mock-gis.js/0 | {
"file_path": "packages/packages/google_identity_services_web/example/web/mock-gis.js",
"repo_id": "packages",
"token_count": 1525
} | 967 |
// 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
@TestOn('vm')
library;
import 'package:test/test.dart';
void main() {
test('Tell the user where to find the real tests... | packages/packages/google_identity_services_web/test/only_chrome_tests_here_test.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/test/only_chrome_tests_here_test.dart",
"repo_id": "packages",
"token_count": 160
} | 968 |
// 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/material.dart';
import 'package:flutter_test/flutter_test.dart';
im... | packages/packages/google_maps_flutter/google_maps_flutter/example/integration_test/src/maps_controller.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/example/integration_test/src/maps_controller.dart",
"repo_id": "packages",
"token_count": 6590
} | 969 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.googlemaps;
import com.google.android.gms.maps.model.TileOverlayOptions;
import com.google.android.gms.maps.model.TileProvider;... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/TileOverlayBuilder.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/TileOverlayBuilder.java",
"repo_id": "packages",
"token_count": 349
} | 970 |
# Platform Implementation Test Apps
These are test apps for manual testing and automated integration testing
of this platform implementation. They are not intended to demonstrate actual
use of this package, since the intent is that plugin clients use the
app-facing package.
Unless you are making changes to this imple... | packages/packages/google_maps_flutter/google_maps_flutter_ios/example/README.md/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/example/README.md",
"repo_id": "packages",
"token_count": 503
} | 971 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'google_maps_flutter_ios'
s.version = '0.0.1'
s.summary = 'Google Maps for Flutter'
s.description = <<-DESC
A Flutter plugin that provides a Google Maps widget... | packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios.podspec/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios.podspec",
"repo_id": "packages",
"token_count": 742
} | 972 |
// 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 '../maps_object.dart';
/// Converts an [Iterable] of [MapsObject]s in a Map of [MapObjectId] -> [MapObject].
Map<MapsObjectId<T>, T> keyByMapsObjec... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/maps_object.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/maps_object.dart",
"repo_id": "packages",
"token_count": 249
} | 973 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart';
impor... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/maps_object_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/maps_object_test.dart",
"repo_id": "packages",
"token_count": 711
} | 974 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
| packages/packages/google_sign_in/google_sign_in/example/android/gradle.properties/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 22
} | 975 |
// Mocks generated by Mockito 5.4.4 from annotations
// in google_sign_in/test/google_sign_in_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i4;
import 'package:google_sign_in_platform_interface/google_sign_in_platform_interface.da... | packages/packages/google_sign_in/google_sign_in/test/google_sign_in_test.mocks.dart/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in/test/google_sign_in_test.mocks.dart",
"repo_id": "packages",
"token_count": 2599
} | 976 |
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
| packages/packages/google_sign_in/google_sign_in_android/example/.pluginToolsConfig.yaml/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/example/.pluginToolsConfig.yaml",
"repo_id": "packages",
"token_count": 45
} | 977 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'google_sign_in_ios'
s.version = '0.0.1'
s.summary = 'Google Sign-In plugin for Flutter'
s.description = <<-DESC
Enables Google Sign-In in Flutter apps.
... | packages/packages/google_sign_in/google_sign_in_ios/darwin/google_sign_in_ios.podspec/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_ios/darwin/google_sign_in_ios.podspec",
"repo_id": "packages",
"token_count": 543
} | 978 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.