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.
/// Platform services exposed to Flutter apps.
///
/// To use, import `package:flutter/services.dart`.
///
/// This library depends only on core Dart libra... | flutter/packages/flutter/lib/services.dart/0 | {
"file_path": "flutter/packages/flutter/lib/services.dart",
"repo_id": "flutter",
"token_count": 798
} | 612 |
// 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 'debug.dart';
// Examples can assume:
// late BuildContext contex... | flutter/packages/flutter/lib/src/cupertino/localizations.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/cupertino/localizations.dart",
"repo_id": "flutter",
"token_count": 5020
} | 613 |
// 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 'app.dart' show CupertinoApp;
import 'route.dart';
/// A single tab view with its own [Navigator] state and... | flutter/packages/flutter/lib/src/cupertino/tab_view.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/cupertino/tab_view.dart",
"repo_id": "flutter",
"token_count": 2994
} | 614 |
// 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:isolate';
import 'constants.dart';
import 'isolates.dart' as isolates;
export 'isolates.dart' show ComputeCallback;
//... | flutter/packages/flutter/lib/src/foundation/_isolates_io.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/foundation/_isolates_io.dart",
"repo_id": "flutter",
"token_count": 214
} | 615 |
// 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 show Brightness;
import 'assertions.dart';
import 'platform.dart';
import 'print.dart';
export 'dart:ui' show Brightness;
export ... | flutter/packages/flutter/lib/src/foundation/debug.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/foundation/debug.dart",
"repo_id": "flutter",
"token_count": 1181
} | 616 |
// 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:developer';
import 'dart:typed_data';
import 'package:meta/meta.dart';
import '_timeline_io.dart'
if (dart.library.js_interop) '_timeline_... | flutter/packages/flutter/lib/src/foundation/timeline.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/foundation/timeline.dart",
"repo_id": "flutter",
"token_count": 4631
} | 617 |
// 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:flutter/foundation.dart';
import 'package:flutter/scheduler.dart';
import 'constants.dart';
import 'drag_details.dart... | flutter/packages/flutter/lib/src/gestures/monodrag.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/gestures/monodrag.dart",
"repo_id": "flutter",
"token_count": 12768
} | 618 |
// 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/rendering.dart';
import 'debug.dart';
import 'desktop_text_selection_toolbar.dart';
impor... | flutter/packages/flutter/lib/src/material/adaptive_text_selection_toolbar.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/adaptive_text_selection_toolbar.dart",
"repo_id": "flutter",
"token_count": 4520
} | 619 |
// 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.
// AUTOGENERATED FILE DO NOT EDIT!
// This file was generated by vitool.
part of material_animated_icons; // ignore: use_string_in_part_of_directives
const... | flutter/packages/flutter/lib/src/material/animated_icons/data/search_ellipsis.g.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/animated_icons/data/search_ellipsis.g.dart",
"repo_id": "flutter",
"token_count": 154395
} | 620 |
// 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 'bottom_sheet_theme.dart';
... | flutter/packages/flutter/lib/src/material/bottom_sheet.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/bottom_sheet.dart",
"repo_id": "flutter",
"token_count": 16258
} | 621 |
// 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' show clampDouble;
import 'package:flutter/widgets.dart';
import 'chip.dart';
import 'chip_theme.dart';
import 'co... | flutter/packages/flutter/lib/src/material/choice_chip.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/choice_chip.dart",
"repo_id": "flutter",
"token_count": 4076
} | 622 |
// 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 clampDouble, lerpDouble;
import 'package:flutter/cupertino.dart';
import 'color_scheme.dart';
import 'colors.dart';
import 'debug.d... | flutter/packages/flutter/lib/src/material/dialog.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/dialog.dart",
"repo_id": "flutter",
"token_count": 20240
} | 623 |
// 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 'theme.dart';
// Examples can assume:
// late BuildContext contex... | flutter/packages/flutter/lib/src/material/expansion_tile_theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/expansion_tile_theme.dart",
"repo_id": "flutter",
"token_count": 3143
} | 624 |
// 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 'ink_well.dart' show InteractiveInkFeature;
import 'material.dart';
const Duration _kDefaultHighlightFadeDu... | flutter/packages/flutter/lib/src/material/ink_highlight.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/ink_highlight.dart",
"repo_id": "flutter",
"token_count": 1575
} | 625 |
// 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 'material_state.dart';
/// Mixin for [State] classes that require... | flutter/packages/flutter/lib/src/material/material_state_mixin.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/material_state_mixin.dart",
"repo_id": "flutter",
"token_count": 1975
} | 626 |
// 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 'button_style.dart';
import 'theme.dart';
// Examples can assume:... | flutter/packages/flutter/lib/src/material/outlined_button_theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/outlined_button_theme.dart",
"repo_id": "flutter",
"token_count": 1325
} | 627 |
// 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 lerpDouble;
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'material_state.dart';
import '... | flutter/packages/flutter/lib/src/material/scrollbar_theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/scrollbar_theme.dart",
"repo_id": "flutter",
"token_count": 3452
} | 628 |
// 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' show TextSelectionToolbarLayoutDelegate;
/// Positions the toolbar below [a... | flutter/packages/flutter/lib/src/material/spell_check_suggestions_toolbar_layout_delegate.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/spell_check_suggestions_toolbar_layout_delegate.dart",
"repo_id": "flutter",
"token_count": 518
} | 629 |
// 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 'color_scheme.dart';
import 'constants.dart';
import 'text_button.dart';
import 'theme.dart';
enum _TextSel... | flutter/packages/flutter/lib/src/material/text_selection_toolbar_text_button.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/text_selection_toolbar_text_button.dart",
"repo_id": "flutter",
"token_count": 1928
} | 630 |
// 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:js_interop';
import 'dart:ui' as ui;
import 'dart:ui_web' as ui_web;
import 'package:flutter/foundation.dart';
import '... | flutter/packages/flutter/lib/src/painting/_network_image_web.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/_network_image_web.dart",
"repo_id": "flutter",
"token_count": 2212
} | 631 |
// 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 'basic_types.dart';
import 'edge_insets.dart';
import 'image_provider.dart';
// Examples can assume:
// ... | flutter/packages/flutter/lib/src/painting/decoration.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/decoration.dart",
"repo_id": "flutter",
"token_count": 3039
} | 632 |
// 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 show lerpDouble;
import 'package:flutter/foundation.dart';
import 'borders.dart';
import 'circle_border.dart';
/// A border that ... | flutter/packages/flutter/lib/src/painting/oval_border.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/oval_border.dart",
"repo_id": "flutter",
"token_count": 764
} | 633 |
// 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 'tolerance.dart';
export 'tolerance.dart' show Tolerance;
/// The base class for all simulations.
///
/... | flutter/packages/flutter/lib/src/physics/simulation.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/physics/simulation.dart",
"repo_id": "flutter",
"token_count": 602
} | 634 |
// 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 show Image;
import 'package:flutter/animation.dart';
import 'package:flutter/foundation.dart';
import 'box.dart';
import 'object.d... | flutter/packages/flutter/lib/src/rendering/image.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/rendering/image.dart",
"repo_id": "flutter",
"token_count": 4960
} | 635 |
// 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 'box.dart';
import 'debug.dart';
imp... | flutter/packages/flutter/lib/src/rendering/sliver.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/rendering/sliver.dart",
"repo_id": "flutter",
"token_count": 25843
} | 636 |
// 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/animation.dart';
import 'package:flutter/foundation.dart';
/// The direction of a scroll, relative to the positive scroll offset a... | flutter/packages/flutter/lib/src/rendering/viewport_offset.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/rendering/viewport_offset.dart",
"repo_id": "flutter",
"token_count": 3562
} | 637 |
// 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 'text_input.dart';
export 'text_input.dart' show TextEditingValue, TextInputClient, TextInputConfigurati... | flutter/packages/flutter/lib/src/services/autofill.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/autofill.dart",
"repo_id": "flutter",
"token_count": 13643
} | 638 |
// 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:typed_data';
import 'package:flutter/foundation.dart' show ReadBuffer, WriteBuffer;
import 'message_codec.dart';
exp... | flutter/packages/flutter/lib/src/services/message_codecs.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/message_codecs.dart",
"repo_id": "flutter",
"token_count": 8292
} | 639 |
// 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 'system_channels.dart';
/// A data structure representing a range of misspelled text a... | flutter/packages/flutter/lib/src/services/spell_check.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/spell_check.dart",
"repo_id": "flutter",
"token_count": 2320
} | 640 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:js_interop';
import 'dart:ui_web' as ui_web;
import 'package:flutter/rendering.dart';
import '../web.dart' as web;
import 'basic.dart';
impo... | flutter/packages/flutter/lib/src/widgets/_platform_selectable_region_context_menu_web.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/_platform_selectable_region_context_menu_web.dart",
"repo_id": "flutter",
"token_count": 1810
} | 641 |
// 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:developer' as developer;
import 'dart:ui' show AccessibilityFeatures, AppExitResponse, AppLifecycleState, FrameTiming, Lo... | flutter/packages/flutter/lib/src/widgets/binding.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/binding.dart",
"repo_id": "flutter",
"token_count": 18233
} | 642 |
// 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 'basic.dart';
import 'binding.dart';... | flutter/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart",
"repo_id": "flutter",
"token_count": 14217
} | 643 |
// 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' show File;
import 'package:flutter/foundation.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutte... | flutter/packages/flutter/lib/src/widgets/image.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/image.dart",
"repo_id": "flutter",
"token_count": 15702
} | 644 |
// 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 'basic.dart';
import 'debug.dart';
import 'framework.dart';
/// [NavigationToolbar] is a layout helper to position 3 w... | flutter/packages/flutter/lib/src/widgets/navigation_toolbar.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/navigation_toolbar.dart",
"repo_id": "flutter",
"token_count": 1924
} | 645 |
// 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/rendering.dart';
import 'package:flutter/schedule... | flutter/packages/flutter/lib/src/widgets/platform_view.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/platform_view.dart",
"repo_id": "flutter",
"token_count": 14696
} | 646 |
// 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 'automatic_keep_alive.dart';
import 'basic.dart';
import 'framew... | flutter/packages/flutter/lib/src/widgets/scroll_delegate.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/scroll_delegate.dart",
"repo_id": "flutter",
"token_count": 13283
} | 647 |
// 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 'framework.dart';
import 'inherited_model.dart';
/// The type of the [SharedAppData.getValue] `init` parameter.
///
/// This callback is used to l... | flutter/packages/flutter/lib/src/widgets/shared_app_data.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/shared_app_data.dart",
"repo_id": "flutter",
"token_count": 2341
} | 648 |
// 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/rendering.dart';
import 'editable_text.dart';
im... | flutter/packages/flutter/lib/src/widgets/tap_region.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/tap_region.dart",
"repo_id": "flutter",
"token_count": 7643
} | 649 |
// 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:collection';
import 'dart:ui' show FlutterView, SemanticsUpdate;
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.... | flutter/packages/flutter/lib/src/widgets/view.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/view.dart",
"repo_id": "flutter",
"token_count": 8743
} | 650 |
// 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/animation/animation_sheet_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/animation/animation_sheet_test.dart",
"repo_id": "flutter",
"token_count": 1998
} | 651 |
// 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/rendering.dart';
import 'package:flutter/service... | flutter/packages/flutter/test/cupertino/checkbox_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/checkbox_test.dart",
"repo_id": "flutter",
"token_count": 5160
} | 652 |
# Tests for the Cupertino+Material mixed usages
In this package, we test for interactions between Material and Cupertino
widgets.
| flutter/packages/flutter/test/cupertino/material/README.md/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/material/README.md",
"repo_id": "flutter",
"token_count": 33
} | 653 |
// 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/services.dart';
import 'package:flutter_test/fl... | flutter/packages/flutter/test/cupertino/spell_check_suggestions_toolbar_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/spell_check_suggestions_toolbar_test.dart",
"repo_id": "flutter",
"token_count": 1476
} | 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.
// A test script that invokes compute() to start an isolate.
import 'package:flutter/src/foundation/_isolates_io.dart';
int getLength(String s) {
retur... | flutter/packages/flutter/test/foundation/_compute_caller.dart/0 | {
"file_path": "flutter/packages/flutter/test/foundation/_compute_caller.dart",
"repo_id": "flutter",
"token_count": 160
} | 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_test/flutter_test.dart';
class X { }
class Y extends X { }
class A<U extends X> {
U? u;
}
void main() {
test('Assignment th... | flutter/packages/flutter/test/foundation/covariant_templates_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/foundation/covariant_templates_test.dart",
"repo_id": "flutter",
"token_count": 188
} | 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 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter_test/flutter_test.dart';... | flutter/packages/flutter/test/gestures/locking_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/locking_test.dart",
"repo_id": "flutter",
"token_count": 580
} | 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.
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidge... | flutter/packages/flutter/test/gestures/transformed_long_press_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/transformed_long_press_test.dart",
"repo_id": "flutter",
"token_count": 3448
} | 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.
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services... | flutter/packages/flutter/test/material/app_bar_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/app_bar_theme_test.dart",
"repo_id": "flutter",
"token_count": 18059
} | 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.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('Bo... | flutter/packages/flutter/test/material/bottom_sheet_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/bottom_sheet_theme_test.dart",
"repo_id": "flutter",
"token_count": 6098
} | 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.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
const List<int> primaryKeys = <int>[50, 100, 200, 300, 400, 500, ... | flutter/packages/flutter/test/material/colors_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/colors_test.dart",
"repo_id": "flutter",
"token_count": 1177
} | 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.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('co... | flutter/packages/flutter/test/material/drawer_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/drawer_theme_test.dart",
"repo_id": "flutter",
"token_count": 4881
} | 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.
// 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/filter_chip_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/filter_chip_test.dart",
"repo_id": "flutter",
"token_count": 16513
} | 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/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/src/servic... | flutter/packages/flutter/test/material/ink_well_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/ink_well_test.dart",
"repo_id": "flutter",
"token_count": 35849
} | 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 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
Finder... | flutter/packages/flutter/test/material/menu_style_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/menu_style_test.dart",
"repo_id": "flutter",
"token_count": 8257
} | 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 'dart:ui' show DisplayFeature, DisplayFeatureState, DisplayFeatureType, SemanticsFlag;
import 'package:flutter/foundation.dart';
import 'package:fl... | flutter/packages/flutter/test/material/popup_menu_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/popup_menu_test.dart",
"repo_id": "flutter",
"token_count": 72644
} | 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.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('Se... | flutter/packages/flutter/test/material/search_bar_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/search_bar_theme_test.dart",
"repo_id": "flutter",
"token_count": 4720
} | 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.
// 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/tab_bar_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/tab_bar_theme_test.dart",
"repo_id": "flutter",
"token_count": 22619
} | 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/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import '../widgets/edita... | flutter/packages/flutter/test/material/text_selection_toolbar_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/text_selection_toolbar_test.dart",
"repo_id": "flutter",
"token_count": 5012
} | 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 'package:flutt... | flutter/packages/flutter/test/material/value_indicating_slider_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/value_indicating_slider_test.dart",
"repo_id": "flutter",
"token_count": 4658
} | 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 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
const double _doubleCol... | flutter/packages/flutter/test/painting/colors_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/colors_test.dart",
"repo_id": "flutter",
"token_count": 7826
} | 671 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'dart:ui' as ui;
import 'package:flutter/painting.dart';
import 'package:flutter_test/flutter_test.dart';
import '../ima... | flutter/packages/flutter/test/painting/image_decoder_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/image_decoder_test.dart",
"repo_id": "flutter",
"token_count": 267
} | 672 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/scheduler.dart';
import ... | flutter/packages/flutter/test/painting/painting_utils.dart/0 | {
"file_path": "flutter/packages/flutter/test/painting/painting_utils.dart",
"repo_id": "flutter",
"token_count": 298
} | 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/physics.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('Gravity simulation 1', () {
expect(Gravi... | flutter/packages/flutter/test/physics/gravity_simulation_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/physics/gravity_simulation_test.dart",
"repo_id": "flutter",
"token_count": 453
} | 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('overflow indicator is not shown when ... | flutter/packages/flutter/test/rendering/debug_overflow_indicator_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/debug_overflow_indicator_test.dart",
"repo_id": "flutter",
"token_count": 854
} | 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.
// 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/rendering/localized_fonts_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/localized_fonts_test.dart",
"repo_id": "flutter",
"token_count": 5853
} | 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:ui';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void ... | flutter/packages/flutter/test/rendering/pipeline_owner_tree_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/pipeline_owner_tree_test.dart",
"repo_id": "flutter",
"token_count": 10221
} | 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/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
import 'rendering_tester.dart';
void main() {
TestRenderingFl... | flutter/packages/flutter/test/rendering/sliver_cache_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/sliver_cache_test.dart",
"repo_id": "flutter",
"token_count": 25072
} | 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.
// This file is separate from viewport_caching_test.dart because we can't use
// both testWidgets and rendering_tester in the same file - testWidgets will
... | flutter/packages/flutter/test/rendering/viewport_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/rendering/viewport_test.dart",
"repo_id": "flutter",
"token_count": 40473
} | 679 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/semantics.dart';
import 'package:flutter/services.dart' show SystemChannels;
import 'package:flutter_test/flutter_test.dart';
void... | flutter/packages/flutter/test/semantics/semantics_service_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/semantics/semantics_service_test.dart",
"repo_id": "flutter",
"token_count": 438
} | 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';
class TestFontLoader extends FontLoader {
TestFontLoader(super.... | flutter/packages/flutter/test/services/font_loader_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/font_loader_test.dart",
"repo_id": "flutter",
"token_count": 368
} | 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/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_tr... | flutter/packages/flutter/test/services/restoration_bucket_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/services/restoration_bucket_test.dart",
"repo_id": "flutter",
"token_count": 8958
} | 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('AnimatedAlign.debugFillProperties', (... | flutter/packages/flutter/test/widgets/animated_align_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/animated_align_test.dart",
"repo_id": "flutter",
"token_count": 2402
} | 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
const Color kTitleColor = Color(0xFF333333);
const String kTitleSt... | flutter/packages/flutter/test/widgets/app_title_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/app_title_test.dart",
"repo_id": "flutter",
"token_count": 935
} | 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 'dart:ui';
import 'package:flutter/scheduler.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:... | flutter/packages/flutter/test/widgets/binding_frame_scheduling_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/binding_frame_scheduling_test.dart",
"repo_id": "flutter",
"token_count": 636
} | 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.
// 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/widgets/container_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/container_test.dart",
"repo_id": "flutter",
"token_count": 19891
} | 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 'dart:async';
import 'package:flutter/gestures.dart' show DragStartBehavior;
import 'package:flutter/widgets.dart';
import 'package:flutter_test/fl... | flutter/packages/flutter/test/widgets/dismissible_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/dismissible_test.dart",
"repo_id": "flutter",
"token_count": 16203
} | 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.
import 'dart:async';
import 'dart:typed_data';
import 'dart:ui' as ui;
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.da... | flutter/packages/flutter/test/widgets/fade_in_image_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/fade_in_image_test.dart",
"repo_id": "flutter",
"token_count": 8775
} | 688 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
class Item {
GlobalKey key1 = GlobalKey();
GlobalKey key2 = Gl... | flutter/packages/flutter/test/widgets/global_keys_moving_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/global_keys_moving_test.dart",
"repo_id": "flutter",
"token_count": 633
} | 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.
@TestOn('!chrome')
library;
import 'dart:convert';
import 'dart:ui' as ui show Image;
import 'package:flutter/foundation.dart';
import 'package:flutter/r... | flutter/packages/flutter/test/widgets/image_resolution_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/image_resolution_test.dart",
"repo_id": "flutter",
"token_count": 5203
} | 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:collection/collection.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/... | flutter/packages/flutter/test/widgets/list_view_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/list_view_test.dart",
"repo_id": "flutter",
"token_count": 13433
} | 691 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_trac... | flutter/packages/flutter/test/widgets/multi_view_binding_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/multi_view_binding_test.dart",
"repo_id": "flutter",
"token_count": 1093
} | 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.
// This file is run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
library;
import 'dart:ui' as u... | flutter/packages/flutter/test/widgets/opacity_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/opacity_test.dart",
"repo_id": "flutter",
"token_count": 3174
} | 693 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('Placeholder', (WidgetTester tester) ... | flutter/packages/flutter/test/widgets/placeholder_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/placeholder_test.dart",
"repo_id": "flutter",
"token_count": 856
} | 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/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter_test/flutt... | flutter/packages/flutter/test/widgets/scroll_activity_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/scroll_activity_test.dart",
"repo_id": "flutter",
"token_count": 5672
} | 695 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('Can dispose ScrollPosition when hasPixels i... | flutter/packages/flutter/test/widgets/scrollable_in_overlay_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/scrollable_in_overlay_test.dart",
"repo_id": "flutter",
"token_count": 758
} | 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.
@TestOn('!chrome')
library;
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter/semantics.dart';
import 'package:flutter_te... | flutter/packages/flutter/test/widgets/semantics_tester_generate_test_semantics_expression_for_current_semantics_tree_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/semantics_tester_generate_test_semantics_expression_for_current_semantics_tree_test.dart",
"repo_id": "flutter",
"token_count": 3098
} | 697 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
import '../rendering/ren... | flutter/packages/flutter/test/widgets/single_child_scroll_view_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/single_child_scroll_view_test.dart",
"repo_id": "flutter",
"token_count": 15772
} | 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:ui' as ui;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
... | flutter/packages/flutter/test/widgets/slivers_appbar_floating_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/slivers_appbar_floating_test.dart",
"repo_id": "flutter",
"token_count": 8124
} | 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
class Foo extends StatefulWidget {
const Foo({ super.key });
@... | flutter/packages/flutter/test/widgets/state_setting_in_scrollables_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/state_setting_in_scrollables_test.dart",
"repo_id": "flutter",
"token_count": 1522
} | 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 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import '... | flutter/packages/flutter/test/widgets/text_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/text_test.dart",
"repo_id": "flutter",
"token_count": 27727
} | 701 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
late Spy... | flutter/packages/flutter/test/widgets/value_listenable_builder_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/widgets/value_listenable_builder_test.dart",
"repo_id": "flutter",
"token_count": 1338
} | 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/material.dart';
void main() {
// Changes made in https://github.com/flutter/flutter/pull/48547
var textTheme = TextTheme(
... | flutter/packages/flutter/test_fixes/material/text_theme.dart.expect/0 | {
"file_path": "flutter/packages/flutter/test_fixes/material/text_theme.dart.expect",
"repo_id": "flutter",
"token_count": 1161
} | 703 |
name: flutter_test_private
description: Tests private interfaces of the flutter
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
#
# For detailed instructions, refer to:
# https://github.com/flutter/flutter/wiki/Updating-dependencies-in-Flu... | flutter/packages/flutter/test_private/pubspec.yaml/0 | {
"file_path": "flutter/packages/flutter/test_private/pubspec.yaml",
"repo_id": "flutter",
"token_count": 332
} | 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.
# 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_driver/lib/fix_data/fix_flutter_driver/fix_data.yaml/0 | {
"file_path": "flutter/packages/flutter_driver/lib/fix_data/fix_flutter_driver/fix_data.yaml",
"repo_id": "flutter",
"token_count": 487
} | 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 'message.dart';
/// A Flutter Driver command that requests a string representation of the render tree.
class GetRenderTree extends Command {
/// ... | flutter/packages/flutter_driver/lib/src/common/render_tree.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/common/render_tree.dart",
"repo_id": "flutter",
"token_count": 325
} | 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 'percentile_utils.dart';
import 'timeline.dart';
/// Key for SceneDisplayLag timeline events.
const String kSceneDisplayLagEvent = 'SceneDisplayLag... | flutter/packages/flutter_driver/lib/src/driver/scene_display_lag_summarizer.dart/0 | {
"file_path": "flutter/packages/flutter_driver/lib/src/driver/scene_display_lag_summarizer.dart",
"repo_id": "flutter",
"token_count": 905
} | 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 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:fake_async/fake_async.dart';
import 'package:flutter_driver/src/common/error... | flutter/packages/flutter_driver/test/src/real_tests/flutter_driver_test.dart/0 | {
"file_path": "flutter/packages/flutter_driver/test/src/real_tests/flutter_driver_test.dart",
"repo_id": "flutter",
"token_count": 19098
} | 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 '../test/common.dart';
void main() {
// Tooling requires a single trivial test
test('it runs a test', () {
expect(true, true);
});
}
| flutter/packages/flutter_driver/test_driver/success_test.dart/0 | {
"file_path": "flutter/packages/flutter_driver/test_driver/success_test.dart",
"repo_id": "flutter",
"token_count": 95
} | 709 |
# Material and Cupertino Libraries Localizations
The `.arb` files in this directory contain localized values (primarily
strings) used by the Material and Cupertino libraries. The
`generated_material_localizations.dart` and
`generated_cupertino_localizations.dart` files combine all of the
localizations into a single M... | flutter/packages/flutter_localizations/lib/src/l10n/README.md/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/README.md",
"repo_id": "flutter",
"token_count": 2363
} | 710 |
{
"datePickerHourSemanticsLabelOne": "$hour ακριβώς",
"datePickerHourSemanticsLabelOther": "$hour ακριβώς",
"datePickerMinuteSemanticsLabelOne": "1 λεπτό",
"datePickerMinuteSemanticsLabelOther": "$minute λεπτά",
"datePickerDateOrder": "dmy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemA... | flutter/packages/flutter_localizations/lib/src/l10n/cupertino_el.arb/0 | {
"file_path": "flutter/packages/flutter_localizations/lib/src/l10n/cupertino_el.arb",
"repo_id": "flutter",
"token_count": 623
} | 711 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.