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/material.dart'; // Flutter code sample for [DropdownMenu]s. The first dropdown menu // has the default outlined border and demos u...
flutter/examples/api/lib/material/dropdown_menu/dropdown_menu.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/dropdown_menu/dropdown_menu.0.dart", "repo_id": "flutter", "token_count": 2880 }
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'; /// Flutter code sample for [IconButton]. void main() => runApp(const IconButtonExampleApp()); class IconButtonE...
flutter/examples/api/lib/material/icon_button/icon_button.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/icon_button/icon_button.0.dart", "repo_id": "flutter", "token_count": 514 }
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/material.dart'; /// Flutter code sample for [InputDecorator]. void main() => runApp(const LabelStyleErrorExampleApp()); class La...
flutter/examples/api/lib/material/input_decorator/input_decoration.label_style_error.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/input_decorator/input_decoration.label_style_error.0.dart", "repo_id": "flutter", "token_count": 657 }
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'; /// Flutter code sample for [MaterialStateMouseCursor]. void main() => runApp(const MaterialStateMouseCursorExamp...
flutter/examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart", "repo_id": "flutter", "token_count": 459 }
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 'dart:ui'; import 'package:flutter/material.dart'; /// Flutter code sample for [NavigationRail.extendedAnimation]. void main() => runApp(const Ex...
flutter/examples/api/lib/material/navigation_rail/navigation_rail.extended_animation.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/navigation_rail/navigation_rail.extended_animation.0.dart", "repo_id": "flutter", "token_count": 1813 }
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/gestures.dart'; import 'package:flutter/material.dart'; /// Flutter code sample for custom labeled radio. void main() => runApp(...
flutter/examples/api/lib/material/radio_list_tile/custom_labeled_radio.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/radio_list_tile/custom_labeled_radio.0.dart", "repo_id": "flutter", "token_count": 1392 }
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/material.dart'; /// Flutter code sample for [Scaffold.drawer]. void main() => runApp(const DrawerExampleApp()); class DrawerExam...
flutter/examples/api/lib/material/scaffold/scaffold.drawer.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/scaffold/scaffold.drawer.0.dart", "repo_id": "flutter", "token_count": 707 }
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/material.dart'; /// Flutter code sample for [SearchAnchor]. void main() => runApp(const SearchBarApp()); class SearchBarApp exte...
flutter/examples/api/lib/material/search_anchor/search_anchor.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/search_anchor/search_anchor.2.dart", "repo_id": "flutter", "token_count": 986 }
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 'package:flutter/material.dart'; /// Flutter code sample for [StepStyle]. void main() => runApp(const StepStyleExampleApp()); class StepStyleExam...
flutter/examples/api/lib/material/stepper/step_style.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/stepper/step_style.0.dart", "repo_id": "flutter", "token_count": 1259 }
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/material.dart'; /// Flutter code sample for [TextButton]. void main() { runApp(const TextButtonExampleApp()); } class TextButt...
flutter/examples/api/lib/material/text_button/text_button.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/text_button/text_button.0.dart", "repo_id": "flutter", "token_count": 7448 }
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/material.dart'; /// Flutter code sample for [BorderSide.strokeAlign]. void main() => runApp(const StrokeAlignApp()); class Strok...
flutter/examples/api/lib/painting/borders/border_side.stroke_align.0.dart/0
{ "file_path": "flutter/examples/api/lib/painting/borders/border_side.stroke_align.0.dart", "repo_id": "flutter", "token_count": 3384 }
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/material.dart'; /// Flutter code sample for [MouseCursor]. void main() => runApp(const MouseCursorExampleApp()); class MouseCurs...
flutter/examples/api/lib/services/mouse_cursor/mouse_cursor.0.dart/0
{ "file_path": "flutter/examples/api/lib/services/mouse_cursor/mouse_cursor.0.dart", "repo_id": "flutter", "token_count": 416 }
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/material.dart'; /// Flutter code sample for [Actions]. void main() => runApp(const ActionsExampleApp()); class ActionsExampleApp...
flutter/examples/api/lib/widgets/actions/actions.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/actions/actions.0.dart", "repo_id": "flutter", "token_count": 2035 }
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 'package:flutter/material.dart'; /// Flutter code sample for [RawAutocomplete.focusNode]. void main() => runApp(const AutocompleteExampleApp()); ...
flutter/examples/api/lib/widgets/autocomplete/raw_autocomplete.focus_node.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/autocomplete/raw_autocomplete.focus_node.0.dart", "repo_id": "flutter", "token_count": 1243 }
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/material.dart'; /// Flutter code sample for [Listener]. void main() => runApp(const ListenerApp()); class ListenerApp extends St...
flutter/examples/api/lib/widgets/basic/listener.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/basic/listener.0.dart", "repo_id": "flutter", "token_count": 926 }
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 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// Flutter code sample for [FocusNode]. void main() => runApp(const Focu...
flutter/examples/api/lib/widgets/focus_manager/focus_node.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/focus_manager/focus_node.0.dart", "repo_id": "flutter", "token_count": 1227 }
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 'package:flutter/material.dart'; /// Flutter code sample for [Hero]. void main() => runApp(const HeroApp()); class HeroApp extends StatelessWidge...
flutter/examples/api/lib/widgets/heroes/hero.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/heroes/hero.0.dart", "repo_id": "flutter", "token_count": 794 }
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/material.dart'; import 'package:vector_math/vector_math_64.dart' show Quad, Vector3; /// Flutter code sample for [InteractiveViewe...
flutter/examples/api/lib/widgets/interactive_viewer/interactive_viewer.builder.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/interactive_viewer/interactive_viewer.builder.0.dart", "repo_id": "flutter", "token_count": 1779 }
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/material.dart'; /// Flutter code sample for [NestedScrollView]. void main() => runApp(const NestedScrollViewExampleApp()); class...
flutter/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.0.dart", "repo_id": "flutter", "token_count": 3131 }
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 'package:flutter/material.dart'; /// Flutter code sample for [RestorableValue]. void main() => runApp(const RestorableValueExampleApp()); class R...
flutter/examples/api/lib/widgets/restoration_properties/restorable_value.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/restoration_properties/restorable_value.0.dart", "repo_id": "flutter", "token_count": 752 }
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 'package:flutter/material.dart'; /// Flutter code sample for [RawScrollbar.shape]. void main() => runApp(const ShapeExampleApp()); class ShapeExa...
flutter/examples/api/lib/widgets/scrollbar/raw_scrollbar.shape.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/scrollbar/raw_scrollbar.shape.0.dart", "repo_id": "flutter", "token_count": 478 }
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 'package:flutter/material.dart'; /// Flutter code sample for [SliverFillRemaining]. void main() => runApp(const SliverFillRemainingExampleApp()); ...
flutter/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.0.dart", "repo_id": "flutter", "token_count": 563 }
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/material.dart'; /// Flutter code sample for a [ValueNotifier] with a [ListenableBuilder]. void main() { runApp(const Listenable...
flutter/examples/api/lib/widgets/transitions/listenable_builder.1.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/transitions/listenable_builder.1.dart", "repo_id": "flutter", "token_count": 695 }
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 'package:flutter/cupertino.dart'; import 'package:flutter_api_samples/cupertino/activity_indicator/cupertino_activity_indicator.0.dart' as example; ...
flutter/examples/api/test/cupertino/activity_indicator/cupertino_activity_indicator.0_test.dart/0
{ "file_path": "flutter/examples/api/test/cupertino/activity_indicator/cupertino_activity_indicator.0_test.dart", "repo_id": "flutter", "token_count": 506 }
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 'package:flutter/cupertino.dart'; import 'package:flutter_api_samples/cupertino/radio/cupertino_radio.0.dart' as example; import 'package:flutter_te...
flutter/examples/api/test/cupertino/radio/cupertino_radio.0_test.dart/0
{ "file_path": "flutter/examples/api/test/cupertino/radio/cupertino_radio.0_test.dart", "repo_id": "flutter", "token_count": 463 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/autocomplete/autocomplete.0.dart' as example; import 'package:flutter_...
flutter/examples/api/test/material/autocomplete/autocomplete.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/autocomplete/autocomplete.0_test.dart", "repo_id": "flutter", "token_count": 386 }
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/material.dart'; import 'package:flutter/scheduler.dart'; import 'package:flutter_api_samples/material/checkbox_list_tile/checkbox_l...
flutter/examples/api/test/material/checkbox_list_tile/checkbox_list_tile.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/checkbox_list_tile/checkbox_list_tile.0_test.dart", "repo_id": "flutter", "token_count": 390 }
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/material.dart'; import 'package:flutter_api_samples/material/date_picker/show_date_picker.0.dart' as example; import 'package:flutt...
flutter/examples/api/test/material/date_picker/show_date_picker.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/date_picker/show_date_picker.0_test.dart", "repo_id": "flutter", "token_count": 546 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/dropdown/dropdown_button.style.0.dart' as example; import 'package:flu...
flutter/examples/api/test/material/dropdown/dropdown_button.style.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/dropdown/dropdown_button.style.0_test.dart", "repo_id": "flutter", "token_count": 378 }
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:typed_data'; import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/ink/ink.image_clip.0.dart' as example; impo...
flutter/examples/api/test/material/ink/ink.image_clip.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/ink/ink.image_clip.0_test.dart", "repo_id": "flutter", "token_count": 646 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/list_tile/list_tile.4.dart' as example; import 'package:flutter_test/f...
flutter/examples/api/test/material/list_tile/list_tile.4_test.dart/0
{ "file_path": "flutter/examples/api/test/material/list_tile/list_tile.4_test.dart", "repo_id": "flutter", "token_count": 691 }
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/material.dart'; import 'package:flutter_api_samples/material/page_transitions_theme/page_transitions_theme.1.dart' as example; impo...
flutter/examples/api/test/material/page_transitions_theme/page_transitions_theme.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/page_transitions_theme/page_transitions_theme.1_test.dart", "repo_id": "flutter", "token_count": 645 }
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/material.dart'; import 'package:flutter_api_samples/material/refresh_indicator/refresh_indicator.0.dart' as example; import 'packag...
flutter/examples/api/test/material/refresh_indicator/refresh_indicator.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/refresh_indicator/refresh_indicator.0_test.dart", "repo_id": "flutter", "token_count": 486 }
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/material.dart'; import 'package:flutter_api_samples/material/slider/slider.2.dart' as example; import 'package:flutter_test/flutter...
flutter/examples/api/test/material/slider/slider.2_test.dart/0
{ "file_path": "flutter/examples/api/test/material/slider/slider.2_test.dart", "repo_id": "flutter", "token_count": 472 }
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 'dart:io'; import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/text_button/text_button.0.dart' as example; import ...
flutter/examples/api/test/material/text_button/text_button.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/text_button/text_button.0_test.dart", "repo_id": "flutter", "token_count": 1264 }
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 'package:flutter/material.dart'; import 'package:flutter_api_samples/rendering/box/parent_data.0.dart'; import 'package:flutter_test/flutter_test.da...
flutter/examples/api/test/rendering/box/parent_data.0_test.dart/0
{ "file_path": "flutter/examples/api/test/rendering/box/parent_data.0_test.dart", "repo_id": "flutter", "token_count": 256 }
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/material.dart'; import 'package:flutter_api_samples/widgets/basic/aspect_ratio.1.dart' as example; import 'package:flutter_test/flu...
flutter/examples/api/test/widgets/basic/aspect_ratio.1_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/basic/aspect_ratio.1_test.dart", "repo_id": "flutter", "token_count": 278 }
656
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/basic/offstage.0.dart' as example; import 'package:flutter_test/flutter...
flutter/examples/api/test/widgets/basic/offstage.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/basic/offstage.0_test.dart", "repo_id": "flutter", "token_count": 379 }
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/widgets.dart'; import 'package:flutter_api_samples/widgets/layout_builder/layout_builder.0.dart' as example; import 'package:flutte...
flutter/examples/api/test/widgets/layout_builder/layout_builder.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/layout_builder/layout_builder.0_test.dart", "repo_id": "flutter", "token_count": 337 }
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/rendering.dart'; import 'package:flutter_api_samples/widgets/scroll_view/grid_view.0.dart'; import 'package:flutter_test/flutter_te...
flutter/examples/api/test/widgets/scroll_view/grid_view.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/scroll_view/grid_view.0_test.dart", "repo_id": "flutter", "token_count": 601 }
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_api_samples/widgets/transitions/matrix_transition.0.dart' as example; import 'package:flutt...
flutter/examples/api/test/widgets/transitions/matrix_transition.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/transitions/matrix_transition.0_test.dart", "repo_id": "flutter", "token_count": 698 }
660
#include "ephemeral/Flutter-Generated.xcconfig"
flutter/examples/flutter_view/macos/Flutter/Flutter-Debug.xcconfig/0
{ "file_path": "flutter/examples/flutter_view/macos/Flutter/Flutter-Debug.xcconfig", "repo_id": "flutter", "token_count": 19 }
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 Cocoa import FlutterMacOS /** The window that is automatically generated when `flutter create --target=macos` on a project. `MainFlutterWindow` use...
flutter/examples/flutter_view/macos/Runner/MainFlutterWindow.swift/0
{ "file_path": "flutter/examples/flutter_view/macos/Runner/MainFlutterWindow.swift", "repo_id": "flutter", "token_count": 287 }
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. // Contents of this file should be generated automatically by // dev/tools/bin/generate_gradle_lockfiles.dart, but currently are not. // See #141540. plug...
flutter/examples/hello_world/android/settings.gradle.kts/0
{ "file_path": "flutter/examples/hello_world/android/settings.gradle.kts", "repo_id": "flutter", "token_count": 482 }
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. // This example shows how to show the text 'Hello, world.' using the underlying // render tree. import 'package:flutter/rendering.dart'; import 'src/bind...
flutter/examples/layers/rendering/hello_world.dart/0
{ "file_path": "flutter/examples/layers/rendering/hello_world.dart", "repo_id": "flutter", "token_count": 366 }
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_driver/flutter_driver.dart'; import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; void main() { group('button tap tes...
flutter/examples/platform_channel/test_driver/button_tap_test.dart/0
{ "file_path": "flutter/examples/platform_channel/test_driver/button_tap_test.dart", "repo_id": "flutter", "token_count": 444 }
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. # 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_material/fix_app_bar_theme.yaml/0
{ "file_path": "flutter/packages/flutter/lib/fix_data/fix_material/fix_app_bar_theme.yaml", "repo_id": "flutter", "token_count": 3430 }
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. # 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_list_wheel_scroll_view.yaml/0
{ "file_path": "flutter/packages/flutter/lib/fix_data/fix_widgets/fix_list_wheel_scroll_view.yaml", "repo_id": "flutter", "token_count": 1483 }
667
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'animation.dart'; import 'curves.dart'; import 'listener_helpers.dart'; ex...
flutter/packages/flutter/lib/src/animation/animations.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/animation/animations.dart", "repo_id": "flutter", "token_count": 7661 }
668
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import 'localizations.dart'; // Examples can assume: // late BuildContext context; /// Asserts that the given con...
flutter/packages/flutter/lib/src/cupertino/debug.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/debug.dart", "repo_id": "flutter", "token_count": 617 }
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 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; import 'package:flutter/widgets....
flutter/packages/flutter/lib/src/cupertino/picker.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/picker.dart", "repo_id": "flutter", "token_count": 5985 }
670
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:collection'; import 'dart:math' as math show pi; import 'dart:ui' as ui; import 'package:flutter/foundation.dart' show Brightness, clampDoubl...
flutter/packages/flutter/lib/src/cupertino/text_selection_toolbar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/text_selection_toolbar.dart", "repo_id": "flutter", "token_count": 15274 }
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:async'; import 'package:meta/meta.dart' show visibleForTesting; /// Signature for callbacks passed to [LicenseRegistry.addLicense]. typedef ...
flutter/packages/flutter/lib/src/foundation/licenses.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/licenses.dart", "repo_id": "flutter", "token_count": 4347 }
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. // Modeled after Android's ViewConfiguration: // https://github.com/android/platform_frameworks_base/blob/master/core/java/android/view/ViewConfiguration.j...
flutter/packages/flutter/lib/src/gestures/constants.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/constants.dart", "repo_id": "flutter", "token_count": 1416 }
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/foundation.dart'; import 'events.dart'; export 'events.dart' show PointerSignalEvent; /// The callback to register with a [Point...
flutter/packages/flutter/lib/src/gestures/pointer_signal_resolver.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/pointer_signal_resolver.dart", "repo_id": "flutter", "token_count": 1412 }
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. // 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/add_event.g.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/animated_icons/data/add_event.g.dart", "repo_id": "flutter", "token_count": 97338 }
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:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart';...
flutter/packages/flutter/lib/src/material/app_bar_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/app_bar_theme.dart", "repo_id": "flutter", "token_count": 3709 }
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' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'button_theme.dart'; import 'th...
flutter/packages/flutter/lib/src/material/button_bar_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/button_bar_theme.dart", "repo_id": "flutter", "token_count": 3094 }
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/painting.dart'; /// The minimum dimension of any interactive region according to Material /// guidelines. /// /// This is used to ...
flutter/packages/flutter/lib/src/material/constants.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/constants.dart", "repo_id": "flutter", "token_count": 724 }
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/gestures.dart' show DragStartBehavior; import 'package:flutter/widgets.dart'; import 'colors.dart'; import 'debug.dart'; import 'd...
flutter/packages/flutter/lib/src/material/drawer.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/drawer.dart", "repo_id": "flutter", "token_count": 9645 }
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/foundation.dart' show clampDouble; import 'package:flutter/widgets.dart'; import 'chip.dart'; import 'chip_theme.dart'; import 'co...
flutter/packages/flutter/lib/src/material/filter_chip.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/filter_chip.dart", "repo_id": "flutter", "token_count": 4392 }
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:async'; import 'dart:collection'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/r...
flutter/packages/flutter/lib/src/material/ink_well.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/ink_well.dart", "repo_id": "flutter", "token_count": 17387 }
681
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'button_style.dart'; import 'ma...
flutter/packages/flutter/lib/src/material/menu_style.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/menu_style.dart", "repo_id": "flutter", "token_count": 4648 }
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/rendering.dart'; import 'package:flutter/scheduler.dart'; import 'package:flutter/widgets...
flutter/packages/flutter/lib/src/material/popup_menu.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/popup_menu.dart", "repo_id": "flutter", "token_count": 18353 }
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:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'...
flutter/packages/flutter/lib/src/material/search_view_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/search_view_theme.dart", "repo_id": "flutter", "token_count": 2716 }
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' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'...
flutter/packages/flutter/lib/src/material/switch_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/switch_theme.dart", "repo_id": "flutter", "token_count": 2821 }
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/services.dart'; import 'package:flutter/widgets.dart'; import 'debug.dart'; import 'material_localizations.dart'; /// Whether th...
flutter/packages/flutter/lib/src/material/time.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/time.dart", "repo_id": "flutter", "token_count": 2594 }
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:ui' as ui; import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart' show ServicesBinding; import 'image_cache.dart'; ...
flutter/packages/flutter/lib/src/painting/binding.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/binding.dart", "repo_id": "flutter", "token_count": 2360 }
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' as ui show lerpDouble; import 'package:flutter/foundation.dart'; import 'alignment.dart'; import 'basic_types.dart'; /// An offset that...
flutter/packages/flutter/lib/src/painting/fractional_offset.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/fractional_offset.dart", "repo_id": "flutter", "token_count": 2212 }
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:developer'; import 'dart:ui' as ui; import 'package:flutter/foundation.dart'; import 'debug.dart'; /// Interface for drawing an image to wa...
flutter/packages/flutter/lib/src/painting/shader_warm_up.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/shader_warm_up.dart", "repo_id": "flutter", "token_count": 1431 }
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/animation.dart'; import 'package:flutter/foundation.dart'; import 'box.dart'; import 'layer.dart'; import 'object.dart'; import 's...
flutter/packages/flutter/lib/src/rendering/animated_size.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/animated_size.dart", "repo_id": "flutter", "token_count": 4279 }
690
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/animation.dart'; import 'package:flutter/foundation.dart'; import 'package:vector_math/vector_math_64....
flutter/packages/flutter/lib/src/rendering/list_wheel_viewport.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/list_wheel_viewport.dart", "repo_id": "flutter", "token_count": 14037 }
691
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:vector_math/vector_math_64.dart'; import 'object.dart'; import 'sliver.dart'; /// A sliver that places multip...
flutter/packages/flutter/lib/src/rendering/sliver_group.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/sliver_group.dart", "repo_id": "flutter", "token_count": 5161 }
692
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; /// A task priority, as passed to [SchedulerBinding.scheduleTask]. @immutable class Priority { const Priority....
flutter/packages/flutter/lib/src/scheduler/priority.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/scheduler/priority.dart", "repo_id": "flutter", "token_count": 453 }
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/foundation.dart'; import 'system_channels.dart'; /// Data stored on the system clipboard. /// /// The system clipboard can contai...
flutter/packages/flutter/lib/src/services/clipboard.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/clipboard.dart", "repo_id": "flutter", "token_count": 781 }
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 'dart:async'; import 'dart:ui'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'message_codec.dart'; imp...
flutter/packages/flutter/lib/src/services/platform_views.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/platform_views.dart", "repo_id": "flutter", "token_count": 17309 }
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 'system_channels.dart'; /// A sound provided by the system. /// /// These sounds may be played with [SystemSound.play]. enum SystemSoundType { /...
flutter/packages/flutter/lib/src/services/system_sound.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/system_sound.dart", "repo_id": "flutter", "token_count": 366 }
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/foundation.dart'; import 'basic.dart'; import 'framework.dart'; import 'media_query.dart'; import 'scroll_controller.dart'; import...
flutter/packages/flutter/lib/src/widgets/animated_scroll_view.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/animated_scroll_view.dart", "repo_id": "flutter", "token_count": 13832 }
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/foundation.dart'; import 'package:flutter/rendering.dart'; import 'basic.dart'; import 'framework.dart'; import 'image.dart'; // ...
flutter/packages/flutter/lib/src/widgets/container.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/container.dart", "repo_id": "flutter", "token_count": 5342 }
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:async'; import 'dart:ui'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/painting....
flutter/packages/flutter/lib/src/widgets/focus_manager.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/focus_manager.dart", "repo_id": "flutter", "token_count": 27612 }
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:collection'; import 'framework.dart'; /// An [InheritedWidget] that's intended to be used as the base class for models /// whose dependents ...
flutter/packages/flutter/lib/src/widgets/inherited_model.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/inherited_model.dart", "repo_id": "flutter", "token_count": 2711 }
700
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'framework.dart'; /// Signature for [Notification] listeners. /// /// Return true to cancel the notifica...
flutter/packages/flutter/lib/src/widgets/notification_listener.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/notification_listener.dart", "repo_id": "flutter", "token_count": 1798 }
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/services.dart'; import 'focus_manager.dart'; import 'focus_scope.dart'; import 'framewor...
flutter/packages/flutter/lib/src/widgets/raw_keyboard_listener.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/raw_keyboard_listener.dart", "repo_id": "flutter", "token_count": 1293 }
702
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/painting.dart' show ...
flutter/packages/flutter/lib/src/widgets/scroll_physics.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/scroll_physics.dart", "repo_id": "flutter", "token_count": 11511 }
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:collection' show HashMap, SplayTreeMap; import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/renderi...
flutter/packages/flutter/lib/src/widgets/sliver.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/sliver.dart", "repo_id": "flutter", "token_count": 19863 }
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/foundation.dart'; import 'package:flutter/rendering.dart'; /// The position information for a text selection toolbar. /// /// Typi...
flutter/packages/flutter/lib/src/widgets/text_selection_toolbar_anchors.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/text_selection_toolbar_anchors.dart", "repo_id": "flutter", "token_count": 938 }
705
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui' as ui show ParagraphBuilder, PlaceholderAlignment; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; im...
flutter/packages/flutter/lib/src/widgets/widget_span.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/widget_span.dart", "repo_id": "flutter", "token_count": 4874 }
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/animation.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { testWidge...
flutter/packages/flutter/test/animation/futures_test.dart/0
{ "file_path": "flutter/packages/flutter/test/animation/futures_test.dart", "repo_id": "flutter", "token_count": 2907 }
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. // reduced-test-set: // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(<String>['reduced-test-set']) librar...
flutter/packages/flutter/test/cupertino/date_picker_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/date_picker_test.dart", "repo_id": "flutter", "token_count": 33401 }
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/cupertino.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { testWidgets('test iOS page transition (LTR)', (W...
flutter/packages/flutter/test/cupertino/page_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/page_test.dart", "repo_id": "flutter", "token_count": 8275 }
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/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; const String text = 'Hel...
flutter/packages/flutter/test/cupertino/text_field_restoration_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/text_field_restoration_test.dart", "repo_id": "flutter", "token_count": 1212 }
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_test/flutter_test.dart'; void main() { test('test Category constructor', () { cons...
flutter/packages/flutter/test/foundation/annotations_test.dart/0
{ "file_path": "flutter/packages/flutter/test/foundation/annotations_test.dart", "repo_id": "flutter", "token_count": 261 }
711
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/gestures.dart'; import 'package:flutter_test/flutter_test.dart'; const int primaryKey = 4; class TestGestureArenaMember extends G...
flutter/packages/flutter/test/gestures/arena_test.dart/0
{ "file_path": "flutter/packages/flutter/test/gestures/arena_test.dart", "repo_id": "flutter", "token_count": 1816 }
712
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/gestures.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_...
flutter/packages/flutter/test/gestures/multidrag_test.dart/0
{ "file_path": "flutter/packages/flutter/test/gestures/multidrag_test.dart", "repo_id": "flutter", "token_count": 1916 }
713
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/gestures.dart'; const List<PointerEvent> velocityEventData = <PointerEvent>[ PointerDownEvent( timeStamp: Duration(milliseco...
flutter/packages/flutter/test/gestures/velocity_tracker_data.dart/0
{ "file_path": "flutter/packages/flutter/test/gestures/velocity_tracker_data.dart", "repo_id": "flutter", "token_count": 20054 }
714
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('MaterialPointArcTween control test', () { ...
flutter/packages/flutter/test/material/arc_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/arc_test.dart", "repo_id": "flutter", "token_count": 1777 }
715
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('ButtonThemeData defaults', () { const ...
flutter/packages/flutter/test/material/button_theme_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/button_theme_test.dart", "repo_id": "flutter", "token_count": 2646 }
716
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(<String>['reduced-test-set']) library; import 'dart:ui'; im...
flutter/packages/flutter/test/material/date_picker_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/date_picker_test.dart", "repo_id": "flutter", "token_count": 39204 }
717
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // no-shuffle: // //TODO(gspencergoog): Remove this tag once this test's state leaks/test // dependencies have been fixed. // https://github.com/flut...
flutter/packages/flutter/test/material/dropdown_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/dropdown_test.dart", "repo_id": "flutter", "token_count": 61403 }
718
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; vo...
flutter/packages/flutter/test/material/floating_action_button_location_test.dart/0
{ "file_path": "flutter/packages/flutter/test/material/floating_action_button_location_test.dart", "repo_id": "flutter", "token_count": 27356 }
719