text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2014 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' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/scheduler.dart';
import ... | flutter/packages/flutter/test/painting/image_cache_binding_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/image_cache_binding_test.dart",
"repo_id": "flutter",
"token_count": 549
} | 671 |
// Copyright 2014 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:flutter/gestures.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:... | flutter/packages/flutter/test/painting/text_span_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/text_span_test.dart",
"repo_id": "flutter",
"token_count": 7178
} | 672 |
// Copyright 2014 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:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('BoxConstraints toString... | flutter/packages/flutter/test/rendering/box_constraints_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/box_constraints_test.dart",
"repo_id": "flutter",
"token_count": 2503
} | 673 |
// Copyright 2014 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 'package:flutter_test/flutter_test.dart';
import 'rendering_tester.dart';
// before using this, consider ... | flutter/packages/flutter/test/rendering/intrinsic_width_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/intrinsic_width_test.dart",
"repo_id": "flutter",
"token_count": 9241
} | 674 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
import 'rendering_test... | flutter/packages/flutter/test/rendering/paint_error_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/paint_error_test.dart",
"repo_id": "flutter",
"token_count": 1820
} | 675 |
// Copyright 2014 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 'package:flutter_test/flutter_test.dart';
void main() {
const Rect rect = Rect.fromLTWH(100, 100, 200, ... | flutter/packages/flutter/test/rendering/selection_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/selection_test.dart",
"repo_id": "flutter",
"token_count": 1341
} | 676 |
// Copyright 2014 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';
void main() {
group('Sy... | flutter/packages/flutter/test/rendering/view_chrome_style_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/view_chrome_style_test.dart",
"repo_id": "flutter",
"token_count": 4599
} | 677 |
// Copyright 2014 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/semantics.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group(CustomSemanticsAction, () {
test('is ... | flutter/packages/flutter/test/semantics/custom_semantics_action_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/semantics/custom_semantics_action_test.dart",
"repo_id": "flutter",
"token_count": 385
} | 678 |
// Copyright 2014 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:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
Test... | flutter/packages/flutter/test/services/default_binary_messenger_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/default_binary_messenger_test.dart",
"repo_id": "flutter",
"token_count": 696
} | 679 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'fake_platform_views.dart';
void main() {
final TestWid... | flutter/packages/flutter/test/services/platform_views_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/platform_views_test.dart",
"repo_id": "flutter",
"token_count": 7301
} | 680 |
// Copyright 2014 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';
void main() {
// We need a separate test file for this test cas... | flutter/packages/flutter/test/services/use_platform_channel_without_initialization_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/use_platform_channel_without_initialization_test.dart",
"repo_id": "flutter",
"token_count": 314
} | 681 |
// Copyright 2014 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:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import '... | flutter/packages/flutter/test/widgets/app_lifecycle_listener_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/app_lifecycle_listener_test.dart",
"repo_id": "flutter",
"token_count": 2749
} | 682 |
// Copyright 2014 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/scheduler.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutte... | flutter/packages/flutter/test/widgets/binding_cannot_schedule_frame_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/binding_cannot_schedule_frame_test.dart",
"repo_id": "flutter",
"token_count": 513
} | 683 |
// Copyright 2014 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 run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
@TestOn('!chrome')
library;
im... | flutter/packages/flutter/test/widgets/color_filter_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/color_filter_test.dart",
"repo_id": "flutter",
"token_count": 1291
} | 684 |
// Copyright 2014 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';
void main() {
testWidgets('Text widget parameter takes precedenc... | flutter/packages/flutter/test/widgets/default_text_height_behavior_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/default_text_height_behavior_test.dart",
"repo_id": "flutter",
"token_count": 1562
} | 685 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services... | flutter/packages/flutter/test/widgets/editable_text_utils.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/editable_text_utils.dart",
"repo_id": "flutter",
"token_count": 1600
} | 686 |
// Copyright 2014 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/gestures.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutte... | flutter/packages/flutter/test/widgets/gesture_detector_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/gesture_detector_test.dart",
"repo_id": "flutter",
"token_count": 16491
} | 687 |
// Copyright 2014 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 run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
library;
import 'dart:math';
i... | flutter/packages/flutter/test/widgets/image_filter_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/image_filter_test.dart",
"repo_id": "flutter",
"token_count": 2901
} | 688 |
// Copyright 2014 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';
void main() {
testWidgets('Intrinsic stepWidth, stepHeight', (Wi... | flutter/packages/flutter/test/widgets/intrinsic_width_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/intrinsic_width_test.dart",
"repo_id": "flutter",
"token_count": 426
} | 689 |
// Copyright 2014 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';
const List<int> items = <int>[0, 1, 2, 3, 4, 5];
Widget buildFram... | flutter/packages/flutter/test/widgets/list_view_horizontal_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/list_view_horizontal_test.dart",
"repo_id": "flutter",
"token_count": 7335
} | 690 |
// Copyright 2014 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 Brightness, DisplayFeature, DisplayFeatureState, DisplayFeatureType, GestureSettings;
import 'package:flutter/gestures.dart';
import... | flutter/packages/flutter/test/widgets/media_query_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/media_query_test.dart",
"repo_id": "flutter",
"token_count": 24541
} | 691 |
// Copyright 2014 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';
class MyNotification extends Notification { }
void main() {
tes... | flutter/packages/flutter/test/widgets/notification_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/notification_test.dart",
"repo_id": "flutter",
"token_count": 1274
} | 692 |
// Copyright 2014 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';
Size pageSize = const Size(600.0, 300.0);
const List<int> defaultP... | flutter/packages/flutter/test/widgets/pageable_list_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/pageable_list_test.dart",
"repo_id": "flutter",
"token_count": 2201
} | 693 |
// Copyright 2014 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';
// This is a regression test for https://github.com/flutter/flutte... | flutter/packages/flutter/test/widgets/reparent_state_harder_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/reparent_state_harder_test.dart",
"repo_id": "flutter",
"token_count": 2208
} | 694 |
// Copyright 2014 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';
void main() {
testWidgets('Padding RTL', (WidgetTester tester) a... | flutter/packages/flutter/test/widgets/rtl_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/rtl_test.dart",
"repo_id": "flutter",
"token_count": 1323
} | 695 |
// Copyright 2014 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 'test_widgets.dart';
void main() {
testWidgets('simulta... | flutter/packages/flutter/test/widgets/scrollable_dispose_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/scrollable_dispose_test.dart",
"repo_id": "flutter",
"token_count": 1386
} | 696 |
// Copyright 2014 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/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
Future<... | flutter/packages/flutter/test/widgets/selection_container_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/selection_container_test.dart",
"repo_id": "flutter",
"token_count": 2926
} | 697 |
// Copyright 2014 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/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
import 'semantics_tester... | flutter/packages/flutter/test/widgets/semantics_keep_alive_offstage_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/semantics_keep_alive_offstage_test.dart",
"repo_id": "flutter",
"token_count": 1895
} | 698 |
// Copyright 2014 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';
void main() {
testWidgets('SharedAppData basics', (WidgetTester ... | flutter/packages/flutter/test/widgets/shared_app_data_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/shared_app_data_test.dart",
"repo_id": "flutter",
"token_count": 3153
} | 699 |
// Copyright 2014 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';
class TestItem extends StatelessWidget {
const TestItem({ super... | flutter/packages/flutter/test/widgets/sliver_prototype_item_extent_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/sliver_prototype_item_extent_test.dart",
"repo_id": "flutter",
"token_count": 3102
} | 700 |
// Copyright 2014 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 run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
library;
import 'dart:ui' as u... | flutter/packages/flutter/test/widgets/snapshot_widget_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/snapshot_widget_test.dart",
"repo_id": "flutter",
"token_count": 5131
} | 701 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering... | flutter/packages/flutter/test/widgets/text_selection_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/text_selection_test.dart",
"repo_id": "flutter",
"token_count": 27974
} | 702 |
// Copyright 2014 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:math' as math;
import 'package:flutter/foundation.dart' show clampDouble;
import 'package:flutter/gestures.dart' show DragStartBehavior;
impo... | flutter/packages/flutter/test/widgets/two_dimensional_utils.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/two_dimensional_utils.dart",
"repo_id": "flutter",
"token_count": 6036
} | 703 |
// Copyright 2014 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';
void main() {
// Generic reference variables.
BuildContext context;
RenderObjectWidget renderObjectWidget;
... | flutter/packages/flutter/test_fixes/material/material.dart.expect/0 | {
"file_path": "flutter/packages/flutter/test_fixes/material/material.dart.expect",
"repo_id": "flutter",
"token_count": 4592
} | 704 |
// Copyright 2014 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';
void main() {
// Generic reference variables.
BuildContext context;
RenderObjectWidget renderObjectWidget;
... | flutter/packages/flutter/test_fixes/widgets/widgets.dart.expect/0 | {
"file_path": "flutter/packages/flutter/test_fixes/widgets/widgets.dart.expect",
"repo_id": "flutter",
"token_count": 2419
} | 705 |
// Copyright 2014 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/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'pa... | flutter/packages/flutter_driver/lib/src/common/handler_factory.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/common/handler_factory.dart",
"repo_id": "flutter",
"token_count": 6881
} | 706 |
// Copyright 2014 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.
/// Returns the [p]-th percentile element from the [doubles].
/// `List<doubles>` will be sorted.
double findPercentile(List<double> doubles, double p) {
... | flutter/packages/flutter_driver/lib/src/driver/percentile_utils.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/driver/percentile_utils.dart",
"repo_id": "flutter",
"token_count": 132
} | 707 |
// Copyright 2014 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_driver/flutter_driver.dart';
import 'package:flutter_driver/src/driver/memory_summarizer.dart';
import '../common.dart';
Timeline... | flutter/packages/flutter_driver/test/src/gpu_memory_summarizer_test.dart/0 | {
"file_path": "flutter/packages/flutter_driver/test/src/gpu_memory_summarizer_test.dart",
"repo_id": "flutter",
"token_count": 355
} | 708 |
// Copyright 2014 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:js' as js;
import 'package:flutter_driver/src/extension/_extension_web.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {... | flutter/packages/flutter_driver/test/src/web_tests/web_extension_test.dart/0 | {
"file_path": "flutter/packages/flutter_driver/test/src/web_tests/web_extension_test.dart",
"repo_id": "flutter",
"token_count": 353
} | 709 |
// Copyright 2014 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.
/// Json response template for the contents of the auth_opt.json file created by
/// goldctl.
String authTemplate({
bool gsutil = false,
}) {
return ''... | flutter/packages/flutter_goldens/test/json_templates.dart/0 | {
"file_path": "flutter/packages/flutter_goldens/test/json_templates.dart",
"repo_id": "flutter",
"token_count": 417
} | 710 |
{
"timerPickerHourLabelTwo": "awr",
"datePickerHourSemanticsLabelZero": "$hour o'r gloch",
"datePickerHourSemanticsLabelTwo": "$hour o'r gloch",
"datePickerHourSemanticsLabelFew": "$hour o'r gloch",
"datePickerHourSemanticsLabelMany": "$hour o'r gloch",
"timerPickerSecondLabelFew": "eiliad",
"timerPickerS... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_cy.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_cy.arb",
"repo_id": "flutter",
"token_count": 782
} | 711 |
{
"datePickerHourSemanticsLabelOne": "$hour óra",
"datePickerHourSemanticsLabelOther": "$hour óra",
"datePickerMinuteSemanticsLabelOne": "1 perc",
"datePickerMinuteSemanticsLabelOther": "$minute perc",
"datePickerDateOrder": "ymd",
"datePickerDateTimeOrder": "date_dayPeriod_time",
"anteMeridiemAbbreviatio... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_hu.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_hu.arb",
"repo_id": "flutter",
"token_count": 456
} | 712 |
{
"datePickerHourSemanticsLabelOne": "$hour മണി",
"datePickerHourSemanticsLabelOther": "$hour മണി",
"datePickerMinuteSemanticsLabelOne": "ഒരു മിനിറ്റ്",
"datePickerMinuteSemanticsLabelOther": "$minute മിനിറ്റ്",
"datePickerDateOrder": "dmy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemA... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_ml.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_ml.arb",
"repo_id": "flutter",
"token_count": 1151
} | 713 |
{
"datePickerHourSemanticsLabelOne": "$hourයි",
"datePickerHourSemanticsLabelOther": "$hourයි",
"datePickerMinuteSemanticsLabelOne": "මිනිත්තු 1",
"datePickerMinuteSemanticsLabelOther": "මිනිත්තු $minute",
"datePickerDateOrder": "ymd",
"datePickerDateTimeOrder": "date_dayPeriod_time",
"anteMeridiemAbbrevi... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_si.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_si.arb",
"repo_id": "flutter",
"token_count": 853
} | 714 |
{
"datePickerHourSemanticsLabelOne": "$hour giờ",
"datePickerHourSemanticsLabelOther": "$hour giờ",
"datePickerMinuteSemanticsLabelOne": "1 phút",
"datePickerMinuteSemanticsLabelOther": "$minute phút",
"datePickerDateOrder": "dmy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemAbbreviatio... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_vi.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_vi.arb",
"repo_id": "flutter",
"token_count": 526
} | 715 |
{
"scriptCategory": "tall",
"timeOfDayFormat": "H:mm",
"openAppDrawerTooltip": "নেভিগেশন মেনু খুলুন",
"backButtonTooltip": "ফিরে যান",
"closeButtonTooltip": "বন্ধ করুন",
"deleteButtonTooltip": "মুছে দিন",
"nextMonthTooltip": "পরের মাস",
"previousMonthTooltip": "আগের মাস",
"nextPageTooltip": "পরের পৃষ্... | flutter/packages/flutter_localizations/lib/src/l10n/material_bn.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_bn.arb",
"repo_id": "flutter",
"token_count": 4497
} | 716 |
{
"scriptCategory": "tall",
"timeOfDayFormat": "H:mm",
"openAppDrawerTooltip": "નૅવિગેશન મેનૂ ખોલો",
"backButtonTooltip": "પાછળ",
"closeButtonTooltip": "બંધ કરો",
"deleteButtonTooltip": "ડિલીટ કરો",
"nextMonthTooltip": "આગલો મહિનો",
"previousMonthTooltip": "પાછલો મહિનો",
"nextPageTooltip": "આગલું પેજ"... | flutter/packages/flutter_localizations/lib/src/l10n/material_gu.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_gu.arb",
"repo_id": "flutter",
"token_count": 4653
} | 717 |
{
"scriptCategory": "tall",
"timeOfDayFormat": "H:mm",
"openAppDrawerTooltip": "ເປີດເມນູການນຳທາງ",
"backButtonTooltip": "ກັບຄືນ",
"closeButtonTooltip": "ປິດ",
"deleteButtonTooltip": "ລຶບ",
"nextMonthTooltip": "ເດືອນໜ້າ",
"previousMonthTooltip": "ເດືອນແລ້ວ",
"nextPageTooltip": "ໜ້າຕໍ່ໄປ",
"previousPa... | flutter/packages/flutter_localizations/lib/src/l10n/material_lo.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_lo.arb",
"repo_id": "flutter",
"token_count": 4938
} | 718 |
{
"scriptCategory": "tall",
"timeOfDayFormat": "HH:mm",
"anteMeridiemAbbreviation": "AM",
"@anteMeridiemAbbreviation": {"notUsed":"Pashto time format does not use a.m. indicator"},
"postMeridiemAbbreviation": "PM",
"@postMeridiemAbbreviation": {"notUsed":"Pashto time format does not use p.m. indicator"},
... | flutter/packages/flutter_localizations/lib/src/l10n/material_ps.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_ps.arb",
"repo_id": "flutter",
"token_count": 2393
} | 719 |
{
"reorderItemToStart": "Преместване в началото",
"reorderItemToEnd": "Преместване в края",
"reorderItemUp": "Преместване нагоре",
"reorderItemDown": "Преместване надолу",
"reorderItemLeft": "Преместване наляво",
"reorderItemRight": "Преместване надясно"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_bg.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_bg.arb",
"repo_id": "flutter",
"token_count": 187
} | 720 |
{
"reorderItemToStart": "Башына жылдыруу",
"reorderItemToEnd": "Аягына жылдыруу",
"reorderItemUp": "Жогору жылдыруу",
"reorderItemDown": "Төмөн жылдыруу",
"reorderItemLeft": "Солго жылдыруу",
"reorderItemRight": "Оңго жылдыруу"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_ky.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_ky.arb",
"repo_id": "flutter",
"token_count": 165
} | 721 |
{
"reorderItemToStart": "Przenieś na początek",
"reorderItemToEnd": "Przenieś na koniec",
"reorderItemUp": "Przenieś w górę",
"reorderItemDown": "Przenieś w dół",
"reorderItemLeft": "Przenieś w lewo",
"reorderItemRight": "Przenieś w prawo"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_pl.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_pl.arb",
"repo_id": "flutter",
"token_count": 125
} | 722 |
{
"reorderItemToStart": "ย้ายไปต้นรายการ",
"reorderItemToEnd": "ย้ายไปท้ายรายการ",
"reorderItemUp": "ย้ายขึ้น",
"reorderItemDown": "ย้ายลง",
"reorderItemLeft": "ย้ายไปทางซ้าย",
"reorderItemRight": "ย้ายไปทางขวา"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_th.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_th.arb",
"repo_id": "flutter",
"token_count": 206
} | 723 |
// Copyright 2014 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/cupertino.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_test/flutter_test.dart'... | flutter/packages/flutter_localizations/test/cupertino/date_picker_test.dart/0 | {
"file_path": "flutter/packages/flutter_localizations/test/cupertino/date_picker_test.dart",
"repo_id": "flutter",
"token_count": 673
} | 724 |
// Copyright 2014 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:clock/clock.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/rendering.dart... | flutter/packages/flutter_test/lib/src/controller.dart/0 | {
"file_path": "flutter/packages/flutter_test/lib/src/controller.dart",
"repo_id": "flutter",
"token_count": 30710
} | 725 |
// Copyright 2014 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:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';
import 'package:meta/meta.dart';
import 'package:tes... | flutter/packages/flutter_test/lib/src/test_compat.dart/0 | {
"file_path": "flutter/packages/flutter_test/lib/src/test_compat.dart",
"repo_id": "flutter",
"token_count": 6135
} | 726 |
// Copyright 2014 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';
void main() {
test('$WidgetsBinding initializes with $LiveTestWi... | flutter/packages/flutter_test/test/bindings_environment/flutter_test_variable_is_false_test.dart/0 | {
"file_path": "flutter/packages/flutter_test/test/bindings_environment/flutter_test_variable_is_false_test.dart",
"repo_id": "flutter",
"token_count": 219
} | 727 |
// Copyright 2014 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:flutter_test/flutter_test.dart';
void main() {
group(FrameTimingSummarizer, () {
test('calculates all fields', ()... | flutter/packages/flutter_test/test/frame_timing_summarizer_test.dart/0 | {
"file_path": "flutter/packages/flutter_test/test/frame_timing_summarizer_test.dart",
"repo_id": "flutter",
"token_count": 2310
} | 728 |
// Copyright 2014 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/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_trac... | flutter/packages/flutter_test/test/utils/memory_leak_tests.dart/0 | {
"file_path": "flutter/packages/flutter_test/test/utils/memory_leak_tests.dart",
"repo_id": "flutter",
"token_count": 1121
} | 729 |
// Copyright 2014 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';
void main() {
// Generic reference variables.
finders.FinderBase<Element> theStart;
finders.FinderB... | flutter/packages/flutter_test/test_fixes/flutter_test/semantics_controller.dart/0 | {
"file_path": "flutter/packages/flutter_test/test_fixes/flutter_test/semantics_controller.dart",
"repo_id": "flutter",
"token_count": 247
} | 730 |
#!/usr/bin/env bash
# Copyright 2014 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.
# exit on error, or usage of unset var
set -euo pipefail
# Needed because if it is set, cd may print the path it changed to.
unset CDPATH... | flutter/packages/flutter_tools/bin/xcode_backend.sh/0 | {
"file_path": "flutter/packages/flutter_tools/bin/xcode_backend.sh",
"repo_id": "flutter",
"token_count": 329
} | 731 |
include ':app'
| flutter/packages/flutter_tools/gradle/settings_aar.gradle.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/gradle/settings_aar.gradle.tmpl",
"repo_id": "flutter",
"token_count": 6
} | 732 |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="flutter_gallery" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="filePath" value="$PROJECT_DIR$/examples/flutter_gallery/lib/main.dart" />
<method />
</configuration>
</component> | flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/flutter_gallery.xml.copy.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/flutter_gallery.xml.copy.tmpl",
"repo_id": "flutter",
"token_count": 92
} | 733 |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="manual_tests - drag_and_drop" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="filePath" value="$PROJECT_DIR$/dev/manual_tests/lib/drag_and_drop.dart" />
<method />
</configuration>
</component> | flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/manual_tests___drag_and_drop.xml.copy.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/manual_tests___drag_and_drop.xml.copy.tmpl",
"repo_id": "flutter",
"token_count": 102
} | 734 |
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module> | flutter/packages/flutter_tools/ide_templates/intellij/flutter_root.iml.copy.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/ide_templates/intellij/flutter_root.iml.copy.tmpl",
"repo_id": "flutter",
"token_count": 106
} | 735 |
// Copyright 2014 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 '../base/common.dart';
import '../base/config.dart';
import '../base/file_system.dart';
import '../base/platform.dart';
import '../base/process.dart... | flutter/packages/flutter_tools/lib/src/android/android_sdk.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/android/android_sdk.dart",
"repo_id": "flutter",
"token_count": 8012
} | 736 |
// Copyright 2014 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 'base/context.dart';
import 'base/file_system.dart';
import 'build_info.dart';
abstract class ApplicationPackageFactory {
static ApplicationPacka... | flutter/packages/flutter_tools/lib/src/application_package.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/application_package.dart",
"repo_id": "flutter",
"token_count": 323
} | 737 |
// Copyright 2014 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 serves as the single point of entry into the `dart:io` APIs
/// within Flutter tools.
///
/// In order to make Flutter tools more testable, w... | flutter/packages/flutter_tools/lib/src/base/io.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/base/io.dart",
"repo_id": "flutter",
"token_count": 5384
} | 738 |
// Copyright 2014 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:meta/meta.dart' show immutable;
/// Data class that represents a range of versions in their String
/// representation.
///
/// Both the [v... | flutter/packages/flutter_tools/lib/src/base/version_range.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/base/version_range.dart",
"repo_id": "flutter",
"token_count": 237
} | 739 |
// Copyright 2014 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:meta/meta.dart';
import 'package:unified_analytics/unified_analytics.dart';
import '../../artifacts.dart';
import '../../base/build.dart';... | flutter/packages/flutter_tools/lib/src/build_system/targets/ios.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/build_system/targets/ios.dart",
"repo_id": "flutter",
"token_count": 8578
} | 740 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:args/args.dart';
import 'package:meta/meta.dart';
import 'package:process/process.dart';
import 'package:yaml/yaml.dart' as yaml;
import '... | flutter/packages/flutter_tools/lib/src/commands/analyze_base.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/analyze_base.dart",
"repo_id": "flutter",
"token_count": 4126
} | 741 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:file/file.dart';
import '../artifacts.dart';
import '../base/common.dart';
import '../base/io.dart';
import '../base/process.dart';
import... | flutter/packages/flutter_tools/lib/src/commands/build_preview.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/build_preview.dart",
"repo_id": "flutter",
"token_count": 1318
} | 742 |
// Copyright 2014 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 '../globals.dart' as globals;
import '../runner/flutter_command.dart';
class GenerateCommand extends FlutterCommand {
GenerateCommand() {
use... | flutter/packages/flutter_tools/lib/src/commands/generate.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/generate.dart",
"repo_id": "flutter",
"token_count": 288
} | 743 |
// Copyright 2014 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/file_system.dart';
import '../base/logger.dart';
import '../project.dart';
import '../project_valid... | flutter/packages/flutter_tools/lib/src/commands/validate_project.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/validate_project.dart",
"repo_id": "flutter",
"token_count": 1424
} | 744 |
// Copyright 2014 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:math' as math;
typedef _OutputSender = void Function(String category, String message, {bool? parseStackFrames, int? variablesReference});
//... | flutter/packages/flutter_tools/lib/src/debug_adapters/error_formatter.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/debug_adapters/error_formatter.dart",
"repo_id": "flutter",
"token_count": 2186
} | 745 |
// Copyright 2014 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:math' as math;
import 'package:meta/meta.dart';
import 'package:process/process.dart';
import 'android/android_emulator.dart';
import 'andro... | flutter/packages/flutter_tools/lib/src/emulator.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/emulator.dart",
"repo_id": "flutter",
"token_count": 4182
} | 746 |
// Copyright 2014 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 '../base/process.dart';
import 'fuchsia_device.dart';
import 'fuchsia_pm.dart';
/// Simple wrapper for interacting with the 'pkgctl' tool running ... | flutter/packages/flutter_tools/lib/src/fuchsia/pkgctl.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/fuchsia/pkgctl.dart",
"repo_id": "flutter",
"token_count": 527
} | 747 |
// Copyright 2014 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 '../../base/file_system.dart';
import '../../base/project_migrator.dart';
import '../../xcode_project.dart';
// The Runner target should inherit it... | flutter/packages/flutter_tools/lib/src/ios/migrations/project_base_configuration_migration.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/ios/migrations/project_base_configuration_migration.dart",
"repo_id": "flutter",
"token_count": 1217
} | 748 |
// Copyright 2014 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:native_assets_builder/native_assets_builder.dart'
hide NativeAssetsBuildRunner;
import 'package:native_assets_cli/native_assets_cli_int... | flutter/packages/flutter_tools/lib/src/isolated/native_assets/ios/native_assets.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/isolated/native_assets/ios/native_assets.dart",
"repo_id": "flutter",
"token_count": 2844
} | 749 |
// Copyright 2014 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:intl/locale.dart';
import '../base/common.dart';
import '../base/file_system.dart';
import '../base/logger.dart';
import '../convert.dart'... | flutter/packages/flutter_tools/lib/src/localizations/gen_l10n_types.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/localizations/gen_l10n_types.dart",
"repo_id": "flutter",
"token_count": 10105
} | 750 |
// Copyright 2014 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:file/memory.dart';
import 'package:meta/meta.dart';
import 'package:process/process.dart';
import '../base/common.da... | flutter/packages/flutter_tools/lib/src/macos/xcode.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/macos/xcode.dart",
"repo_id": "flutter",
"token_count": 3475
} | 751 |
// Copyright 2014 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:meta/meta.dart';
import 'package:xml/xml.dart';
import 'package:yaml/yaml.dart';
import '../src/convert.dart';
import 'android/android_bui... | flutter/packages/flutter_tools/lib/src/project.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/project.dart",
"repo_id": "flutter",
"token_count": 12047
} | 752 |
// Copyright 2014 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:unified_analytics/unified_analytics.dart';
import '../base/config.dart';
import '../base/io.dart';
import '../features.dart';
import '../g... | flutter/packages/flutter_tools/lib/src/reporting/unified_analytics.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/reporting/unified_analytics.dart",
"repo_id": "flutter",
"token_count": 905
} | 753 |
// Copyright 2014 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:typed_data';
import 'package:process/process.dart';
import '../base/file_system.dart';
import '../base/io.dart';
import... | flutter/packages/flutter_tools/lib/src/test/flutter_web_goldens.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/test/flutter_web_goldens.dart",
"repo_id": "flutter",
"token_count": 2616
} | 754 |
// Copyright 2014 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:meta/meta.dart' show visibleForTesting;
import 'package:vm_service/vm_service.dart' as vm_service;
import 'base/comm... | flutter/packages/flutter_tools/lib/src/vmservice.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/vmservice.dart",
"repo_id": "flutter",
"token_count": 13390
} | 755 |
// Copyright 2014 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 '../base/platform.dart';
import '../doctor_validator.dart';
import '../features.dart';
class WebWorkflow extends Workflow {
const WebWorkflow({
... | flutter/packages/flutter_tools/lib/src/web/workflow.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/web/workflow.dart",
"repo_id": "flutter",
"token_count": 269
} | 756 |
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/flutter/flutter/stable/packages/flutter_tools/static/custom-devices.schema.json",
"title": "Flutter Custom Devices",
"description": "The schema for the flutter custom devices config file.",
"type": "object",... | flutter/packages/flutter_tools/static/custom-devices.schema.json/0 | {
"file_path": "flutter/packages/flutter_tools/static/custom-devices.schema.json",
"repo_id": "flutter",
"token_count": 3069
} | 757 |
import Flutter
import UIKit
import XCTest
{{#withPlatformChannelPluginHook}}
@testable import {{pluginProjectName}}
// This demonstrates a simple unit test of the Swift portion of this plugin's implementation.
//
// See https://developer.apple.com/documentation/xctest for more information about using XCTest.
{{/withP... | flutter/packages/flutter_tools/templates/app_shared/ios-swift.tmpl/RunnerTests/RunnerTests.swift.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/templates/app_shared/ios-swift.tmpl/RunnerTests/RunnerTests.swift.tmpl",
"repo_id": "flutter",
"token_count": 353
} | 758 |
def localProperties = new Properties()
def localPropertiesFile = rootProject.file("local.properties")
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader("UTF-8") { reader ->
localProperties.load(reader)
}
}
def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
if (... | flutter/packages/flutter_tools/templates/module/android/deferred_component/build.gradle.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/templates/module/android/deferred_component/build.gradle.tmpl",
"repo_id": "flutter",
"token_count": 500
} | 759 |
<!-- Generated file. Do not edit. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="{{androidIdentifier}}"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET"/>
<application
tools:node="merge">
<meta-data
a... | flutter/packages/flutter_tools/templates/module/android/library_new_embedding/Flutter.tmpl/src/main/AndroidManifest.xml.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/templates/module/android/library_new_embedding/Flutter.tmpl/src/main/AndroidManifest.xml.tmpl",
"repo_id": "flutter",
"token_count": 244
} | 760 |
#include "../Flutter/Generated.xcconfig"
| flutter/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Config.tmpl/Flutter.xcconfig/0 | {
"file_path": "flutter/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Config.tmpl/Flutter.xcconfig",
"repo_id": "flutter",
"token_count": 16
} | 761 |
#include "include/{{projectName}}/{{pluginClassSnakeCase}}.h"
#include <flutter_linux/flutter_linux.h>
#include <gtk/gtk.h>
#include <sys/utsname.h>
#include <cstring>
#include "{{pluginClassSnakeCase}}_private.h"
#define {{pluginClassCapitalSnakeCase}}(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), {{pluginClassSnake... | flutter/packages/flutter_tools/templates/plugin/linux.tmpl/pluginClassSnakeCase.cc.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/templates/plugin/linux.tmpl/pluginClassSnakeCase.cc.tmpl",
"repo_id": "flutter",
"token_count": 1087
} | 762 |
rootProject.name = '{{projectName}}'
| flutter/packages/flutter_tools/templates/plugin_shared/android.tmpl/settings.gradle.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/templates/plugin_shared/android.tmpl/settings.gradle.tmpl",
"repo_id": "flutter",
"token_count": 12
} | 763 |
import 'package:flutter/material.dart';
import '../settings/settings_view.dart';
import 'sample_item.dart';
import 'sample_item_details_view.dart';
/// Displays a list of SampleItems.
class SampleItemListView extends StatelessWidget {
const SampleItemListView({
super.key,
this.items = const [SampleItem(1), ... | flutter/packages/flutter_tools/templates/skeleton/lib/src/sample_feature/sample_item_list_view.dart.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/templates/skeleton/lib/src/sample_feature/sample_item_list_view.dart.tmpl",
"repo_id": "flutter",
"token_count": 1004
} | 764 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:args/command_runner.dart';
import 'package:file/memory.dart';
import 'package:file_testing/file_testing.dart';
import 'package:flutter_tool... | flutter/packages/flutter_tools/test/commands.shard/hermetic/build_linux_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/build_linux_test.dart",
"repo_id": "flutter",
"token_count": 10738
} | 765 |
// Copyright 2014 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_tools/src/base/platform.dart';
import 'package:flutter_tools/src/doctor_validator.dart';
import 'package:flutter... | flutter/packages/flutter_tools/test/commands.shard/hermetic/http_host_validator_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/http_host_validator_test.dart",
"repo_id": "flutter",
"token_count": 5718
} | 766 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:args/command_runner.dart';
import 'package:flutter_tools/src/android/android_builder.dart';
import 'package:flutter_tools/src/android/andro... | flutter/packages/flutter_tools/test/commands.shard/permeable/build_aar_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/commands.shard/permeable/build_aar_test.dart",
"repo_id": "flutter",
"token_count": 4630
} | 767 |
// Copyright 2014 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/memory.dart';
import 'package:flutter_tools/src/android/android_device_discovery.dart';
import 'package:flutter_tools/src/android/andr... | flutter/packages/flutter_tools/test/general.shard/android/android_device_discovery_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/android/android_device_discovery_test.dart",
"repo_id": "flutter",
"token_count": 3326
} | 768 |
// Copyright 2014 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/memory.dart';
import 'package:flutter_tools/src/android/gradle.dart';
import 'package:flutter_tools/src/base/file_system.dart';
import... | flutter/packages/flutter_tools/test/general.shard/android/gradle_find_bundle_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/android/gradle_find_bundle_test.dart",
"repo_id": "flutter",
"token_count": 6111
} | 769 |
// Copyright 2014 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:archive/archive.dart';
import 'package:file/memory.dart';
import 'package:flutter_tools/src/base/analyze_size.dart';
import 'package:flutte... | flutter/packages/flutter_tools/test/general.shard/base/analyze_size_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/base/analyze_size_test.dart",
"repo_id": "flutter",
"token_count": 4726
} | 770 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.