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_test/flutter_test.dart';
@immutable
class _MockKey {
const _MockKey({required this.has... | flutter/packages/flutter/test/foundation/persistent_hash_map_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/foundation/persistent_hash_map_test.dart",
"repo_id": "flutter",
"token_count": 1164
} | 654 |
// 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:clock/clock.dart';
import 'package:fake_async/fake_async.dart';
import 'package:flutter/foundation.dart';
import '... | flutter/packages/flutter/test/gestures/gesture_binding_resample_event_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/gesture_binding_resample_event_test.dart",
"repo_id": "flutter",
"token_count": 2417
} | 655 |
// 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_test/flutter_test.dart';
import 'gesture_tester.... | flutter/packages/flutter/test/gestures/serial_tap_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/serial_tap_test.dart",
"repo_id": "flutter",
"token_count": 5647
} | 656 |
// 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() {
test('Ac... | flutter/packages/flutter/test/material/action_icons_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/action_icons_theme_test.dart",
"repo_id": "flutter",
"token_count": 3254
} | 657 |
// 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 'package:flutt... | flutter/packages/flutter/test/material/bottom_app_bar_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/bottom_app_bar_test.dart",
"repo_id": "flutter",
"token_count": 12880
} | 658 |
// 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 'package:flutt... | flutter/packages/flutter/test/material/chip_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/chip_test.dart",
"repo_id": "flutter",
"token_count": 90274
} | 659 |
// 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 'package:flutt... | flutter/packages/flutter/test/material/dialog_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/dialog_theme_test.dart",
"repo_id": "flutter",
"token_count": 7371
} | 660 |
// 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 'package:flutt... | flutter/packages/flutter/test/material/expansion_tile_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/expansion_tile_theme_test.dart",
"repo_id": "flutter",
"token_count": 5754
} | 661 |
// 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 'package:file/... | flutter/packages/flutter/test/material/icons_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/icons_test.dart",
"repo_id": "flutter",
"token_count": 2336
} | 662 |
// 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 'package:leak_tracker_flutter_testing/leak_tracker_flutter_... | flutter/packages/flutter/test/material/material_states_controller_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/material_states_controller_test.dart",
"repo_id": "flutter",
"token_count": 1140
} | 663 |
// 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';
const Color kSelectedColor = Color(0xFF00FF00);
const Color kUnse... | flutter/packages/flutter/test/material/page_selector_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/page_selector_test.dart",
"repo_id": "flutter",
"token_count": 4040
} | 664 |
// 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' show DragStartBehavior;
import 'package:flutt... | flutter/packages/flutter/test/material/scaffold_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/scaffold_test.dart",
"repo_id": "flutter",
"token_count": 50906
} | 665 |
// 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/services.dart';
import 'package:flutter_test/flut... | flutter/packages/flutter/test/material/spell_check_suggestions_toolbar_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/spell_check_suggestions_toolbar_test.dart",
"repo_id": "flutter",
"token_count": 1957
} | 666 |
// 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.
// reduced-test-set:
// This file is run as part of a reduced test set in CI on Mac and Windows
// machines.
// no-shuffle:
// TODO(122950): Remove thi... | flutter/packages/flutter/test/material/text_field_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/text_field_test.dart",
"repo_id": "flutter",
"token_count": 252657
} | 667 |
// 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/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'packag... | flutter/packages/flutter/test/material/tooltip_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/tooltip_test.dart",
"repo_id": "flutter",
"token_count": 48062
} | 668 |
// 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 TestCanvas implements Canvas {
final List<Invocation> invo... | flutter/packages/flutter/test/painting/border_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/border_test.dart",
"repo_id": "flutter",
"token_count": 6844
} | 669 |
// 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' as... | flutter/packages/flutter/test/painting/gradient_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/gradient_test.dart",
"repo_id": "flutter",
"token_count": 11465
} | 670 |
// 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:ui' as ui show Image;
import 'package:flutter/foundation.dart';
import 'package:flutter/painting.dart';
class TestImage... | flutter/packages/flutter/test/painting/mocks_for_image_cache.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/mocks_for_image_cache.dart",
"repo_id": "flutter",
"token_count": 1403
} | 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 'package:flutter/painting.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('Linear TextScaler', () {
test('equalit... | flutter/packages/flutter/test/painting/text_scaler_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/text_scaler_test.dart",
"repo_id": "flutter",
"token_count": 653
} | 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 'package:flutter/rendering.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutt... | flutter/packages/flutter/test/rendering/binding_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/binding_test.dart",
"repo_id": "flutter",
"token_count": 783
} | 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';
class TestLayout {
TestLayout... | flutter/packages/flutter/test/rendering/independent_layout_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/independent_layout_test.dart",
"repo_id": "flutter",
"token_count": 1314
} | 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/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
import 'rendering_tester.dart';
void main() {
TestRenderingFl... | flutter/packages/flutter/test/rendering/overflow_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/overflow_test.dart",
"repo_id": "flutter",
"token_count": 745
} | 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';
import 'rendering_tester.dart';
void main() {
TestRenderingFl... | flutter/packages/flutter/test/rendering/repaint_boundary_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/repaint_boundary_test.dart",
"repo_id": "flutter",
"token_count": 1535
} | 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 'dart:math' as math;
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
import 'rendering_tester.dart';
Of... | flutter/packages/flutter/test/rendering/transform_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/transform_test.dart",
"repo_id": "flutter",
"token_count": 4011
} | 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/scheduler.dart';
import 'package:flutter_test/flutter_test.dart' show expect, test;
// This file should not use testWidgets, and s... | flutter/packages/flutter/test/scheduler/time_dilation_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/scheduler/time_dilation_test.dart",
"repo_id": "flutter",
"token_count": 168
} | 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 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import '../widgets/clipboard_utils.dart';
void main() {
final ... | flutter/packages/flutter/test/services/clipboard_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/clipboard_test.dart",
"repo_id": "flutter",
"token_count": 594
} | 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.
@TestOn('!chrome')
library;
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
TestWidgetsFlutterBi... | flutter/packages/flutter/test/services/platform_messages_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/platform_messages_test.dart",
"repo_id": "flutter",
"token_count": 361
} | 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() {
final TestWidgetsFlutterBinding binding = TestWid... | flutter/packages/flutter/test/services/undo_manager_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/undo_manager_test.dart",
"repo_id": "flutter",
"token_count": 715
} | 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 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidge... | flutter/packages/flutter/test/widgets/annotated_region_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/annotated_region_test.dart",
"repo_id": "flutter",
"token_count": 580
} | 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_attach_root_widget_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/binding_attach_root_widget_test.dart",
"repo_id": "flutter",
"token_count": 330
} | 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.
import 'package:flutter/services.dart';
class MockClipboard {
MockClipboard({
this.hasStringsThrows = false,
});
final bool hasStringsThrows;
... | flutter/packages/flutter/test/widgets/clipboard_utils.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/clipboard_utils.dart",
"repo_id": "flutter",
"token_count": 365
} | 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/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flut... | flutter/packages/flutter/test/widgets/default_text_editing_shortcuts_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/default_text_editing_shortcuts_test.dart",
"repo_id": "flutter",
"token_count": 7934
} | 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 'dart:convert' show jsonDecode;
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures... | flutter/packages/flutter/test/widgets/editable_text_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/editable_text_test.dart",
"repo_id": "flutter",
"token_count": 243294
} | 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_semantics_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/gesture_detector_semantics_test.dart",
"repo_id": "flutter",
"token_count": 11526
} | 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:async';
... | flutter/packages/flutter/test/widgets/image_filter_quality_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/image_filter_quality_test.dart",
"repo_id": "flutter",
"token_count": 1902
} | 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 '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/interactive_viewer_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/interactive_viewer_test.dart",
"repo_id": "flutter",
"token_count": 35112
} | 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/material.dart';
import 'package:flutter_test/flutter_test.dart';
const double kHeight = 10.0;
const double kFlingOffset = kHeight ... | flutter/packages/flutter/test/widgets/list_view_fling_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/list_view_fling_test.dart",
"repo_id": "flutter",
"token_count": 454
} | 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 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('setState can be called from build, in... | flutter/packages/flutter/test/widgets/mark_needs_build_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/mark_needs_build_test.dart",
"repo_id": "flutter",
"token_count": 1094
} | 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 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart' show DragStartBehavior;
import 'package:flutter/m... | flutter/packages/flutter/test/widgets/nested_scroll_view_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/nested_scroll_view_test.dart",
"repo_id": "flutter",
"token_count": 57649
} | 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/foundation.dart';
import 'package:flutter/gestures.dart' show DragStartBehavior;
import 'package:flutter/material.dart';
import 'pa... | flutter/packages/flutter/test/widgets/page_view_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/page_view_test.dart",
"repo_id": "flutter",
"token_count": 18881
} | 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:collection/collection.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/render... | flutter/packages/flutter/test/widgets/reorderable_list_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/reorderable_list_test.dart",
"repo_id": "flutter",
"token_count": 27529
} | 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/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flut... | flutter/packages/flutter/test/widgets/row_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/row_test.dart",
"repo_id": "flutter",
"token_count": 16993
} | 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/scheduler.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidge... | flutter/packages/flutter/test/widgets/scrollable_animations_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/scrollable_animations_test.dart",
"repo_id": "flutter",
"token_count": 1029
} | 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.
// 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/selectable_text_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/selectable_text_test.dart",
"repo_id": "flutter",
"token_count": 79057
} | 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/semantics.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('SemanticsEvent.toString', () {
expect(... | flutter/packages/flutter/test/widgets/semantics_event_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/semantics_event_test.dart",
"repo_id": "flutter",
"token_count": 818
} | 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 'dart:typed_data';
import 'dart:ui' as ui show Image;
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
impo... | flutter/packages/flutter/test/widgets/shape_decoration_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/shape_decoration_test.dart",
"repo_id": "flutter",
"token_count": 2123
} | 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/src/rendering/sliver_persistent_header.dart';
import 'package:flutter_test/flutter_test.dar... | flutter/packages/flutter/test/widgets/sliver_persistent_header_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/sliver_persistent_header_test.dart",
"repo_id": "flutter",
"token_count": 1625
} | 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.
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.... | flutter/packages/flutter/test/widgets/slotted_render_object_widget_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/slotted_render_object_widget_test.dart",
"repo_id": "flutter",
"token_count": 5285
} | 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.
// TODO(LongCatIsLooong): Remove this file once textScaleFactor is removed.
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dar... | flutter/packages/flutter/test/widgets/text_scaler_backward_compatibility_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/text_scaler_backward_compatibility_test.dart",
"repo_id": "flutter",
"token_count": 3923
} | 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 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/src/gestures/monodrag.dart';
import 'package:flut... | flutter/packages/flutter/test/widgets/two_dimensional_scroll_view_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/two_dimensional_scroll_view_test.dart",
"repo_id": "flutter",
"token_count": 9825
} | 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/0 | {
"file_path": "flutter/packages/flutter/test_fixes/material/material.dart",
"repo_id": "flutter",
"token_count": 4616
} | 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() {
// Changes made in https://github.com/flutter/flutter/pull/68921
Actions.find(error: '');
Actio... | flutter/packages/flutter/test_fixes/widgets/actions.dart/0 | {
"file_path": "flutter/packages/flutter/test_fixes/widgets/actions.dart",
"repo_id": "flutter",
"token_count": 194
} | 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 'package:flutter/widgets.dart';
void main() {
// Generic reference variables.
BuildContext context;
RenderObjectWidget renderObjectWidget;
... | flutter/packages/flutter/test_fixes/widgets/widgets.dart/0 | {
"file_path": "flutter/packages/flutter/test_fixes/widgets/widgets.dart",
"repo_id": "flutter",
"token_count": 2458
} | 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.
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
final Fl... | flutter/packages/flutter/test_release/widgets/memory_allocations_test.dart/0 | {
"file_path": "flutter/packages/flutter/test_release/widgets/memory_allocations_test.dart",
"repo_id": "flutter",
"token_count": 836
} | 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 'find.dart';
/// A Flutter Driver command that taps on a target widget located by [finder].
class Tap extends CommandWithTarget {
/// Creates a t... | flutter/packages/flutter_driver/lib/src/common/gesture.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/common/gesture.dart",
"repo_id": "flutter",
"token_count": 855
} | 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 'percentile_utils.dart';
import 'timeline.dart';
/// Summarizes GPU/Device Memory allocations performed by Impeller.
class GPUMemorySumarizer {
/... | flutter/packages/flutter_driver/lib/src/driver/memory_summarizer.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/driver/memory_summarizer.dart",
"repo_id": "flutter",
"token_count": 600
} | 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.
import 'dart:io';
import 'package:flutter_driver/src/common/error.dart';
import 'package:test/test.dart';
export 'package:test/fake.dart';
export 'packag... | flutter/packages/flutter_driver/test/common.dart/0 | {
"file_path": "flutter/packages/flutter_driver/test/common.dart",
"repo_id": "flutter",
"token_count": 249
} | 710 |
// 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/src/common/error.dart';
import 'package:flutter_driver/src/common/health.dart';
import 'package:flutter_driver/src/driver/we... | flutter/packages/flutter_driver/test/src/web_tests/web_driver_test.dart/0 | {
"file_path": "flutter/packages/flutter_driver/test/src/web_tests/web_driver_test.dart",
"repo_id": "flutter",
"token_count": 1397
} | 711 |
// 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.
// See also dev/automated_tests/flutter_test/flutter_gold_test.dart
import 'dart:convert';
import 'dart:ffi' show Abi;
import 'dart:io' hide Directory;
i... | flutter/packages/flutter_goldens/test/flutter_goldens_test.dart/0 | {
"file_path": "flutter/packages/flutter_goldens/test/flutter_goldens_test.dart",
"repo_id": "flutter",
"token_count": 20262
} | 712 |
{
"datePickerHourSemanticsLabelFew": "$hour hodiny",
"datePickerHourSemanticsLabelMany": "$hour hodiny",
"datePickerMinuteSemanticsLabelFew": "$minute minuty",
"datePickerMinuteSemanticsLabelMany": "$minute minuty",
"timerPickerHourLabelFew": "hodiny",
"timerPickerHourLabelMany": "hodiny",
"timerPickerMin... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_cs.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_cs.arb",
"repo_id": "flutter",
"token_count": 621
} | 713 |
{
"datePickerHourSemanticsLabelFew": "$hour sata",
"datePickerMinuteSemanticsLabelFew": "$minute minute",
"timerPickerHourLabelFew": "sata",
"timerPickerMinuteLabelFew": "min",
"timerPickerSecondLabelFew": "s",
"datePickerHourSemanticsLabelOne": "$hour sat",
"datePickerHourSemanticsLabelOther": "$hour sat... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_hr.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_hr.arb",
"repo_id": "flutter",
"token_count": 534
} | 714 |
{
"datePickerHourSemanticsLabelOne": "$hour часот",
"datePickerHourSemanticsLabelOther": "$hour часот",
"datePickerMinuteSemanticsLabelOne": "1 минута",
"datePickerMinuteSemanticsLabelOther": "$minute минути",
"datePickerDateOrder": "dmy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemAbb... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_mk.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_mk.arb",
"repo_id": "flutter",
"token_count": 650
} | 715 |
{
"datePickerHourSemanticsLabelFew": "$hour часа",
"datePickerHourSemanticsLabelMany": "$hour часов",
"datePickerMinuteSemanticsLabelFew": "$minute минуты",
"datePickerMinuteSemanticsLabelMany": "$minute минут",
"timerPickerHourLabelFew": "часа",
"timerPickerHourLabelMany": "часов",
"timerPickerMinuteLabe... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_ru.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_ru.arb",
"repo_id": "flutter",
"token_count": 762
} | 716 |
{
"datePickerHourSemanticsLabelOne": "$hour soat",
"datePickerHourSemanticsLabelOther": "$hour soat",
"datePickerMinuteSemanticsLabelOne": "1 daqiqa",
"datePickerMinuteSemanticsLabelOther": "$minute daqiqa",
"datePickerDateOrder": "mdy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemAbbre... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_uz.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_uz.arb",
"repo_id": "flutter",
"token_count": 456
} | 717 |
{
"scriptCategory": "English-like",
"timeOfDayFormat": "HH:mm",
"openAppDrawerTooltip": "Отваряне на менюто за навигация",
"backButtonTooltip": "Назад",
"closeButtonTooltip": "Затваряне",
"deleteButtonTooltip": "Изтриване",
"nextMonthTooltip": "Следващият месец",
"previousMonthTooltip": "Предишният месе... | flutter/packages/flutter_localizations/lib/src/l10n/material_bg.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_bg.arb",
"repo_id": "flutter",
"token_count": 3376
} | 718 |
{
"searchWebButtonLabel": "Search Web",
"shareButtonLabel": "Share...",
"scanTextButtonLabel": "Scan text",
"lookUpButtonLabel": "Look up",
"menuDismissLabel": "Dismiss menu",
"expansionTileExpandedHint": "double-tap to collapse",
"expansionTileCollapsedHint": "double-tap to expand",
"expansionTileExpan... | flutter/packages/flutter_localizations/lib/src/l10n/material_en_NZ.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_en_NZ.arb",
"repo_id": "flutter",
"token_count": 1979
} | 719 |
{
"scriptCategory": "English-like",
"timeOfDayFormat": "H:mm",
"openAppDrawerTooltip": "Чабыттоо менюсун ачуу",
"backButtonTooltip": "Артка",
"closeButtonTooltip": "Жабуу",
"deleteButtonTooltip": "Жок кылуу",
"nextMonthTooltip": "Кийинки ай",
"previousMonthTooltip": "Мурунку ай",
"nextPageTooltip": "К... | flutter/packages/flutter_localizations/lib/src/l10n/material_ky.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_ky.arb",
"repo_id": "flutter",
"token_count": 3434
} | 720 |
{
"licensesPackageDetailTextFew": "$licenseCount licencje",
"licensesPackageDetailTextMany": "$licenseCount licencji",
"remainingTextFieldCharacterCountFew": "Pozostały $remainingCount znaki",
"remainingTextFieldCharacterCountMany": "Pozostało $remainingCount znaków",
"scriptCategory": "English-like",
"time... | flutter/packages/flutter_localizations/lib/src/l10n/material_pl.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_pl.arb",
"repo_id": "flutter",
"token_count": 2621
} | 721 |
{
"scriptCategory": "tall",
"timeOfDayFormat": "ah:mm",
"openAppDrawerTooltip": "เปิดเมนูการนำทาง",
"backButtonTooltip": "กลับ",
"closeButtonTooltip": "ปิด",
"deleteButtonTooltip": "ลบ",
"nextMonthTooltip": "เดือนหน้า",
"previousMonthTooltip": "เดือนที่แล้ว",
"nextPageTooltip": "หน้าถัดไป",
"previou... | flutter/packages/flutter_localizations/lib/src/l10n/material_th.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/material_th.arb",
"repo_id": "flutter",
"token_count": 3785
} | 722 |
{
"reorderItemToStart": "Перамясціць у пачатак",
"reorderItemToEnd": "Перамясціць у канец",
"reorderItemUp": "Перамясціць уверх",
"reorderItemDown": "Перамясціць уніз",
"reorderItemLeft": "Перамясціць улева",
"reorderItemRight": "Перамясціць управа"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_be.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_be.arb",
"repo_id": "flutter",
"token_count": 204
} | 723 |
{
"reorderItemToStart": "Mover ao inicio",
"reorderItemToEnd": "Mover ao final",
"reorderItemUp": "Mover cara arriba",
"reorderItemDown": "Mover cara abaixo",
"reorderItemLeft": "Mover cara á esquerda",
"reorderItemRight": "Mover cara á dereita"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_gl.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_gl.arb",
"repo_id": "flutter",
"token_count": 109
} | 724 |
{
"reorderItemToStart": "시작으로 이동",
"reorderItemToEnd": "끝으로 이동",
"reorderItemUp": "위로 이동",
"reorderItemDown": "아래로 이동",
"reorderItemLeft": "왼쪽으로 이동",
"reorderItemRight": "오른쪽으로 이동"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_ko.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_ko.arb",
"repo_id": "flutter",
"token_count": 165
} | 725 |
{
"reorderItemToStart": "ਸ਼ੁਰੂ ਵਿੱਚ ਲਿਜਾਓ",
"reorderItemToEnd": "ਅੰਤ ਵਿੱਚ ਲਿਜਾਓ",
"reorderItemUp": "ਉੱਪਰ ਲਿਜਾਓ",
"reorderItemDown": "ਹੇਠਾਂ ਲਿਜਾਓ",
"reorderItemLeft": "ਖੱਬੇ ਲਿਜਾਓ",
"reorderItemRight": "ਸੱਜੇ ਲਿਜਾਓ"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_pa.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_pa.arb",
"repo_id": "flutter",
"token_count": 190
} | 726 |
{
"reorderItemToStart": "ప్రారంభానికి తరలించండి",
"reorderItemToEnd": "చివరకు తరలించండి",
"reorderItemUp": "పైకి జరపండి",
"reorderItemDown": "కిందికు జరుపు",
"reorderItemLeft": "ఎడమవైపుగా జరపండి",
"reorderItemRight": "కుడివైపుగా జరపండి"
}
| flutter/packages/flutter_localizations/lib/src/l10n/widgets_te.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/widgets_te.arb",
"repo_id": "flutter",
"token_count": 339
} | 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/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_test/flutter_test.dart';... | flutter/packages/flutter_localizations/test/basics_test.dart/0 | {
"file_path": "flutter/packages/flutter_localizations/test/basics_test.dart",
"repo_id": "flutter",
"token_count": 1662
} | 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.
# For details regarding the *Flutter Fix* feature, see
# https://flutter.dev/docs/development/tools/flutter-fix
# Please add new fixes to the top of the file... | flutter/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_animation_sheet_builder.yaml/0 | {
"file_path": "flutter/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_animation_sheet_builder.yaml",
"repo_id": "flutter",
"token_count": 506
} | 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 'dart:async';
import 'dart:ui' as ui;
import 'package:clock/clock.dart';
import 'package:fake_async/fake_async.dart';
import 'package:flutter/found... | flutter/packages/flutter_test/lib/src/binding.dart/0 | {
"file_path": "flutter/packages/flutter_test/lib/src/binding.dart",
"repo_id": "flutter",
"token_count": 27475
} | 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:async';
import 'package:flutter/foundation.dart';
class _AsyncScope {
_AsyncScope(this.creationStack, this.zone);
final StackTrace creat... | flutter/packages/flutter_test/lib/src/test_async_utils.dart/0 | {
"file_path": "flutter/packages/flutter_test/lib/src/test_async_utils.dart",
"repo_id": "flutter",
"token_count": 6091
} | 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:async';
import 'package:flutter/foundation.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:stack_trace/stack_trace.da... | flutter/packages/flutter_test/test/bindings_async_gap_test.dart/0 | {
"file_path": "flutter/packages/flutter_test/test/bindings_async_gap_test.dart",
"repo_id": "flutter",
"token_count": 610
} | 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 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
const... | flutter/packages/flutter_test/test/finders_test.dart/0 | {
"file_path": "flutter/packages/flutter_test/test/finders_test.dart",
"repo_id": "flutter",
"token_count": 20065
} | 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 'dart:ui';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
TestWidgetsFlutterBinding retrieveTestBinding(W... | flutter/packages/flutter_test/test/utils/fake_and_mock_utils.dart/0 | {
"file_path": "flutter/packages/flutter_test/test/utils/fake_and_mock_utils.dart",
"repo_id": "flutter",
"token_count": 1138
} | 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 'dart:io';
void main(List<String> arguments) {
File? scriptOutputStreamFile;
final String? scriptOutputStreamFileEnv = Platform.environment['SC... | flutter/packages/flutter_tools/bin/xcode_backend.dart/0 | {
"file_path": "flutter/packages/flutter_tools/bin/xcode_backend.dart",
"repo_id": "flutter",
"token_count": 5804
} | 735 |
include ':app'
def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
def plugins = new Properties()
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
if (pluginsFile.exists()) {
pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
}
plugins.each { name, path ... | flutter/packages/flutter_tools/gradle/settings.gradle.legacy_versions/0 | {
"file_path": "flutter/packages/flutter_tools/gradle/settings.gradle.legacy_versions",
"repo_id": "flutter",
"token_count": 644
} | 736 |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="catalog - tabbed_app_bar" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="filePath" value="$PROJECT_DIR$/examples/catalog/lib/tabbed_app_bar.dart" />
<method />
</configuration>
</component> | flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/catalog___tabbed_app_bar.xml.copy.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/catalog___tabbed_app_bar.xml.copy.tmpl",
"repo_id": "flutter",
"token_count": 100
} | 737 |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="manual_tests - density" type="FlutterRunConfigurationType" factoryName="Flutter" singleton="false">
<option name="filePath" value="$PROJECT_DIR$/dev/manual_tests/lib/density.dart" />
<method v="2" />
</configuration>
</co... | flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/manual_tests___density.xml.copy.tmpl/0 | {
"file_path": "flutter/packages/flutter_tools/ide_templates/intellij/.idea/runConfigurations/manual_tests___density.xml.copy.tmpl",
"repo_id": "flutter",
"token_count": 102
} | 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:async';
import 'package:meta/meta.dart';
import 'package:process/process.dart';
import '../base/file_system.dart';
import '../base/io.dart';... | flutter/packages/flutter_tools/lib/src/android/android_emulator.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/android/android_emulator.dart",
"repo_id": "flutter",
"token_count": 2815
} | 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 '../../base/file_system.dart';
import '../../base/project_migrator.dart';
import '../../project.dart';
const String _eagerCleanTaskDeclaration = ''... | flutter/packages/flutter_tools/lib/src/android/migrations/top_level_gradle_build_file_migration.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/android/migrations/top_level_gradle_build_file_migration.dart",
"repo_id": "flutter",
"token_count": 479
} | 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:crypto/crypto.dart' show md5;
import 'package:meta/meta.dart';
import '../convert.dart' show json;
import 'file_system.dart';
import 'logg... | flutter/packages/flutter_tools/lib/src/base/fingerprint.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/base/fingerprint.dart",
"repo_id": "flutter",
"token_count": 1491
} | 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:meta/meta.dart';
/// Represents the version of some piece of software.
///
/// While a [Version] object has fields resembling semver, it d... | flutter/packages/flutter_tools/lib/src/base/version.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/base/version.dart",
"repo_id": "flutter",
"token_count": 1591
} | 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 'package:meta/meta.dart';
import 'package:mime/mime.dart' as mime;
import 'package:process/process.dart';
import '../../artifacts.dart';
import '..... | flutter/packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart",
"repo_id": "flutter",
"token_count": 5362
} | 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:meta/meta.dart';
import 'package:process/process.dart';
import '../artifacts.dart';
import '../base/common.dart';
import '../base/file_sys... | flutter/packages/flutter_tools/lib/src/commands/analyze.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/analyze.dart",
"repo_id": "flutter",
"token_count": 4682
} | 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 'package:meta/meta.dart';
import '../artifacts.dart';
import '../base/common.dart';
import '../base/file_system.dart';
import '../base/io.dart';
im... | flutter/packages/flutter_tools/lib/src/commands/build_macos_framework.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/build_macos_framework.dart",
"repo_id": "flutter",
"token_count": 5022
} | 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:args/args.dart';
import '../base/common.dart';
import '../base/utils.dart';
import '../doctor_validator.dart';
import '../emulator.dart';
... | flutter/packages/flutter_tools/lib/src/commands/emulators.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/emulators.dart",
"repo_id": "flutter",
"token_count": 1797
} | 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 'package:meta/meta.dart';
import '../base/common.dart';
import '../base/io.dart';
import '../base/os.dart';
import '../base/process.dart';
import '... | flutter/packages/flutter_tools/lib/src/commands/upgrade.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/commands/upgrade.dart",
"repo_id": "flutter",
"token_count": 5045
} | 747 |
# Debug Adapter Protocol (DAP)
This document is Flutter-specific. For information on the standard Dart DAP implementation, [see this document](https://github.com/dart-lang/sdk/blob/main/pkg/dds/tool/dap/README.md).
Flutter includes support for debugging using [the Debug Adapter Protocol](https://microsoft.github.io/d... | flutter/packages/flutter_tools/lib/src/debug_adapters/README.md/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/debug_adapters/README.md",
"repo_id": "flutter",
"token_count": 1629
} | 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 'dart:async';
import 'dart:math' as math;
import 'package:file/file.dart';
import 'package:meta/meta.dart';
import 'package:package_config/package_... | flutter/packages/flutter_tools/lib/src/drive/web_driver_service.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/drive/web_driver_service.dart",
"repo_id": "flutter",
"token_count": 4854
} | 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 '../base/context.dart';
import '../base/platform.dart';
import '../doctor_validator.dart';
import '../features.dart';
import 'fuchsia_sdk.dart';
//... | flutter/packages/flutter_tools/lib/src/fuchsia/fuchsia_workflow.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/fuchsia/fuchsia_workflow.dart",
"repo_id": "flutter",
"token_count": 447
} | 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 '../../base/file_system.dart';
import '../../base/project_migrator.dart';
import '../../xcode_project.dart';
/// Update the minimum iOS deployment ... | flutter/packages/flutter_tools/lib/src/ios/migrations/ios_deployment_target_migration.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/ios/migrations/ios_deployment_target_migration.dart",
"repo_id": "flutter",
"token_count": 1283
} | 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: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/android/native_assets.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/isolated/native_assets/android/native_assets.dart",
"repo_id": "flutter",
"token_count": 3033
} | 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.
const String emptyPubspecTemplate = '''
# Generated by the flutter tool
name: synthetic_package
description: The Flutter application's synthetic package.
'... | flutter/packages/flutter_tools/lib/src/localizations/gen_l10n_templates.dart/0 | {
"file_path": "flutter/packages/flutter_tools/lib/src/localizations/gen_l10n_templates.dart",
"repo_id": "flutter",
"token_count": 2786
} | 753 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.