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/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services...
flutter/examples/api/test/material/context_menu/editable_text_toolbar_builder.2_test.dart/0
{ "file_path": "flutter/examples/api/test/material/context_menu/editable_text_toolbar_builder.2_test.dart", "repo_id": "flutter", "token_count": 902 }
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/material.dart'; import 'package:flutter_api_samples/material/divider/vertical_divider.0.dart' as example; import 'package:flutter_t...
flutter/examples/api/test/material/divider/vertical_divider.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/divider/vertical_divider.0_test.dart", "repo_id": "flutter", "token_count": 354 }
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/material.dart'; import 'package:flutter_api_samples/material/floating_action_button/floating_action_button.1.dart' as example; ...
flutter/examples/api/test/material/floating_action_button/floating_action_button.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/floating_action_button/floating_action_button.1_test.dart", "repo_id": "flutter", "token_count": 887 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/list_tile/custom_list_item.1.dart' as example; import 'package:flutter...
flutter/examples/api/test/material/list_tile/custom_list_item.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/list_tile/custom_list_item.1_test.dart", "repo_id": "flutter", "token_count": 493 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/navigation_drawer/navigation_drawer.0.dart' as example; import 'pa...
flutter/examples/api/test/material/navigation_drawer/navigation_drawer.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/navigation_drawer/navigation_drawer.0_test.dart", "repo_id": "flutter", "token_count": 518 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/radio_list_tile/custom_labeled_radio.0.dart' as example; import 'packa...
flutter/examples/api/test/material/radio_list_tile/custom_labeled_radio.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/radio_list_tile/custom_labeled_radio.0_test.dart", "repo_id": "flutter", "token_count": 527 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/search_anchor/search_anchor.4.dart' as example; import 'package:flutte...
flutter/examples/api/test/material/search_anchor/search_anchor.4_test.dart/0
{ "file_path": "flutter/examples/api/test/material/search_anchor/search_anchor.4_test.dart", "repo_id": "flutter", "token_count": 1340 }
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/material.dart'; import 'package:flutter_api_samples/material/switch_list_tile/switch_list_tile.0.dart' as example; import 'package:...
flutter/examples/api/test/material/switch_list_tile/switch_list_tile.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/switch_list_tile/switch_list_tile.0_test.dart", "repo_id": "flutter", "token_count": 304 }
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. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_api_samples/painting/axis_direction/axis_direction...
flutter/examples/api/test/painting/axis_direction.0_test.dart/0
{ "file_path": "flutter/examples/api/test/painting/axis_direction.0_test.dart", "repo_id": "flutter", "token_count": 537 }
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/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_api_samples/services/system_chrome/system_chrome.se...
flutter/examples/api/test/services/system_chrome/system_chrome.set_system_u_i_overlay_style.1_test.dart/0
{ "file_path": "flutter/examples/api/test/services/system_chrome/system_chrome.set_system_u_i_overlay_style.1_test.dart", "repo_id": "flutter", "token_count": 437 }
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_api_samples/widgets/app/widgets_app.widgets_app.0.dart' as example; import 'package:flutter_test/flutter_test.dart'; void main() {...
flutter/examples/api/test/widgets/app/widgets_app.widgets_app.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/app/widgets_app.widgets_app.0_test.dart", "repo_id": "flutter", "token_count": 179 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/basic/indexed_stack.0.dart' as example; import 'package:flutter_test/fl...
flutter/examples/api/test/widgets/basic/indexed_stack.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/basic/indexed_stack.0_test.dart", "repo_id": "flutter", "token_count": 1443 }
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/material.dart'; import 'package:flutter_api_samples/widgets/heroes/hero.0.dart' as example; import 'package:flutter_test/flutter_te...
flutter/examples/api/test/widgets/heroes/hero.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/heroes/hero.0_test.dart", "repo_id": "flutter", "token_count": 1033 }
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_api_samples/widgets/routes/route_observer.0.dart' as example; import 'package:flutter_test/flutter_test.dart'; void main() { tes...
flutter/examples/api/test/widgets/routes/route_observer.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/routes/route_observer.0_test.dart", "repo_id": "flutter", "token_count": 507 }
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 <UIKit/UIKit.h> @protocol NativeViewControllerDelegate <NSObject> - (void)didTapIncrementButton; @end @interface NativeViewController: UIViewC...
flutter/examples/flutter_view/ios/Runner/NativeViewController.h/0
{ "file_path": "flutter/examples/flutter_view/ios/Runner/NativeViewController.h", "repo_id": "flutter", "token_count": 129 }
626
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
flutter/examples/flutter_view/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "flutter/examples/flutter_view/macos/Runner/Configs/Debug.xcconfig", "repo_id": "flutter", "token_count": 32 }
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. // Contents of this file should be generated automatically by // dev/tools/bin/generate_gradle_lockfiles.dart, but currently are not. // See #141540. allp...
flutter/examples/hello_world/android/build.gradle.kts/0
{ "file_path": "flutter/examples/hello_world/android/build.gradle.kts", "repo_id": "flutter", "token_count": 334 }
628
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
flutter/examples/image_list/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "flutter/examples/image_list/macos/Runner/Configs/Release.xcconfig", "repo_id": "flutter", "token_count": 32 }
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. // This example shows how to perform a simple animation using the raw interface // to the engine. import 'dart:math' as math; import 'dart:typed_data'; im...
flutter/examples/layers/raw/spinning_square.dart/0
{ "file_path": "flutter/examples/layers/raw/spinning_square.dart", "repo_id": "flutter", "token_count": 814 }
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 'package:flutter/gestures.dart'; import 'package:flutter_test/flutter_test.dart'; import '../rendering/src/sector_layout.dart'; void main() { gr...
flutter/examples/layers/test/sector_layout_test.dart/0
{ "file_path": "flutter/examples/layers/test/sector_layout_test.dart", "repo_id": "flutter", "token_count": 513 }
631
#include "ephemeral/Flutter-Generated.xcconfig"
flutter/examples/platform_channel/macos/Flutter/Flutter-Debug.xcconfig/0
{ "file_path": "flutter/examples/platform_channel/macos/Flutter/Flutter-Debug.xcconfig", "repo_id": "flutter", "token_count": 19 }
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 Cocoa import FlutterMacOS class MainFlutterWindow: NSWindow { private let powerSource = PowerSource() private let stateChangeHandler = PowerSou...
flutter/examples/platform_channel/macos/Runner/MainFlutterWindow.swift/0
{ "file_path": "flutter/examples/platform_channel/macos/Runner/MainFlutterWindow.swift", "repo_id": "flutter", "token_count": 1069 }
633
#include "Generated.xcconfig"
flutter/examples/platform_view/ios/Flutter/Release.xcconfig/0
{ "file_path": "flutter/examples/platform_view/ios/Flutter/Release.xcconfig", "repo_id": "flutter", "token_count": 12 }
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:async'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; void main()...
flutter/examples/platform_view/lib/main.dart/0
{ "file_path": "flutter/examples/platform_view/lib/main.dart", "repo_id": "flutter", "token_count": 1585 }
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. #include "flutter_window.h" #include <WinUser.h> #include <flutter/flutter_engine.h> #include <flutter/method_channel.h> #include <flutter/plugin_registra...
flutter/examples/platform_view/windows/runner/flutter_window.cpp/0
{ "file_path": "flutter/examples/platform_view/windows/runner/flutter_window.cpp", "repo_id": "flutter", "token_count": 1151 }
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. /// Flutter widgets implementing the current iOS design language. /// /// To use, import `package:flutter/cupertino.dart`. /// /// This library is designed...
flutter/packages/flutter/lib/cupertino.dart/0
{ "file_path": "flutter/packages/flutter/lib/cupertino.dart", "repo_id": "flutter", "token_count": 1091 }
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. # 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/lib/fix_data/fix_widgets/fix_actions.yaml/0
{ "file_path": "flutter/packages/flutter/lib/fix_data/fix_widgets/fix_actions.yaml", "repo_id": "flutter", "token_count": 1100 }
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. /// The Flutter semantics package. /// /// To use, import `package:flutter/semantics.dart`. /// /// The [SemanticsEvent] classes define the protocol for se...
flutter/packages/flutter/lib/semantics.dart/0
{ "file_path": "flutter/packages/flutter/lib/semantics.dart", "repo_id": "flutter", "token_count": 222 }
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' show Brightness, Color; import '../../foundation.dart'; import '../widgets/basic.dart'; import '../widgets/framework.dart'; import '../wi...
flutter/packages/flutter/lib/src/cupertino/colors.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/colors.dart", "repo_id": "flutter", "token_count": 17431 }
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:async'; import 'package:flutter/widgets.dart'; import 'colors.dart'; import 'icons.dart'; import 'theme.dart'; // These constants were eyeb...
flutter/packages/flutter/lib/src/cupertino/list_tile.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/list_tile.dart", "repo_id": "flutter", "token_count": 5781 }
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 'package:flutter/widgets.dart'; import 'bottom_tab_bar.dart'; import 'colors.dart'; import 'theme.dart'; /// Coordinates tab selection between a [...
flutter/packages/flutter/lib/src/cupertino/tab_scaffold.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/tab_scaffold.dart", "repo_id": "flutter", "token_count": 6593 }
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:js_interop'; // This value is set by the engine. It is used to determine if the application is // using canvaskit. @JS('window.flutterCanvasK...
flutter/packages/flutter/lib/src/foundation/_capabilities_web.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/_capabilities_web.dart", "repo_id": "flutter", "token_count": 137 }
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. /// A constant that is true if the application was compiled in release mode. /// /// More specifically, this is a constant that is true if the application ...
flutter/packages/flutter/lib/src/foundation/constants.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/constants.dart", "repo_id": "flutter", "token_count": 849 }
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:async'; /// A [Future] whose [then] implementation calls the callback immediately. /// /// This is similar to [Future.value], except that the...
flutter/packages/flutter/lib/src/foundation/synchronous_future.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/synchronous_future.dart", "repo_id": "flutter", "token_count": 675 }
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 'dart:math' as math; import 'package:flutter/foundation.dart'; // TODO(abarth): Consider using vector_math. class _Vector { _Vector(int size) ...
flutter/packages/flutter/lib/src/gestures/lsq_solver.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/lsq_solver.dart", "repo_id": "flutter", "token_count": 2532 }
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/widgets.dart'; import 'action_buttons.dart'; import 'theme.dart'; // Examples can assum...
flutter/packages/flutter/lib/src/material/action_icons_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/action_icons_theme.dart", "repo_id": "flutter", "token_count": 1910 }
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. // 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/play_pause.g.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/animated_icons/data/play_pause.g.dart", "repo_id": "flutter", "token_count": 22763 }
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 'dart:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'bottom_navigation_bar.dart'; i...
flutter/packages/flutter/lib/src/material/bottom_navigation_bar_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/bottom_navigation_bar_theme.dart", "repo_id": "flutter", "token_count": 3800 }
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:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'...
flutter/packages/flutter/lib/src/material/chip_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/chip_theme.dart", "repo_id": "flutter", "token_count": 8246 }
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. import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; import 'colors.dart'; import 'constants.dart'; import 'text_button.dart'; i...
flutter/packages/flutter/lib/src/material/desktop_text_selection_toolbar_button.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/desktop_text_selection_toolbar_button.dart", "repo_id": "flutter", "token_count": 941 }
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/rendering.dart'; import 'package:flutter/widgets.dart'; import 'color_scheme.dart'; import 'colors.dart'; import 'expansion_tile_t...
flutter/packages/flutter/lib/src/material/expansion_tile.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/expansion_tile.dart", "repo_id": "flutter", "token_count": 11182 }
652
// Copyright 2014 The Flutter Authors. 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 'debug.dart'; import 'material.dart'; /// A convenience widget for...
flutter/packages/flutter/lib/src/material/ink_decoration.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/ink_decoration.dart", "repo_id": "flutter", "token_count": 4634 }
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/widgets.dart'; import 'input_border.dart'; // Examples can assume: // late BuildContext context; /// Interactive states that som...
flutter/packages/flutter/lib/src/material/material_state.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/material_state.dart", "repo_id": "flutter", "token_count": 5938 }
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' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'button_style.dart'; import 'bu...
flutter/packages/flutter/lib/src/material/outlined_button.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/outlined_button.dart", "repo_id": "flutter", "token_count": 7781 }
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/cupertino.dart'; import 'package:flutter/gestures.dart'; import 'color_scheme.dart'; import 'material_state.dart'; import 'scrollb...
flutter/packages/flutter/lib/src/material/scrollbar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/scrollbar.dart", "repo_id": "flutter", "token_count": 4939 }
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/cupertino.dart'; import 'package:flutter/scheduler.dart'; import 'package:flutter/services.dart' show SelectionChangedCause, Sugges...
flutter/packages/flutter/lib/src/material/spell_check_suggestions_toolbar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/spell_check_suggestions_toolbar.dart", "repo_id": "flutter", "token_count": 3217 }
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 'dart:math' as math; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart' show listEquals; import 'package:flutter/ren...
flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart", "repo_id": "flutter", "token_count": 8546 }
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 'dart:async'; import 'dart:io'; import 'dart:ui' as ui; import 'package:flutter/foundation.dart'; import 'binding.dart'; import 'debug.dart'; impo...
flutter/packages/flutter/lib/src/painting/_network_image_io.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/_network_image_io.dart", "repo_id": "flutter", "token_count": 1920 }
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 'dart:io'; import 'dart:ui' show Image, Picture, Size; import 'package:flutter/foundation.dart'; /// Whether to replace all shadows with solid col...
flutter/packages/flutter/lib/src/painting/debug.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/debug.dart", "repo_id": "flutter", "token_count": 2463 }
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 'dart:math' as math; import 'basic_types.dart'; import 'borders.dart'; /// A shape with a notch in its outline. /// /// Typically used as the outl...
flutter/packages/flutter/lib/src/painting/notched_shapes.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/notched_shapes.dart", "repo_id": "flutter", "token_count": 2174 }
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/foundation.dart'; import 'simulation.dart'; // Examples can assume: // late AnimationController _controller; /// A simulation th...
flutter/packages/flutter/lib/src/physics/gravity_simulation.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/physics/gravity_simulation.dart", "repo_id": "flutter", "token_count": 1042 }
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 'dart:ui' as ui show Color; import 'package:flutter/foundation.dart'; import 'package:vector_math/vector_math_64.dart'; import 'box.dart'; import ...
flutter/packages/flutter/lib/src/rendering/flow.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/flow.dart", "repo_id": "flutter", "token_count": 4866 }
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 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'box.dart'; import 'debug.dart'; import 'debug_overflow_indicator.dart'; imp...
flutter/packages/flutter/lib/src/rendering/shifted_box.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/shifted_box.dart", "repo_id": "flutter", "token_count": 16877 }
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/animation.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/semantics.dart'; i...
flutter/packages/flutter/lib/src/rendering/viewport.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/viewport.dart", "repo_id": "flutter", "token_count": 25742 }
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:convert'; import 'package:flutter/foundation.dart'; import 'asset_bundle.dart'; import 'message_codecs.dart'; // We use .bin as the extensi...
flutter/packages/flutter/lib/src/services/asset_manifest.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/asset_manifest.dart", "repo_id": "flutter", "token_count": 1930 }
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/foundation.dart'; import 'platform_channel.dart'; export 'dart:typed_data' show ByteData; /// A message encoding/decoding mechan...
flutter/packages/flutter/lib/src/services/message_codec.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/message_codec.dart", "repo_id": "flutter", "token_count": 2207 }
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. /// Service extension constants for the services library. /// /// These constants will be used when registering service extensions in the /// framework, an...
flutter/packages/flutter/lib/src/services/service_extensions.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/service_extensions.dart", "repo_id": "flutter", "token_count": 390 }
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. // The widget in this file is an empty mock for non-web platforms. See // `_platform_selectable_region_context_menu_web.dart` for the web // implementation...
flutter/packages/flutter/lib/src/widgets/_platform_selectable_region_context_menu_io.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/_platform_selectable_region_context_menu_io.dart", "repo_id": "flutter", "token_count": 565 }
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. import 'dart:math' as math; import 'dart:ui' as ui show Image, ImageFilter, TextHeightBehavior; import 'package:flutter/animation.dart'; import 'package:f...
flutter/packages/flutter/lib/src/widgets/basic.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/basic.dart", "repo_id": "flutter", "token_count": 88727 }
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' show kIsWeb; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; import 'package:flut...
flutter/packages/flutter/lib/src/widgets/drag_target.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/drag_target.dart", "repo_id": "flutter", "token_count": 11601 }
671
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui' as ui show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/painting.dart'; import 'framework.dart' show Bu...
flutter/packages/flutter/lib/src/widgets/icon_theme_data.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/icon_theme_data.dart", "repo_id": "flutter", "token_count": 2704 }
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/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services...
flutter/packages/flutter/lib/src/widgets/modal_barrier.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/modal_barrier.dart", "repo_id": "flutter", "token_count": 4862 }
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/animation.dart'; import 'package:flutter/foundation.dart'; import 'scroll_context.dart'; import 'scroll_physics.dart'; import 'scr...
flutter/packages/flutter/lib/src/widgets/scroll_controller.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/scroll_controller.dart", "repo_id": "flutter", "token_count": 4892 }
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. /// Service extension constants for the widgets library. /// /// These constants will be used when registering service extensions in the /// framework, and...
flutter/packages/flutter/lib/src/widgets/service_extensions.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/service_extensions.dart", "repo_id": "flutter", "token_count": 5017 }
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 'dart:collection'; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'basic.dart'; import 'debug.dart'; im...
flutter/packages/flutter/lib/src/widgets/table.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/table.dart", "repo_id": "flutter", "token_count": 5527 }
676
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'framework.dart'; /// Builds a [Widget] when given a concrete value of a [ValueListenable<T>]. /// /// I...
flutter/packages/flutter/lib/src/widgets/value_listenable_builder.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/value_listenable_builder.dart", "repo_id": "flutter", "token_count": 2226 }
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/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('Animation created from ValueListenable', () ...
flutter/packages/flutter/test/animation/animation_from_listener_test.dart/0
{ "file_path": "flutter/packages/flutter/test/animation/animation_from_listener_test.dart", "repo_id": "flutter", "token_count": 776 }
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/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/renderin...
flutter/packages/flutter/test/cupertino/button_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/button_test.dart", "repo_id": "flutter", "token_count": 6466 }
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. @Tags(<String>['reduced-test-set']) library; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test...
flutter/packages/flutter/test/cupertino/magnifier_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/magnifier_test.dart", "repo_id": "flutter", "token_count": 4195 }
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 'dart:collection'; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; impor...
flutter/packages/flutter/test/cupertino/sliding_segmented_control_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/sliding_segmented_control_test.dart", "repo_id": "flutter", "token_count": 17834 }
681
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io'; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_test/flu...
flutter/packages/flutter/test/flutter_test_config.dart/0
{ "file_path": "flutter/packages/flutter/test/flutter_test_config.dart", "repo_id": "flutter", "token_count": 641 }
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/foundation.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('isWeb is false for flutter tester', () { ...
flutter/packages/flutter/test/foundation/constants_test.dart/0
{ "file_path": "flutter/packages/flutter/test/foundation/constants_test.dart", "repo_id": "flutter", "token_count": 133 }
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 'dart:async'; import 'dart:convert'; import 'dart:ui' as ui; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; impo...
flutter/packages/flutter/test/foundation/service_extensions_test.dart/0
{ "file_path": "flutter/packages/flutter/test/foundation/service_extensions_test.dart", "repo_id": "flutter", "token_count": 16825 }
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/gestures.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('wrapped HitTestResult gets HitTestEntry add...
flutter/packages/flutter/test/gestures/hit_test_test.dart/0
{ "file_path": "flutter/packages/flutter/test/gestures/hit_test_test.dart", "repo_id": "flutter", "token_count": 1747 }
685
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { testWidge...
flutter/packages/flutter/test/gestures/transformed_double_tap_test.dart/0
{ "file_path": "flutter/packages/flutter/test/gestures/transformed_double_tap_test.dart", "repo_id": "flutter", "token_count": 1299 }
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/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; import 'package:flutter_test/flutt...
flutter/packages/flutter/test/material/app_bar_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/app_bar_test.dart", "repo_id": "flutter", "token_count": 46711 }
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:ui'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; impo...
flutter/packages/flutter/test/material/bottom_sheet_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/bottom_sheet_test.dart", "repo_id": "flutter", "token_count": 33530 }
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:typed_data'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import '../image_data.dart'; void mai...
flutter/packages/flutter/test/material/color_scheme_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/color_scheme_test.dart", "repo_id": "flutter", "token_count": 13023 }
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/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; import '../widgets/seman...
flutter/packages/flutter/test/material/drawer_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/drawer_test.dart", "repo_id": "flutter", "token_count": 11364 }
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/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('FilledButtonThemeData lerp special cases', ...
flutter/packages/flutter/test/material/filled_button_theme_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/filled_button_theme_test.dart", "repo_id": "flutter", "token_count": 3966 }
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/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; class Page extends Stat...
flutter/packages/flutter/test/material/ink_splash_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/ink_splash_test.dart", "repo_id": "flutter", "token_count": 2366 }
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/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { // Pumps...
flutter/packages/flutter/test/material/persistent_bottom_sheet_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/persistent_bottom_sheet_test.dart", "repo_id": "flutter", "token_count": 9308 }
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 'dart:ui'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'packag...
flutter/packages/flutter/test/material/search_anchor_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/search_anchor_test.dart", "repo_id": "flutter", "token_count": 46619 }
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/rendering.dart'; import 'package:flutter_test/flutt...
flutter/packages/flutter/test/material/switch_theme_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/switch_theme_test.dart", "repo_id": "flutter", "token_count": 16059 }
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/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('Te...
flutter/packages/flutter/test/material/text_selection_theme_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/text_selection_theme_test.dart", "repo_id": "flutter", "token_count": 5071 }
696
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; import '../widgets/semant...
flutter/packages/flutter/test/material/user_accounts_drawer_header_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/user_accounts_drawer_header_test.dart", "repo_id": "flutter", "token_count": 9729 }
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/painting.dart'; import 'package:flutter_test/flutter_test.dart'; import 'common_matchers.dart'; void main() { test('CircleBorde...
flutter/packages/flutter/test/painting/circle_border_test.dart/0
{ "file_path": "flutter/packages/flutter/test/painting/circle_border_test.dart", "repo_id": "flutter", "token_count": 983 }
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/foundation.dart'; import 'package:flutter/painting.dart'; import 'package:flutter/scheduler.dart'; import ...
flutter/packages/flutter/test/painting/image_cache_test.dart/0
{ "file_path": "flutter/packages/flutter/test/painting/image_cache_test.dart", "repo_id": "flutter", "token_count": 8751 }
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 'dart:ui' as ui; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart';...
flutter/packages/flutter/test/painting/paint_image_test.dart/0
{ "file_path": "flutter/packages/flutter/test/painting/paint_image_test.dart", "repo_id": "flutter", "token_count": 3304 }
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/physics.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('Friction simulation positive velocity', () {...
flutter/packages/flutter/test/physics/friction_simulation_test.dart/0
{ "file_path": "flutter/packages/flutter/test/physics/friction_simulation_test.dart", "repo_id": "flutter", "token_count": 1240 }
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/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; import 'rendering_tester.dart'; void main() { TestRenderingFl...
flutter/packages/flutter/test/rendering/constraints_test.dart/0
{ "file_path": "flutter/packages/flutter/test/rendering/constraints_test.dart", "repo_id": "flutter", "token_count": 1059 }
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/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; import 'rendering_tester.dart'; void main() { TestRenderingFl...
flutter/packages/flutter/test/rendering/limited_box_test.dart/0
{ "file_path": "flutter/packages/flutter/test/rendering/limited_box_test.dart", "repo_id": "flutter", "token_count": 2828 }
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 'dart:ui' as ui show BoxHeightStyle, BoxWidthStyle, Paragraph, TextBox; import 'package:flutter/foundation.dart' show isCanvasKit, kIsWeb; import '...
flutter/packages/flutter/test/rendering/paragraph_test.dart/0
{ "file_path": "flutter/packages/flutter/test/rendering/paragraph_test.dart", "repo_id": "flutter", "token_count": 22533 }
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/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; import 'rendering_tester.dart'; void main() { TestRenderingFl...
flutter/packages/flutter/test/rendering/size_test.dart/0
{ "file_path": "flutter/packages/flutter/test/rendering/size_test.dart", "repo_id": "flutter", "token_count": 282 }
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. // This file is separate from viewport_test.dart because we can't use both // testWidgets and rendering_tester in the same file - testWidgets will // initi...
flutter/packages/flutter/test/rendering/viewport_caching_test.dart/0
{ "file_path": "flutter/packages/flutter/test/rendering/viewport_caching_test.dart", "repo_id": "flutter", "token_count": 2028 }
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/material.dart'; import 'package:flutter/semantics.dart'; import 'package:flutter_test/flutter_test.dart'; import '../widgets/seman...
flutter/packages/flutter/test/semantics/semantics_owner_test.dart/0
{ "file_path": "flutter/packages/flutter/test/semantics/semantics_owner_test.dart", "repo_id": "flutter", "token_count": 570 }
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 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; import 'pack...
flutter/packages/flutter/test/services/fake_platform_views.dart/0
{ "file_path": "flutter/packages/flutter/test/services/fake_platform_views.dart", "repo_id": "flutter", "token_count": 7564 }
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 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; class MockRestorationManager extends TestRestorationManager { M...
flutter/packages/flutter/test/services/restoration.dart/0
{ "file_path": "flutter/packages/flutter/test/services/restoration.dart", "repo_id": "flutter", "token_count": 665 }
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 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { testWidgets('Align smoke test', (WidgetTester test...
flutter/packages/flutter/test/widgets/align_test.dart/0
{ "file_path": "flutter/packages/flutter/test/widgets/align_test.dart", "repo_id": "flutter", "token_count": 1984 }
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/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_test/flut...
flutter/packages/flutter/test/widgets/app_test.dart/0
{ "file_path": "flutter/packages/flutter/test/widgets/app_test.dart", "repo_id": "flutter", "token_count": 11813 }
711