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 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.... | flutter/packages/flutter/test/material/date_picker_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/date_picker_theme_test.dart",
"repo_id": "flutter",
"token_count": 16698
} | 712 |
// 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/material/elevated_button_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/elevated_button_test.dart",
"repo_id": "flutter",
"token_count": 33901
} | 713 |
// 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/material/floating_action_button_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/floating_action_button_test.dart",
"repo_id": "flutter",
"token_count": 20442
} | 714 |
// 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/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutt... | flutter/packages/flutter/test/material/list_tile_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/list_tile_theme_test.dart",
"repo_id": "flutter",
"token_count": 17258
} | 715 |
// 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';
void main() {
testWidgets('Navigation drawer updates destinatio... | flutter/packages/flutter/test/material/navigation_drawer_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/navigation_drawer_test.dart",
"repo_id": "flutter",
"token_count": 7688
} | 716 |
// 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';
im... | flutter/packages/flutter/test/material/radio_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/radio_test.dart",
"repo_id": "flutter",
"token_count": 27971
} | 717 |
// 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/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material... | flutter/packages/flutter/test/material/selection_area_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/selection_area_test.dart",
"repo_id": "flutter",
"token_count": 4989
} | 718 |
// 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/material/text_button_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/text_button_test.dart",
"repo_id": "flutter",
"token_count": 33468
} | 719 |
// 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/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'p... | flutter/packages/flutter/test/material/theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/theme_test.dart",
"repo_id": "flutter",
"token_count": 16644
} | 720 |
// 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/painting.dart';
import 'package:flutter_test/flutter_test.dart';
void approxExpect(Alignment a, Align... | flutter/packages/flutter/test/painting/alignment_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/alignment_test.dart",
"repo_id": "flutter",
"token_count": 5223
} | 721 |
// 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/painting.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('EdgeInsets constructors', () {
// fromL... | flutter/packages/flutter/test/painting/edge_insets_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/edge_insets_test.dart",
"repo_id": "flutter",
"token_count": 7367
} | 722 |
// 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:io';
import 'dart:ui';
import 'package:file/memory.dart';
import 'package:flutter/foundation.dart';
import 'package:flut... | flutter/packages/flutter/test/painting/image_provider_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/image_provider_test.dart",
"repo_id": "flutter",
"token_count": 2353
} | 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/painting.dart';
import 'package:flutter_test/flutter_test.dart';
import 'common_matchers.dart';
void main() {
test('StadiumBord... | flutter/packages/flutter/test/painting/stadium_border_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/stadium_border_test.dart",
"repo_id": "flutter",
"token_count": 8720
} | 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:flutter/physics.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('nearEquals', () {
expect(nearEqual(doubl... | flutter/packages/flutter/test/physics/utils_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/physics/utils_test.dart",
"repo_id": "flutter",
"token_count": 255
} | 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:math' as math;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
impor... | flutter/packages/flutter/test/rendering/editable_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/editable_test.dart",
"repo_id": "flutter",
"token_count": 32526
} | 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 'dart:ui';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
final RendererBinding binding... | flutter/packages/flutter/test/rendering/multi_view_binding_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/multi_view_binding_test.dart",
"repo_id": "flutter",
"token_count": 2685
} | 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 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'rendering_tester.... | flutter/packages/flutter/test/rendering/proxy_sliver_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/proxy_sliver_test.dart",
"repo_id": "flutter",
"token_count": 2291
} | 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/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('applyGrowthDirectionToAxisDirection produc... | flutter/packages/flutter/test/rendering/slivers_helpers_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/slivers_helpers_test.dart",
"repo_id": "flutter",
"token_count": 1665
} | 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/scheduler.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('debugAssertAllSchedulerVarsUnset control t... | flutter/packages/flutter/test/scheduler/debug_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/scheduler/debug_test.dart",
"repo_id": "flutter",
"token_count": 322
} | 730 |
// 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:convert';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
class TestAssetBundle extends AssetBundle... | flutter/packages/flutter/test/services/asset_manifest_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/asset_manifest_test.dart",
"repo_id": "flutter",
"token_count": 1199
} | 731 |
// 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_test/flutter_test.dart';
void main() {
testWidgets('initialLifecycleS... | flutter/packages/flutter/test/services/lifecycle_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/lifecycle_test.dart",
"repo_id": "flutter",
"token_count": 632
} | 732 |
// 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() {
TestWidgetsFlutterBinding.ensureInitialized();
... | flutter/packages/flutter/test/services/system_sound_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/system_sound_test.dart",
"repo_id": "flutter",
"token_count": 255
} | 733 |
// 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/src/foundation/diagnostics.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void mai... | flutter/packages/flutter/test/widgets/animated_list_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/animated_list_test.dart",
"repo_id": "flutter",
"token_count": 10856
} | 734 |
// 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';
final Matcher _matchesCommit = isMethodCall('TextInput.finishAuto... | flutter/packages/flutter/test/widgets/autofill_group_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/autofill_group_test.dart",
"repo_id": "flutter",
"token_count": 3444
} | 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 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('StatefulWidget BuildContext.mounted',... | flutter/packages/flutter/test/widgets/build_context_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/build_context_test.dart",
"repo_id": "flutter",
"token_count": 576
} | 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 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'semantics_tester.... | flutter/packages/flutter/test/widgets/custom_painter_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/custom_painter_test.dart",
"repo_id": "flutter",
"token_count": 12521
} | 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.
// TODO(gspencergoog): Remove this tag once this test's state leaks/test
// dependencies have been fixed.
// https://github.com/flutter/flutter/issues/8516... | flutter/packages/flutter/test/widgets/draggable_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/draggable_test.dart",
"repo_id": "flutter",
"token_count": 55532
} | 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 'dart:math' as math;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
impo... | flutter/packages/flutter/test/widgets/focus_manager_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/focus_manager_test.dart",
"repo_id": "flutter",
"token_count": 36674
} | 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:flutter/gestures.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutte... | flutter/packages/flutter/test/widgets/hit_testing_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/hit_testing_test.dart",
"repo_id": "flutter",
"token_count": 872
} | 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 'dart:ui' show FlutterView;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_t... | flutter/packages/flutter/test/widgets/independent_widget_layout_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/independent_widget_layout_test.dart",
"repo_id": "flutter",
"token_count": 2827
} | 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:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter/src/widgets/basic.dart';
import 'package:flutter/s... | flutter/packages/flutter/test/widgets/layout_builder_mutations_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/layout_builder_mutations_test.dart",
"repo_id": "flutter",
"token_count": 2891
} | 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 'dart:math' as math;
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
impor... | flutter/packages/flutter/test/widgets/listener_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/listener_test.dart",
"repo_id": "flutter",
"token_count": 6493
} | 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:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidge... | flutter/packages/flutter/test/widgets/multichildobject_with_keys_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/multichildobject_with_keys_test.dart",
"repo_id": "flutter",
"token_count": 1739
} | 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;
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
final Matcher doesNotOverscroll = isN... | flutter/packages/flutter/test/widgets/overscroll_indicator_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/overscroll_indicator_test.dart",
"repo_id": "flutter",
"token_count": 9997
} | 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 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
const String fakeAction1Id = 'fakeActivity.fakeAction1';
const String fa... | flutter/packages/flutter/test/widgets/process_text_utils.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/process_text_utils.dart",
"repo_id": "flutter",
"token_count": 520
} | 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 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
im... | flutter/packages/flutter/test/widgets/root_restoration_scope_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/root_restoration_scope_test.dart",
"repo_id": "flutter",
"token_count": 5447
} | 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 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('Scroll flings twice in a row does not... | flutter/packages/flutter/test/widgets/scroll_interaction_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/scroll_interaction_test.dart",
"repo_id": "flutter",
"token_count": 487
} | 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:flutter/gestures.dart' show DragStartBehavior;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'pac... | flutter/packages/flutter/test/widgets/scrollable_semantics_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/scrollable_semantics_test.dart",
"repo_id": "flutter",
"token_count": 8688
} | 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:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'semantics_tester.d... | flutter/packages/flutter/test/widgets/semantics_7_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/semantics_7_test.dart",
"repo_id": "flutter",
"token_count": 1981
} | 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 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('setState() overbuild test', (WidgetTe... | flutter/packages/flutter/test/widgets/set_state_2_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/set_state_2_test.dart",
"repo_id": "flutter",
"token_count": 726
} | 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:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidg... | flutter/packages/flutter/test/widgets/sliver_constraints_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/sliver_constraints_test.dart",
"repo_id": "flutter",
"token_count": 709
} | 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:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
Future<void> test(WidgetT... | flutter/packages/flutter/test/widgets/slivers_block_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/slivers_block_test.dart",
"repo_id": "flutter",
"token_count": 5786
} | 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 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
class TestWidget extends StatefulWidget {
const TestWidget({
... | flutter/packages/flutter/test/widgets/syncing_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/syncing_test.dart",
"repo_id": "flutter",
"token_count": 2364
} | 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 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('TrackingScrollController saves offset... | flutter/packages/flutter/test/widgets/tracking_scroll_controller_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/tracking_scroll_controller_test.dart",
"repo_id": "flutter",
"token_count": 1343
} | 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 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'pa... | flutter/packages/flutter/test/widgets/widget_inspector_test_utils.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/widget_inspector_test_utils.dart",
"repo_id": "flutter",
"token_count": 1249
} | 756 |
// 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() {
// Changes made in https://github.com/flutter/flutter/pull/86198
AppBarTheme appBarTheme = AppBa... | flutter/packages/flutter/test_fixes/material/app_bar_theme.dart/0 | {
"file_path": "flutter/packages/flutter/test_fixes/material/app_bar_theme.dart",
"repo_id": "flutter",
"token_count": 441
} | 757 |
// 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/painting.dart';
void main() {
// Change made in https://github.com/flutter/flutter/pull/121152
final EdgeInsets insets = EdgeI... | flutter/packages/flutter/test_fixes/painting/painting.dart/0 | {
"file_path": "flutter/packages/flutter/test_fixes/painting/painting.dart",
"repo_id": "flutter",
"token_count": 250
} | 758 |
// 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() {
// Changes made in https://flutter.dev/docs/release/breaking-changes/clip-behavior
ListWheelScrol... | flutter/packages/flutter/test_fixes/widgets/list_wheel_scroll_view.dart/0 | {
"file_path": "flutter/packages/flutter/test_fixes/widgets/list_wheel_scroll_view.dart",
"repo_id": "flutter",
"token_count": 247
} | 759 |
// 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';
void main() {
testWidgets('Can build widget tree in profile mod... | flutter/packages/flutter/test_profile/basic_test.dart/0 | {
"file_path": "flutter/packages/flutter/test_profile/basic_test.dart",
"repo_id": "flutter",
"token_count": 161
} | 760 |
// 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.
/// Indexes a list of `enum` values by simple name.
///
/// In Dart enum names are prefixed with enum class name. For example, for
/// `enum Vote { yea, na... | flutter/packages/flutter_driver/lib/src/common/enum_util.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/common/enum_util.dart",
"repo_id": "flutter",
"token_count": 498
} | 761 |
// 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:convert';
import 'message.dart';
/// A Flutter Driver command that waits until a given [condition] is satisfied.
class WaitForCondition exte... | flutter/packages/flutter_driver/lib/src/common/wait.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/common/wait.dart",
"repo_id": "flutter",
"token_count": 2213
} | 762 |
// 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:convert';
import 'dart:io';
import 'package:file/file.dart';
import 'package:matcher/matcher.dart';
import 'package:meta/meta.dart';
import '... | flutter/packages/flutter_driver/lib/src/driver/web_driver.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/driver/web_driver.dart",
"repo_id": "flutter",
"token_count": 4525
} | 763 |
// 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';
class StubFinder extends SerializableFinder {
StubFinder(this.keyString);
final String keyString... | flutter/packages/flutter_driver/test/src/real_tests/stubs/stub_finder.dart/0 | {
"file_path": "flutter/packages/flutter_driver/test/src/real_tests/stubs/stub_finder.dart",
"repo_id": "flutter",
"token_count": 156
} | 764 |
{
"datePickerHourSemanticsLabelOne": "Saat $hour",
"datePickerHourSemanticsLabelOther": "Saat $hour",
"datePickerMinuteSemanticsLabelOne": "1 dəqiqə",
"datePickerMinuteSemanticsLabelOther": "$minute dəqiqə",
"datePickerDateOrder": "mdy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemAbbre... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_az.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_az.arb",
"repo_id": "flutter",
"token_count": 484
} | 765 |
{
"lookUpButtonLabel": "Regarder en haut",
"searchWebButtonLabel": "Rechercher sur le Web",
"shareButtonLabel": "Partager…",
"noSpellCheckReplacementsLabel": "Aucun remplacement trouvé",
"menuDismissLabel": "Ignorer le menu",
"searchTextFieldPlaceholderLabel": "Rechercher",
"tabSemanticsLabel": "Onglet $t... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_fr_CA.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_fr_CA.arb",
"repo_id": "flutter",
"token_count": 429
} | 766 |
{
"datePickerHourSemanticsLabelOne": "\u0024\u0068\u006f\u0075\u0072\u0020\u0c97\u0c82\u0c9f\u0cc6",
"datePickerHourSemanticsLabelOther": "\u0024\u0068\u006f\u0075\u0072\u0020\u0c97\u0c82\u0c9f\u0cc6",
"datePickerMinuteSemanticsLabelOne": "\u0031\u0020\u0ca8\u0cbf\u0cae\u0cbf\u0cb7",
"datePickerMinuteSemanticsL... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_kn.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_kn.arb",
"repo_id": "flutter",
"token_count": 1715
} | 767 |
{
"datePickerHourSemanticsLabelOne": "$hourଟା",
"datePickerHourSemanticsLabelOther": "$hourଟା",
"datePickerMinuteSemanticsLabelOne": "1 ମିନିଟ୍",
"datePickerMinuteSemanticsLabelOther": "$minute ମିନିଟ୍",
"datePickerDateOrder": "mdy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemAbbreviatio... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_or.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_or.arb",
"repo_id": "flutter",
"token_count": 1010
} | 768 |
{
"datePickerHourSemanticsLabelOne": "$hour అవుతుంది",
"datePickerHourSemanticsLabelOther": "$hour అవుతుంది",
"datePickerMinuteSemanticsLabelOne": "1 నిమిషం",
"datePickerMinuteSemanticsLabelOther": "$minute నిమిషాలు",
"datePickerDateOrder": "mdy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMer... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_te.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_te.arb",
"repo_id": "flutter",
"token_count": 1075
} | 769 |
{
"scriptCategory": "English-like",
"timeOfDayFormat": "H:mm",
"openAppDrawerTooltip": "Maak navigasiekieslys oop",
"backButtonTooltip": "Terug",
"closeButtonTooltip": "Maak toe",
"deleteButtonTooltip": "Vee uit",
"nextMonthTooltip": "Volgende maand",
"previousMonthTooltip": "Vorige maand",
"nextPageT... | flutter/packages/flutter_localizations/lib/src/l10n/material_af.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_af.arb",
"repo_id": "flutter",
"token_count": 2242
} | 770 |
{
"scriptCategory": "English-like",
"@scriptCategory": {
"description": "The name of the language's script category (see https://material.io/design/typography/language-support.html#language-categories-reference).",
"x-flutter-type": "scriptCategory"
},
"timeOfDayFormat": "h:mm a",
"@timeOfDayFormat":... | flutter/packages/flutter_localizations/lib/src/l10n/material_en.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_en.arb",
"repo_id": "flutter",
"token_count": 11405
} | 771 |
{
"scriptCategory": "tall",
"timeOfDayFormat": "H:mm",
"selectedRowCountTitleOne": "۱ مورد انتخاب شد",
"openAppDrawerTooltip": "باز کردن منوی پیمایش",
"backButtonTooltip": "برگشت",
"closeButtonTooltip": "بستن",
"deleteButtonTooltip": "حذف",
"nextMonthTooltip": "ماه بعد",
"previousMonthTooltip": "ماه ق... | flutter/packages/flutter_localizations/lib/src/l10n/material_fa.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_fa.arb",
"repo_id": "flutter",
"token_count": 3270
} | 772 |
{
"scriptCategory": "dense",
"timeOfDayFormat": "H:mm",
"selectedRowCountTitleOne": "1 件のアイテムを選択中",
"openAppDrawerTooltip": "ナビゲーション メニューを開く",
"backButtonTooltip": "戻る",
"closeButtonTooltip": "閉じる",
"deleteButtonTooltip": "削除",
"nextMonthTooltip": "来月",
"previousMonthTooltip": "前月",
"nextPageTooltip... | flutter/packages/flutter_localizations/lib/src/l10n/material_ja.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_ja.arb",
"repo_id": "flutter",
"token_count": 2695
} | 773 |
{
"scriptCategory": "English-like",
"timeOfDayFormat": "HH:mm",
"openAppDrawerTooltip": "Åpne navigasjonsmenyen",
"backButtonTooltip": "Tilbake",
"closeButtonTooltip": "Lukk",
"deleteButtonTooltip": "Slett",
"moreButtonTooltip": "Mer",
"nextMonthTooltip": "Neste måned",
"previousMonthTooltip": "Forrig... | flutter/packages/flutter_localizations/lib/src/l10n/material_nb.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_nb.arb",
"repo_id": "flutter",
"token_count": 2225
} | 774 |
{
"licensesPackageDetailTextFew": "$licenseCount лиценце",
"remainingTextFieldCharacterCountFew": "Преостала су $remainingCount знака",
"scriptCategory": "English-like",
"timeOfDayFormat": "HH:mm",
"selectedRowCountTitleFew": "Изабране су $selectedRowCount ставке",
"openAppDrawerTooltip": "Отворите мени за ... | flutter/packages/flutter_localizations/lib/src/l10n/material_sr.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_sr.arb",
"repo_id": "flutter",
"token_count": 3416
} | 775 |
{
"scriptCategory": "English-like",
"timeOfDayFormat": "H:mm",
"openAppDrawerTooltip": "Vula imenyu yokuzulazula",
"backButtonTooltip": "Emuva",
"closeButtonTooltip": "Vala",
"deleteButtonTooltip": "Susa",
"nextMonthTooltip": "Inyanga ezayo",
"previousMonthTooltip": "Inyanga edlule",
"nextPageTooltip"... | flutter/packages/flutter_localizations/lib/src/l10n/material_zu.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_zu.arb",
"repo_id": "flutter",
"token_count": 2407
} | 776 |
{
"reorderItemToStart": "Μετακίνηση στην αρχή",
"reorderItemToEnd": "Μετακίνηση στο τέλος",
"reorderItemUp": "Μετακίνηση προς τα πάνω",
"reorderItemDown": "Μετακίνηση προς τα κάτω",
"reorderItemLeft": "Μετακίνηση αριστερά",
"reorderItemRight": "Μετακίνηση δεξιά"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_el.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_el.arb",
"repo_id": "flutter",
"token_count": 215
} | 777 |
{
"reorderItemToStart": "Eraman hasierara",
"reorderItemToEnd": "Eraman amaierara",
"reorderItemUp": "Eraman gora",
"reorderItemDown": "Eraman behera",
"reorderItemLeft": "Eraman ezkerrera",
"reorderItemRight": "Eraman eskuinera"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_eu.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_eu.arb",
"repo_id": "flutter",
"token_count": 104
} | 778 |
{
"reorderItemToStart": "Sposta all'inizio",
"reorderItemToEnd": "Sposta alla fine",
"reorderItemUp": "Sposta su",
"reorderItemDown": "Sposta giù",
"reorderItemLeft": "Sposta a sinistra",
"reorderItemRight": "Sposta a destra"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_it.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_it.arb",
"repo_id": "flutter",
"token_count": 98
} | 779 |
{
"reorderItemToStart": "အစသို့ ရွှေ့ရန်",
"reorderItemToEnd": "အဆုံးသို့ ရွှေ့ရန်",
"reorderItemUp": "အပေါ်သို့ ရွှေ့ရန်",
"reorderItemDown": "အောက်သို့ရွှေ့ရန်",
"reorderItemLeft": "ဘယ်ဘက်သို့ရွှေ့ရန်",
"reorderItemRight": "ညာဘက်သို့ရွှေ့ရန်"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_my.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_my.arb",
"repo_id": "flutter",
"token_count": 368
} | 780 |
{
"reorderItemToStart": "Lëvize në fillim",
"reorderItemToEnd": "Lëvize në fund",
"reorderItemUp": "Lëvize lart",
"reorderItemDown": "Lëvize poshtë",
"reorderItemLeft": "Lëvize majtas",
"reorderItemRight": "Lëvize djathtas"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_sq.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_sq.arb",
"repo_id": "flutter",
"token_count": 109
} | 781 |
{
"reorderItemToStart": "移至開頭",
"reorderItemToEnd": "移至結尾",
"reorderItemUp": "向上移",
"reorderItemDown": "向下移",
"reorderItemLeft": "向左移",
"reorderItemRight": "向右移"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_zh_TW.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_zh_TW.arb",
"repo_id": "flutter",
"token_count": 115
} | 782 |
// 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_localizations/flutter_localizations.dart';
import 'package:flutter_test/flutter_test.dart';... | flutter/packages/flutter_localizations/test/text_test.dart/0 | {
"file_path": "flutter/packages/flutter_localizations/test/text_test.dart",
"repo_id": "flutter",
"token_count": 5617
} | 783 |
// 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:io';
import 'dart:math' as math;
import 'dart:ui';
import 'package:flutter/foundation.dart';
import 'package:matcher/exp... | flutter/packages/flutter_test/lib/src/_goldens_io.dart/0 | {
"file_path": "flutter/packages/flutter_test/lib/src/_goldens_io.dart",
"repo_id": "flutter",
"token_count": 4555
} | 784 |
// 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/services.dart';
/// A mock stream handler for an [EventChannel] that mimics the native
/// StreamHandler API... | flutter/packages/flutter_test/lib/src/mock_event_channel.dart/0 | {
"file_path": "flutter/packages/flutter_test/lib/src/mock_event_channel.dart",
"repo_id": "flutter",
"token_count": 847
} | 785 |
// 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' hide window;
import 'package:flutter/foundation.dart';
/// Test version of [AccessibilityFeatures] in which specific features may
/// be... | flutter/packages/flutter_test/lib/src/window.dart/0 | {
"file_path": "flutter/packages/flutter_test/lib/src/window.dart",
"repo_id": "flutter",
"token_count": 21062
} | 786 |
// 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() {
final LiveTestWidgetsFlutterBinding binding = Li... | flutter/packages/flutter_test/test/coordinate_translation_test.dart/0 | {
"file_path": "flutter/packages/flutter_test/test/coordinate_translation_test.dart",
"repo_id": "flutter",
"token_count": 1430
} | 787 |
// 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:convert' show json;
import 'dart:math' as math;
import 'package:args/args.dart';
import 'package:flutter_tools/src/artifacts.dart';
import 'p... | flutter/packages/flutter_tools/bin/fuchsia_tester.dart/0 | {
"file_path": "flutter/packages/flutter_tools/bin/fuchsia_tester.dart",
"repo_id": "flutter",
"token_count": 2796
} | 788 |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="catalog - animated_list" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="filePath" value="$PROJECT_DIR$/examples/catalog/lib/animated_list.dart" />
<method />
</configuration>
</component> | flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/catalog___animated_list.xml.copy.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/catalog___animated_list.xml.copy.tmpl",
"repo_id": "flutter",
"token_count": 95
} | 789 |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="layers - sectors" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="filePath" value="$PROJECT_DIR$/examples/layers/widgets/sectors.dart" />
<method />
</configuration>
</component> | flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/layers___sectors.xml.copy.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/layers___sectors.xml.copy.tmpl",
"repo_id": "flutter",
"token_count": 92
} | 790 |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="platform_channel" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="filePath" value="$PROJECT_DIR$/examples/platform_channel/lib/main.dart" />
<method />
</configuration>
</component> | flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/platform_channel.xml.copy.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/platform_channel.xml.copy.tmpl",
"repo_id": "flutter",
"token_count": 90
} | 791 |
// 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.
final RegExp _whitespace = RegExp(r'\s+');
/// Convert adb device names into more human readable descriptions.
String cleanAdbDeviceName(String name) {
... | flutter/packages/flutter_tools/lib/src/android/adb.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/android/adb.dart",
"repo_id": "flutter",
"token_count": 188
} | 792 |
// 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';
import 'package:crypto/crypto.dart';
import 'package:meta/meta.dart';
import 'package:process/process.dart';
import 'package:unified_a... | flutter/packages/flutter_tools/lib/src/android/gradle.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/android/gradle.dart",
"repo_id": "flutter",
"token_count": 16443
} | 793 |
// 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:meta/meta.dart';
import '../convert.dart';
import 'error_handling_io.dart';
import 'file_system.dart';
... | flutter/packages/flutter_tools/lib/src/base/config.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/base/config.dart",
"repo_id": "flutter",
"token_count": 2203
} | 794 |
// 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:collection';
import '../globals.dart' as globals;
/// A closure type used by the [TaskQueue].
typedef TaskQueueClosure<... | flutter/packages/flutter_tools/lib/src/base/task_queue.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/base/task_queue.dart",
"repo_id": "flutter",
"token_count": 1089
} | 795 |
// 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 '../../artifacts.dart';
import '../../base/build.dart';
import '../../base/deferred_component.dart';
import '../../base/file_system.dart';
import '.... | flutter/packages/flutter_tools/lib/src/build_system/targets/android.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/build_system/targets/android.dart",
"repo_id": "flutter",
"token_count": 6613
} | 796 |
// 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 'dart:typed_data';
import 'package:meta/meta.dart';
import 'package:pool/pool.dart';
import 'package:process/process.da... | flutter/packages/flutter_tools/lib/src/build_system/tools/shader_compiler.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/build_system/tools/shader_compiler.dart",
"repo_id": "flutter",
"token_count": 2512
} | 797 |
// 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 '../android/android_builder.dart';
import '../android/build_validation.dart';
import '..... | flutter/packages/flutter_tools/lib/src/commands/build_appbundle.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/build_appbundle.dart",
"repo_id": "flutter",
"token_count": 2508
} | 798 |
// 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:async/async.dart';
import 'package:meta/meta.dart';
import 'package:uuid/uuid.dart';
import '../android/android_work... | flutter/packages/flutter_tools/lib/src/commands/daemon.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/daemon.dart",
"repo_id": "flutter",
"token_count": 24388
} | 799 |
// 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';
import 'package:unified_analytics/unified_analytics.dart' as analytics;
import 'package:vm_service/v... | flutter/packages/flutter_tools/lib/src/commands/run.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/run.dart",
"repo_id": "flutter",
"token_count": 13878
} | 800 |
// 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:math' as math;
import 'package:process/process.dart';
import '../base/file_system.dart';
import '../base/io.dart';
impo... | flutter/packages/flutter_tools/lib/src/dart/analysis.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/dart/analysis.dart",
"repo_id": "flutter",
"token_count": 4231
} | 801 |
// 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:math' as math;
import 'package:meta/meta.dart';
import 'application_package.dart';
import 'base/context.dart';
import '... | flutter/packages/flutter_tools/lib/src/device.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/device.dart",
"repo_id": "flutter",
"token_count": 16437
} | 802 |
// 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 '../application_package.dart';
import '../base/file_system.dart';
import '../build_info.dart';
import '../globals.dart' as globals;
import '../proje... | flutter/packages/flutter_tools/lib/src/fuchsia/application_package.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/fuchsia/application_package.dart",
"repo_id": "flutter",
"token_count": 864
} | 803 |
// 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';
import 'package:process/process.dart';
import '../artifacts.dart';
import '../base/file_system.dart... | flutter/packages/flutter_tools/lib/src/ios/ios_deploy.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/ios/ios_deploy.dart",
"repo_id": "flutter",
"token_count": 9205
} | 804 |
// 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 '../application_package.dart';
import '../base/file_system.dart';
import '../build_info.dart';
import '../cmake.dart';
import '../cmake_project.dart... | flutter/packages/flutter_tools/lib/src/linux/application_package.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/linux/application_package.dart",
"repo_id": "flutter",
"token_count": 593
} | 805 |
// 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/io.dart';
import '../base/logger.dart';
import '../base/os.dart'... | flutter/packages/flutter_tools/lib/src/macos/macos_device.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/macos/macos_device.dart",
"repo_id": "flutter",
"token_count": 1568
} | 806 |
// 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';
// Migrate Xcode Thin Binary build phase to dep... | flutter/packages/flutter_tools/lib/src/migrations/xcode_thin_binary_build_phase_input_paths_migration.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/migrations/xcode_thin_binary_build_phase_input_paths_migration.dart",
"repo_id": "flutter",
"token_count": 828
} | 807 |
// 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/file.dart';
import 'package:http/http.dart' as http;
import '../base/file_system.dart';
import '../base/io.dart... | flutter/packages/flutter_tools/lib/src/reporting/crash_reporting.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/reporting/crash_reporting.dart",
"repo_id": "flutter",
"token_count": 2449
} | 808 |
// 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 '../base/common.dart';
import '../base/logger.dart';
import '../base/platform.dart';
import '../base/terminal.dart... | flutter/packages/flutter_tools/lib/src/runner/target_devices.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/runner/target_devices.dart",
"repo_id": "flutter",
"token_count": 10107
} | 809 |
// 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:test_core/src/executable.dart' as test; // ignore: implementation_imports
import 'package:test_core/src/platform.dart... | flutter/packages/flutter_tools/lib/src/test/test_wrapper.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/test/test_wrapper.dart",
"repo_id": "flutter",
"token_count": 345
} | 810 |
// 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:package_config/package_config.dart';
/// Generates the main.dart file.
String generateMainDartFile(String appEntrypoint, {
required Stri... | flutter/packages/flutter_tools/lib/src/web/file_generators/main_dart.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/web/file_generators/main_dart.dart",
"repo_id": "flutter",
"token_count": 579
} | 811 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.