text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
export 'home_page.dart';
export 'home_view.dart';
| news_toolkit/flutter_news_example/lib/home/view/view.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/home/view/view.dart",
"repo_id": "news_toolkit",
"token_count": 20
} | 871 |
export 'view/view.dart';
| news_toolkit/flutter_news_example/lib/magic_link_prompt/magic_link_prompt.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/magic_link_prompt/magic_link_prompt.dart",
"repo_id": "news_toolkit",
"token_count": 10
} | 872 |
export 'view/network_error.dart';
| news_toolkit/flutter_news_example/lib/network_error/network_error.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/network_error/network_error.dart",
"repo_id": "news_toolkit",
"token_count": 12
} | 873 |
part of 'onboarding_bloc.dart';
abstract class OnboardingEvent extends Equatable {
const OnboardingEvent();
}
class EnableAdTrackingRequested extends OnboardingEvent {
const EnableAdTrackingRequested();
@override
List<Object?> get props => [];
}
class EnableNotificationsRequested extends OnboardingEvent {
... | news_toolkit/flutter_news_example/lib/onboarding/bloc/onboarding_event.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/onboarding/bloc/onboarding_event.dart",
"repo_id": "news_toolkit",
"token_count": 116
} | 874 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_news_example/l10n/l10n.dart';
class SearchTextField extends StatelessWidget {
const SearchTextField({required this.controller, super.key});
final TextEditingController controller;
@override
Widget build(Build... | news_toolkit/flutter_news_example/lib/search/widgets/search_text_field.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/search/widgets/search_text_field.dart",
"repo_id": "news_toolkit",
"token_count": 297
} | 875 |
import 'package:app_ui/app_ui.dart'
show AppButton, AppColors, AppSpacing, Assets, showAppModal;
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_news_example/ads/ads.dart';
import 'package:flutter_news_example/analytics/analytics.dart';
import 'packag... | news_toolkit/flutter_news_example/lib/subscriptions/widgets/subscribe_with_article_limit_modal.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/subscriptions/widgets/subscribe_with_article_limit_modal.dart",
"repo_id": "news_toolkit",
"token_count": 3167
} | 876 |
part of 'user_profile_bloc.dart';
enum UserProfileStatus {
initial,
fetchingNotificationsEnabled,
fetchingNotificationsEnabledFailed,
fetchingNotificationsEnabledSucceeded,
togglingNotifications,
togglingNotificationsFailed,
togglingNotificationsSucceeded,
userUpdated,
}
class UserProfileState extends... | news_toolkit/flutter_news_example/lib/user_profile/bloc/user_profile_state.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/lib/user_profile/bloc/user_profile_state.dart",
"repo_id": "news_toolkit",
"token_count": 355
} | 877 |
import 'package:analytics_repository/analytics_repository.dart';
import 'package:equatable/equatable.dart';
import 'package:firebase_analytics/firebase_analytics.dart';
/// {@template analytics_failure}
/// A base failure for the analytics repository failures.
/// {@endtemplate}
abstract class AnalyticsFailure with Eq... | news_toolkit/flutter_news_example/packages/analytics_repository/lib/src/analytics_repository.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/analytics_repository/lib/src/analytics_repository.dart",
"repo_id": "news_toolkit",
"token_count": 628
} | 878 |
package com.ui.gallery
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| news_toolkit/flutter_news_example/packages/app_ui/gallery/android/app/src/main/kotlin/com/ui/gallery/MainActivity.kt/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/gallery/android/app/src/main/kotlin/com/ui/gallery/MainActivity.kt",
"repo_id": "news_toolkit",
"token_count": 36
} | 879 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
class AppLogoPage extends StatelessWidget {
const AppLogoPage({super.key});
static Route<void> route() {
return MaterialPageRoute<void>(builder: (_) => const AppLogoPage());
}
@override
Widget build(BuildContext context) {
... | news_toolkit/flutter_news_example/packages/app_ui/gallery/lib/widgets/app_logo_page.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/gallery/lib/widgets/app_logo_page.dart",
"repo_id": "news_toolkit",
"token_count": 360
} | 880 |
import 'package:intl/intl.dart';
/// Extension to make displaying [DateTime] objects simpler.
extension DateTimeEx on DateTime {
/// Converts [DateTime] into a MMMM dd, yyyy [String].
String get mDY {
return DateFormat('MMMM d, yyyy').format(this);
}
}
| news_toolkit/flutter_news_example/packages/app_ui/lib/src/extensions/date_time_extension.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/lib/src/extensions/date_time_extension.dart",
"repo_id": "news_toolkit",
"token_count": 93
} | 881 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
/// {@template app_text_field}
/// A text field component based on material [TextFormField] widget with a
/// fixed, left-aligned label text displayed above the text field.
/// {@endtemplate}
class AppT... | news_toolkit/flutter_news_example/packages/app_ui/lib/src/widgets/app_text_field.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/lib/src/widgets/app_text_field.dart",
"repo_id": "news_toolkit",
"token_count": 1401
} | 882 |
// ignore_for_file: prefer_const_constructors
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import '../helpers/helpers.dart';
void main() {
group('ShowAppModal', () {
testWidgets('renders modal', (tester) async {
final modalK... | news_toolkit/flutter_news_example/packages/app_ui/test/src/widgets/show_app_modal_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/app_ui/test/src/widgets/show_app_modal_test.dart",
"repo_id": "news_toolkit",
"token_count": 549
} | 883 |
import 'package:equatable/equatable.dart';
/// {@template authentication_user}
/// User model
///
/// [AuthenticationUser.anonymous] represents an unauthenticated user.
/// {@endtemplate}
class AuthenticationUser extends Equatable {
/// {@macro authentication_user}
const AuthenticationUser({
required this.id,
... | news_toolkit/flutter_news_example/packages/authentication_client/authentication_client/lib/src/models/authentication_user.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/authentication_client/authentication_client/lib/src/models/authentication_user.dart",
"repo_id": "news_toolkit",
"token_count": 295
} | 884 |
export 'src/token_storage.dart';
| news_toolkit/flutter_news_example/packages/authentication_client/token_storage/lib/token_storage.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/authentication_client/token_storage/lib/token_storage.dart",
"repo_id": "news_toolkit",
"token_count": 12
} | 885 |
// ignore_for_file: prefer_const_constructors
import 'package:email_launcher/email_launcher.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:url_launcher_platform_in... | news_toolkit/flutter_news_example/packages/email_launcher/test/src/email_launcher_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/email_launcher/test/src/email_launcher_test.dart",
"repo_id": "news_toolkit",
"token_count": 1169
} | 886 |
# news_blocks_ui
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![License: MIT][license_badge]][license_link]
A Flutter package that contains UI components for news blocks.
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/li... | news_toolkit/flutter_news_example/packages/news_blocks_ui/README.md/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/README.md",
"repo_id": "news_toolkit",
"token_count": 173
} | 887 |
export 'newsletter_container.dart';
export 'newsletter_sign_up.dart';
export 'newsletter_succeeded.dart';
| news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/newsletter/index.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/newsletter/index.dart",
"repo_id": "news_toolkit",
"token_count": 38
} | 888 |
import 'dart:math' as math;
import 'package:app_ui/app_ui.dart';
import 'package:flutter/rendering.dart';
/// Custom GridDelegate that allows to use [HeaderGridTileLayout].
/// This way, the grid can have the first element as a header.
class CustomMaxCrossAxisDelegate
extends SliverGridDelegateWithMaxCrossAxisExte... | news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/sliver_grid_custom_delegate.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/sliver_grid_custom_delegate.dart",
"repo_id": "news_toolkit",
"token_count": 1597
} | 889 |
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:news_blocks_ui/src/widgets/widgets.dart';
/// {@template post_content}
/// A post widget displaying post content.
/// {@endtemplate}
class PostContent extends StatelessWidget {
/// {@macro post_content}
const PostContent({... | news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/widgets/post_content.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/lib/src/widgets/post_content.dart",
"repo_id": "news_toolkit",
"token_count": 1405
} | 890 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter_test/flutter_test.dart';
import 'package:news_blocks/news_blocks.dart';
import 'package:news_blocks_ui/src/banner_ad.dart';
import 'package:news_blocks_ui/src/widgets/widgets.dart';
import '../helpers/helpers.dart';
void main() {
group('BannerAd... | news_toolkit/flutter_news_example/packages/news_blocks_ui/test/src/banner_ad_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/test/src/banner_ad_test.dart",
"repo_id": "news_toolkit",
"token_count": 539
} | 891 |
// ignore_for_file: unnecessary_const, prefer_const_constructors
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:news_blocks/news_blocks.dart';
import 'package:news_blocks_ui/news_blocks_ui.dart';
import '../helpers/helpers.dart';
void main() {
group('TextPa... | news_toolkit/flutter_news_example/packages/news_blocks_ui/test/src/text_paragraph_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/test/src/text_paragraph_test.dart",
"repo_id": "news_toolkit",
"token_count": 294
} | 892 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:news_blocks_ui/src/widgets/widgets.dart';
import '../../helpers/helpers.dart';
void main() {
group('PostFooter', () {
setUpAll(setUpTolerantComparator);
te... | news_toolkit/flutter_news_example/packages/news_blocks_ui/test/src/widgets/post_footer_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/news_blocks_ui/test/src/widgets/post_footer_test.dart",
"repo_id": "news_toolkit",
"token_count": 800
} | 893 |
# firebase_notifications_client
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![License: MIT][license_badge]][license_link]
A Firebase Cloud Messaging notifications client.
| news_toolkit/flutter_news_example/packages/notifications_client/firebase_notifications_client/README.md/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/notifications_client/firebase_notifications_client/README.md",
"repo_id": "news_toolkit",
"token_count": 67
} | 894 |
export 'src/one_signal_notifications_client.dart';
| news_toolkit/flutter_news_example/packages/notifications_client/one_signal_notifications_client/lib/one_signal_notifications_client.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/notifications_client/one_signal_notifications_client/lib/one_signal_notifications_client.dart",
"repo_id": "news_toolkit",
"token_count": 18
} | 895 |
export 'src/package_info_client.dart';
| news_toolkit/flutter_news_example/packages/package_info_client/lib/package_info_client.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/package_info_client/lib/package_info_client.dart",
"repo_id": "news_toolkit",
"token_count": 14
} | 896 |
import 'dart:async';
import 'package:clock/clock.dart';
import 'package:flutter/material.dart';
import 'package:in_app_purchase/in_app_purchase.dart';
import 'package:in_app_purchase_platform_interface/in_app_purchase_platform_interface.dart';
import 'package:purchase_client/src/products.dart';
/// Extension on [Purc... | news_toolkit/flutter_news_example/packages/purchase_client/lib/src/purchase_client.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/purchase_client/lib/src/purchase_client.dart",
"repo_id": "news_toolkit",
"token_count": 1262
} | 897 |
import 'package:authentication_client/authentication_client.dart';
import 'package:flutter_news_example_api/client.dart';
/// {@template user}
/// User model represents the current user with subscription plan.
/// {@endtemplate}
class User extends AuthenticationUser {
/// {@macro user}
const User({
required th... | news_toolkit/flutter_news_example/packages/user_repository/lib/src/models/user.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/packages/user_repository/lib/src/models/user.dart",
"repo_id": "news_toolkit",
"token_count": 398
} | 898 |
import 'package:flutter_news_example/analytics/analytics.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('AnalyticsState', () {
group('AnalyticsInitial', () {
test('supports value comparisons', () {
expect(AnalyticsInitial(), AnalyticsInitial());
});
});
});
... | news_toolkit/flutter_news_example/test/analytics/bloc/analytics_state_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/analytics/bloc/analytics_state_test.dart",
"repo_id": "news_toolkit",
"token_count": 116
} | 899 |
// ignore_for_file: prefer_const_constructors
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_news_example/article/article.dart';
import 'package:flutter_test/flutter_test.dart';
import '../../helpers/helpers.dart';
void main() {
group('ArticleThemeOverride', ()... | news_toolkit/flutter_news_example/test/article/widgets/article_theme_override_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/article/widgets/article_theme_override_test.dart",
"repo_id": "news_toolkit",
"token_count": 2178
} | 900 |
import 'package:flutter_test/flutter_test.dart';
import 'package:hydrated_bloc/hydrated_bloc.dart';
import 'package:mocktail/mocktail.dart';
class MockStorage extends Mock implements Storage {}
late Storage hydratedStorage;
void initMockHydratedStorage() {
TestWidgetsFlutterBinding.ensureInitialized();
hydratedS... | news_toolkit/flutter_news_example/test/helpers/mock_hydrated_storage.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/helpers/mock_hydrated_storage.dart",
"repo_id": "news_toolkit",
"token_count": 158
} | 901 |
// ignore_for_file: prefer_const_constructors
import 'package:flutter/material.dart';
import 'package:flutter_news_example/magic_link_prompt/magic_link_prompt.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mockingjay/mockingjay.dart';
import '../../helpers/helpers.dart';
void main() {
cons... | news_toolkit/flutter_news_example/test/magic_link_prompt/view/magic_link_prompt_page_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/magic_link_prompt/view/magic_link_prompt_page_test.dart",
"repo_id": "news_toolkit",
"token_count": 1111
} | 902 |
// ignore_for_file: prefer_const_constructors
import 'package:app_ui/app_ui.dart';
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_news_example/categories/categories.dart';
import 'package:flutter_news_example/n... | news_toolkit/flutter_news_example/test/notification_preferences/view/notification_preferences_page_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/notification_preferences/view/notification_preferences_page_test.dart",
"repo_id": "news_toolkit",
"token_count": 1461
} | 903 |
// ignore_for_file: prefer_const_constructors
import 'dart:async';
import 'package:bloc_test/bloc_test.dart';
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';
import 'pa... | news_toolkit/flutter_news_example/test/subscriptions/dialog/bloc/subscriptions_bloc_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/subscriptions/dialog/bloc/subscriptions_bloc_test.dart",
"repo_id": "news_toolkit",
"token_count": 3911
} | 904 |
// ignore_for_file: prefer_const_constructors
import 'package:app_ui/app_ui.dart';
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_news_example/analytics/analytics.dart';
import 'package:flutter_news_example/app... | news_toolkit/flutter_news_example/test/user_profile/view/user_profile_page_test.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/test/user_profile/view/user_profile_page_test.dart",
"repo_id": "news_toolkit",
"token_count": 7712
} | 905 |
ba393198430278b6595976de84fe170f553cc728
| packages/.ci/flutter_stable.version/0 | {
"file_path": "packages/.ci/flutter_stable.version",
"repo_id": "packages",
"token_count": 18
} | 906 |
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
# Does a sanity check that packages pass analysis with the lowest possible
# versions of all dependencies. This is to catch cases where we add use of
# new APIs but forget to update minimum versions of dependencies to where
# those APIs are i... | packages/.ci/targets/analyze_downgraded.yaml/0 | {
"file_path": "packages/.ci/targets/analyze_downgraded.yaml",
"repo_id": "packages",
"token_count": 142
} | 907 |
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
infra_step: true # Note infra steps failing prevents "always" from running.
- name: update pods repo
script: .ci/scripts/update_pods.sh
infra_step: true # Note infra steps failing prevents "always" from running.
- name: Swift format
... | packages/.ci/targets/macos_repo_checks.yaml/0 | {
"file_path": "packages/.ci/targets/macos_repo_checks.yaml",
"repo_id": "packages",
"token_count": 254
} | 908 |
# Below is a list of Flutter team members who are suggested reviewers
# for contributions to packages in this repository.
#
# These names are just suggestions. It is fine to have your changes
# reviewed by someone else.
packages/animations/** @goderbauer
packages/camera/** ... | packages/CODEOWNERS/0 | {
"file_path": "packages/CODEOWNERS",
"repo_id": "packages",
"token_count": 3572
} | 909 |
# Example Catalog for package:animations.
Run `flutter run --release` in this directory to launch the catalog on a device.
| packages/packages/animations/example/README.md/0 | {
"file_path": "packages/packages/animations/example/README.md",
"repo_id": "packages",
"token_count": 31
} | 910 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| packages/packages/animations/example/android/gradle.properties/0 | {
"file_path": "packages/packages/animations/example/android/gradle.properties",
"repo_id": "packages",
"token_count": 31
} | 911 |
// 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/animations.dart';
import 'package:flutter/material.dart';
/// The demo page for [SharedAxisPageTransitionsBuilder].
class Share... | packages/packages/animations/example/lib/shared_axis_transition.dart/0 | {
"file_path": "packages/packages/animations/example/lib/shared_axis_transition.dart",
"repo_id": "packages",
"token_count": 4154
} | 912 |
// 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_scale_transition.dart';
import 'package:animations/src/modal.dart';
import 'package:flutter/material.dart';
import 'pac... | packages/packages/animations/test/fade_scale_transition_test.dart/0 | {
"file_path": "packages/packages/animations/test/fade_scale_transition_test.dart",
"repo_id": "packages",
"token_count": 7484
} | 913 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// #docregion FullAppExample
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
late List<CameraDescription> _cameras;
Future<v... | packages/packages/camera/camera/example/lib/readme_full_example.dart/0 | {
"file_path": "packages/packages/camera/camera/example/lib/readme_full_example.dart",
"repo_id": "packages",
"token_count": 585
} | 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:camera/camera.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dar... | packages/packages/camera/camera/test/camera_preview_test.dart/0 | {
"file_path": "packages/packages/camera/camera/test/camera_preview_test.dart",
"repo_id": "packages",
"token_count": 2501
} | 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.
package io.flutter.plugins.camera;
import android.graphics.Rect;
import android.hardware.camera2.CameraAccessException;
import android.hardware.camera2.Ca... | packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/CameraPropertiesImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/CameraPropertiesImpl.java",
"repo_id": "packages",
"token_count": 1587
} | 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.features.fpsrange;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static... | packages/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/fpsrange/FpsRangeFeatureTest.java/0 | {
"file_path": "packages/packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/fpsrange/FpsRangeFeatureTest.java",
"repo_id": "packages",
"token_count": 1193
} | 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.camerax;
import androidx.annotation.NonNull;
import androidx.camera.core.Camera;
import androidx.camera.core.CameraControl;
imp... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraHostApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/CameraHostApiImpl.java",
"repo_id": "packages",
"token_count": 687
} | 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.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/FocusMeteringResultFlutterApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/FocusMeteringResultFlutterApiImpl.java",
"repo_id": "packages",
"token_count": 664
} | 919 |
// 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.ImagePro... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/PlaneProxyFlutterApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/PlaneProxyFlutterApiImpl.java",
"repo_id": "packages",
"token_count": 734
} | 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.ZoomState;
import io.flutter.plugin.common.BinaryMesse... | packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/ZoomStateFlutterApiImpl.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/ZoomStateFlutterApiImpl.java",
"repo_id": "packages",
"token_count": 426
} | 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 static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.mo... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/FallbackStrategyTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/FallbackStrategyTest.java",
"repo_id": "packages",
"token_count": 1941
} | 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.Mockito.mock;
import static org.mockito.Mockito... | packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/QualitySelectorTest.java/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/android/src/test/java/io/flutter/plugins/camerax/QualitySelectorTest.java",
"repo_id": "packages",
"token_count": 2067
} | 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.
import 'package:flutter/services.dart';
import 'package:meta/meta.dart';
import 'camera_state.dart';
import 'camerax_library.g.dart';
import 'instance_man... | packages/packages/camera/camera_android_camerax/lib/src/live_data.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/live_data.dart",
"repo_id": "packages",
"token_count": 2278
} | 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.
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/zoom_state.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/lib/src/zoom_state.dart",
"repo_id": "packages",
"token_count": 835
} | 925 |
// Mocks generated by Mockito 5.4.4 from annotations
// in camera_android_camerax/test/focus_metering_action_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:camera_android_camerax/src/camera_info.dart' as _i2;
import 'package:camera_android_... | packages/packages/camera/camera_android_camerax/test/focus_metering_action_test.mocks.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/focus_metering_action_test.mocks.dart",
"repo_id": "packages",
"token_count": 1289
} | 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:camera_android_camerax/src/camerax_library.g.dart';
import 'package:camera_android_camerax/src/instance_manager.dart';
import 'package:came... | packages/packages/camera/camera_android_camerax/test/pending_recording_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/pending_recording_test.dart",
"repo_id": "packages",
"token_count": 818
} | 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 'dart:ui';
import 'package:camera_android_camerax/src/camerax_library.g.dart';
import 'package:camera_android_camerax/src/instance_manager.dart';
i... | packages/packages/camera/camera_android_camerax/test/resolution_strategy_test.dart/0 | {
"file_path": "packages/packages/camera/camera_android_camerax/test/resolution_strategy_test.dart",
"repo_id": "packages",
"token_count": 1317
} | 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:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
/// A mock [MethodChannel] implementation for use in tests.
class... | packages/packages/camera/camera_windows/test/utils/method_channel_mock.dart/0 | {
"file_path": "packages/packages/camera/camera_windows/test/utils/method_channel_mock.dart",
"repo_id": "packages",
"token_count": 482
} | 929 |
## 0.3.4+1
* Removes a few deprecated API usages.
## 0.3.4
* Updates to web code to package `web: ^0.5.0`.
* Updates SDK version to Dart `^3.3.0`.
## 0.3.3+8
* Now supports `dart2wasm` compilation.
* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
## 0.3.3+7
* Updates README to improve example of... | packages/packages/cross_file/CHANGELOG.md/0 | {
"file_path": "packages/packages/cross_file/CHANGELOG.md",
"repo_id": "packages",
"token_count": 806
} | 930 |
// 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/rendering.dart';
import 'base_grid_layout.dart';
// The model that tracks the current max size of the Sliver in the mainAxis and
... | packages/packages/dynamic_layouts/lib/src/wrap_layout.dart/0 | {
"file_path": "packages/packages/dynamic_layouts/lib/src/wrap_layout.dart",
"repo_id": "packages",
"token_count": 3191
} | 931 |
rootProject.name = 'espresso'
| packages/packages/espresso/android/settings.gradle/0 | {
"file_path": "packages/packages/espresso/android/settings.gradle",
"repo_id": "packages",
"token_count": 10
} | 932 |
rootProject.name = 'file_selector_android'
| packages/packages/file_selector/file_selector_android/android/settings.gradle/0 | {
"file_path": "packages/packages/file_selector/file_selector_android/android/settings.gradle",
"repo_id": "packages",
"token_count": 14
} | 933 |
## NEXT
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
## 0.9.3+3
* Fixes handling of unknown file extensions on macOS 11+.
## 0.9.3+2
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
* Migrates `styleFrom` usage in examples off of deprecat... | packages/packages/file_selector/file_selector_macos/CHANGELOG.md/0 | {
"file_path": "packages/packages/file_selector/file_selector_macos/CHANGELOG.md",
"repo_id": "packages",
"token_count": 810
} | 934 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'file_selector_macos'
s.version = '0.0.1'
s.summary = 'macOS implementation of file_selector.'
s.description = <<-DESC
Displays native macOS open and save pane... | packages/packages/file_selector/file_selector_macos/macos/file_selector_macos.podspec/0 | {
"file_path": "packages/packages/file_selector/file_selector_macos/macos/file_selector_macos.podspec",
"repo_id": "packages",
"token_count": 415
} | 935 |
// Mocks generated by Mockito 5.4.4 from annotations
// in file_selector_windows/test/file_selector_windows_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:file_selector_windows/src/messages.g.dart' as _i2;
import 'package:mockito/mockito.da... | packages/packages/file_selector/file_selector_windows/test/file_selector_windows_test.mocks.dart/0 | {
"file_path": "packages/packages/file_selector/file_selector_windows/test/file_selector_windows_test.mocks.dart",
"repo_id": "packages",
"token_count": 1251
} | 936 |
// 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';
void main() {
runApp(const MyApp());
... | packages/packages/flutter_adaptive_scaffold/example/lib/adaptive_scaffold_demo.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/example/lib/adaptive_scaffold_demo.dart",
"repo_id": "packages",
"token_count": 1770
} | 937 |
// 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 'adaptive_layout.dart';
import 'breakpoints.dart';
import 'slot_layout.dart';
/// Gutter value between dif... | packages/packages/flutter_adaptive_scaffold/lib/src/adaptive_scaffold.dart/0 | {
"file_path": "packages/packages/flutter_adaptive_scaffold/lib/src/adaptive_scaffold.dart",
"repo_id": "packages",
"token_count": 11378
} | 938 |
# flutter_image_example
Demonstrates how to use the flutter_image package.
| packages/packages/flutter_image/example/README.md/0 | {
"file_path": "packages/packages/flutter_image/example/README.md",
"repo_id": "packages",
"token_count": 23
} | 939 |
name: flutter_image_example
description: flutter_image_example
publish_to: "none"
version: 1.0.0+1
environment:
sdk: ^3.1.0
flutter: ">=3.13.0"
dependencies:
cupertino_icons: ^1.0.2
flutter:
sdk: flutter
flutter_image:
path: "../"
dev_dependencies:
flutter_lints: ^2.0.0
flutter_test:
sdk:... | packages/packages/flutter_image/example/pubspec.yaml/0 | {
"file_path": "packages/packages/flutter_image/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 183
} | 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 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_markdown/flutter_markdown.dar... | packages/packages/flutter_markdown/example/lib/demos/basic_markdown_demo.dart/0 | {
"file_path": "packages/packages/flutter_markdown/example/lib/demos/basic_markdown_demo.dart",
"repo_id": "packages",
"token_count": 2347
} | 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 'blockquote_test.dart' as blockquote_test;
import 'custom_syntax_test.dart' as custome_syntax_test;
import 'emphasis_test.dart' as emphasis_test;
im... | packages/packages/flutter_markdown/test/all.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/all.dart",
"repo_id": "packages",
"token_count": 587
} | 942 |
// 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:flutter_test/flutter_test.dart';
import '... | packages/packages/flutter_markdown/test/list_test.dart/0 | {
"file_path": "packages/packages/flutter_markdown/test/list_test.dart",
"repo_id": "packages",
"token_count": 3267
} | 943 |
# Flutter Migrate
## Overview
This is a tool that helps migrate legacy Flutter projects generated with old version of
Flutter to modern Flutter templates. This allows old apps to access new features, update
key dependenices and prevent slow bitrot of projects over time without domain knowledge
of individual platforms... | packages/packages/flutter_migrate/README.md/0 | {
"file_path": "packages/packages/flutter_migrate/README.md",
"repo_id": "packages",
"token_count": 531
} | 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: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/apply.dart/0 | {
"file_path": "packages/packages/flutter_migrate/lib/src/commands/apply.dart",
"repo_id": "packages",
"token_count": 2877
} | 945 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io' as io;
import 'package:file/memory.dart';
import 'package:file_testing/file_testing.dart';
import 'package:flutter_m... | packages/packages/flutter_migrate/test/base/file_system_test.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/base/file_system_test.dart",
"repo_id": "packages",
"token_count": 4279
} | 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 'dart:io';
import 'package:flutter_migrate/src/base/file_system.dart';
import 'package:flutter_migrate/src/base/io.dart';
import 'package:flutter_m... | packages/packages/flutter_migrate/test/src/test_utils.dart/0 | {
"file_path": "packages/packages/flutter_migrate/test/src/test_utils.dart",
"repo_id": "packages",
"token_count": 685
} | 947 |
rootProject.name = 'flutter_plugin_android_lifecycle'
| packages/packages/flutter_plugin_android_lifecycle/android/settings.gradle/0 | {
"file_path": "packages/packages/flutter_plugin_android_lifecycle/android/settings.gradle",
"repo_id": "packages",
"token_count": 17
} | 948 |
There are several kinds of errors or exceptions in go_router.
* GoError and AssertionError
This kind of errors are thrown when go_router is used incorrectly, for example, if the root
[GoRoute.path](https://pub.dev/documentation/go_router/latest/go_router/GoRoute/path.html) does
not start with `/` or a builder in GoR... | packages/packages/go_router/doc/error-handling.md/0 | {
"file_path": "packages/packages/go_router/doc/error-handling.md",
"repo_id": "packages",
"token_count": 428
} | 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/material.dart';
import 'package:go_router/go_router.dart';
import 'package:url_launcher/link.dart';
import '../data.dart';
import ... | packages/packages/go_router/example/lib/books/src/screens/book_details.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/books/src/screens/book_details.dart",
"repo_id": "packages",
"token_count": 1075
} | 950 |
// 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 'package:logging/logging.dart';
void main() => runApp(App());
/... | packages/packages/go_router/example/lib/others/nav_observer.dart/0 | {
"file_path": "packages/packages/go_router/example/lib/others/nav_observer.dart",
"repo_id": "packages",
"token_count": 2167
} | 951 |
// 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/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router_... | packages/packages/go_router/example/test/redirection_test.dart/0 | {
"file_path": "packages/packages/go_router/example/test/redirection_test.dart",
"repo_id": "packages",
"token_count": 603
} | 952 |
// 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:convert';
import 'package:collection/collection.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter... | packages/packages/go_router/lib/src/match.dart/0 | {
"file_path": "packages/packages/go_router/lib/src/match.dart",
"repo_id": "packages",
"token_count": 11348
} | 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:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
import 'test_helpers.d... | packages/packages/go_router/test/builder_test.dart/0 | {
"file_path": "packages/packages/go_router/test/builder_test.dart",
"repo_id": "packages",
"token_count": 6821
} | 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 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';
i... | packages/packages/go_router/test/logging_test.dart/0 | {
"file_path": "packages/packages/go_router/test/logging_test.dart",
"repo_id": "packages",
"token_count": 830
} | 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: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/0 | {
"file_path": "packages/packages/go_router/test_fixes/go_router.dart",
"repo_id": "packages",
"token_count": 422
} | 956 |
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: always_specify_types, public_member_api_docs
part of 'extra_example.dart';
// **************************************************************************
// GoRouterGenerator
// **************************************************************************
Li... | packages/packages/go_router_builder/example/lib/extra_example.g.dart/0 | {
"file_path": "packages/packages/go_router_builder/example/lib/extra_example.g.dart",
"repo_id": "packages",
"token_count": 851
} | 957 |
name: go_router_builder_example
description: go_router_builder examples
publish_to: none
environment:
sdk: ^3.1.0
dependencies:
collection: ^1.15.0
flutter:
sdk: flutter
go_router: ^10.0.0
provider: 6.0.5
dev_dependencies:
build_runner: ^2.3.0
build_verify: ^3.1.0
flutter_test:
sdk: flutter
... | packages/packages/go_router_builder/example/pubspec.yaml/0 | {
"file_path": "packages/packages/go_router_builder/example/pubspec.yaml",
"repo_id": "packages",
"token_count": 182
} | 958 |
# google_identity_services_web_example
* `lib/main.dart`: An example on how to use the google_identiy_services_web `id` library from Dart.
* `lib/main_oauth.dart`: An example for the `oauth2` library from the same SDK.
| packages/packages/google_identity_services_web/example/README.md/0 | {
"file_path": "packages/packages/google_identity_services_web/example/README.md",
"repo_id": "packages",
"token_count": 75
} | 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.
@TestOn('browser') // Uses package:web
library;
import 'package:google_identity_services_web/loader.dart';
import 'package:test/test.dart';
import 'packag... | packages/packages/google_identity_services_web/test/js_loader_tt_forbidden_test.dart/0 | {
"file_path": "packages/packages/google_identity_services_web/test/js_loader_tt_forbidden_test.dart",
"repo_id": "packages",
"token_count": 433
} | 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.
import 'package:integration_test/integration_test.dart';
import 'src/maps_controller.dart' as maps_controller;
import 'src/maps_inspector.dart' as maps_in... | packages/packages/google_maps_flutter/google_maps_flutter/example/integration_test/google_maps_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/example/integration_test/google_maps_test.dart",
"repo_id": "packages",
"token_count": 228
} | 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
impo... | packages/packages/google_maps_flutter/google_maps_flutter/test/tile_overlay_updates_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter/test/tile_overlay_updates_test.dart",
"repo_id": "packages",
"token_count": 1045
} | 962 |
// 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 android.content.Context;
import androidx.annotation.VisibleForTesting;
import com.google.android.gms.maps.Ma... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/GoogleMapInitializer.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/GoogleMapInitializer.java",
"repo_id": "packages",
"token_count": 1302
} | 963 |
// 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.GoogleMap;
import com.google.android.gms.maps.model.Polyline;
import com.google.... | packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolylinesController.java/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/PolylinesController.java",
"repo_id": "packages",
"token_count": 1321
} | 964 |
mock-maker-inline
| packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_android/android/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker",
"repo_id": "packages",
"token_count": 7
} | 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.
import 'dart:ui' show Offset;
import 'package:flutter/foundation.dart'
show ValueChanged, VoidCallback, immutable;
import 'types.dart';
Object _offs... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/marker.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/marker.dart",
"repo_id": "packages",
"token_count": 3623
} | 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.
import 'package:flutter/material.dart';
import '../map_configuration.dart';
/// Returns a JSON representation of [config].
///
/// This is intended for t... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/map_configuration_serialization.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/utils/map_configuration_serialization.dart",
"repo_id": "packages",
"token_count": 915
} | 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.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps_flutter_platform_interface/google_maps... | packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/map_configuration_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/map_configuration_test.dart",
"repo_id": "packages",
"token_count": 7310
} | 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps/google_maps.dart'... | packages/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/google_maps_controller_test.dart/0 | {
"file_path": "packages/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/google_maps_controller_test.dart",
"repo_id": "packages",
"token_count": 12384
} | 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.googlesignin;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito... | packages/packages/google_sign_in/google_sign_in_android/android/src/test/java/io/flutter/plugins/googlesignin/GoogleSignInTest.java/0 | {
"file_path": "packages/packages/google_sign_in/google_sign_in_android/android/src/test/java/io/flutter/plugins/googlesignin/GoogleSignInTest.java",
"repo_id": "packages",
"token_count": 5078
} | 970 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.