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. // This file is part of dev/bots/test.dart's runTracingTests test. import 'package:flutter/foundation.dart'; void main() { // This file is intended to ...
flutter/dev/tracing_tests/lib/control.dart/0
{ "file_path": "flutter/dev/tracing_tests/lib/control.dart", "repo_id": "flutter", "token_count": 197 }
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/cupertino.dart'; /// Flutter code sample for [CupertinoAlertDialog]. void main() => runApp(const AlertDialogApp()); class AlertD...
flutter/examples/api/lib/cupertino/dialog/cupertino_alert_dialog.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/dialog/cupertino_alert_dialog.0.dart", "repo_id": "flutter", "token_count": 866 }
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/cupertino.dart'; /// Flutter code sample for [CupertinoSearchTextField]. void main() => runApp(const SearchTextFieldApp()); clas...
flutter/examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart", "repo_id": "flutter", "token_count": 813 }
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/material.dart'; /// Flutter code sample for [MaterialApp]. void main() { runApp(const MaterialAppExample()); } enum AnimationS...
flutter/examples/api/lib/material/app/app.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/app/app.0.dart", "repo_id": "flutter", "token_count": 1433 }
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 [BottomAppBar]. void main() { runApp(const BottomAppBarDemo()); } class BottomAppB...
flutter/examples/api/lib/material/bottom_app_bar/bottom_app_bar.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/bottom_app_bar/bottom_app_bar.1.dart", "repo_id": "flutter", "token_count": 2143 }
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/gestures.dart'; import 'package:flutter/material.dart'; /// Flutter code sample for custom labeled checkbox. void main() => runA...
flutter/examples/api/lib/material/checkbox_list_tile/custom_labeled_checkbox.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/checkbox_list_tile/custom_labeled_checkbox.0.dart", "repo_id": "flutter", "token_count": 1107 }
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 [showDatePicker]. void main() => runApp(const DatePickerApp()); class DatePickerApp ...
flutter/examples/api/lib/material/date_picker/show_date_picker.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/date_picker/show_date_picker.0.dart", "repo_id": "flutter", "token_count": 1104 }
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 [DropdownButton.style]. void main() => runApp(const DropdownButtonApp()); class Drop...
flutter/examples/api/lib/material/dropdown/dropdown_button.style.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/dropdown/dropdown_button.style.0.dart", "repo_id": "flutter", "token_count": 870 }
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 [StandardFabLocation]. void main() => runApp(const StandardFabLocationExampleApp()); ...
flutter/examples/api/lib/material/floating_action_button_location/standard_fab_location.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/floating_action_button_location/standard_fab_location.0.dart", "repo_id": "flutter", "token_count": 480 }
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 [InputDecoration.label]. void main() => runApp(const LabelExampleApp()); class Label...
flutter/examples/api/lib/material/input_decorator/input_decoration.label.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/input_decorator/input_decoration.label.0.dart", "repo_id": "flutter", "token_count": 641 }
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 [MaterialStateBorderSide]. void main() => runApp(const MaterialStateBorderSideExample...
flutter/examples/api/lib/material/material_state/material_state_border_side.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/material_state/material_state_border_side.0.dart", "repo_id": "flutter", "token_count": 544 }
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 [Radio.toggleable]. void main() => runApp(const ToggleableExampleApp()); class Toggl...
flutter/examples/api/lib/material/radio/radio.toggleable.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/radio/radio.toggleable.0.dart", "repo_id": "flutter", "token_count": 805 }
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 pinned [SearchAnchor] while scrolling. void main() { runApp(const PinnedSearchBarAp...
flutter/examples/api/lib/material/search_anchor/search_anchor.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/search_anchor/search_anchor.1.dart", "repo_id": "flutter", "token_count": 1648 }
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'; /// Flutter code sample for [SnackBar]. void main() => runApp(const SnackBarExampleApp()); /// A Material 3 [Sna...
flutter/examples/api/lib/material/snack_bar/snack_bar.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/snack_bar/snack_bar.2.dart", "repo_id": "flutter", "token_count": 3004 }
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 [TabBar]. void main() => runApp(const TabBarApp()); class TabBarApp extends Stateles...
flutter/examples/api/lib/material/tabs/tab_bar.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/tabs/tab_bar.2.dart", "repo_id": "flutter", "token_count": 1345 }
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'; /// Flutter code sample for [AxisDirection]s. void main() => runApp(const ExampleApp()); class ExampleApp extend...
flutter/examples/api/lib/painting/axis_direction/axis_direction.0.dart/0
{ "file_path": "flutter/examples/api/lib/painting/axis_direction/axis_direction.0.dart", "repo_id": "flutter", "token_count": 2747 }
637
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// Flutter code sample for [Phy...
flutter/examples/api/lib/services/keyboard_key/physical_keyboard_key.0.dart/0
{ "file_path": "flutter/examples/api/lib/services/keyboard_key/physical_keyboard_key.0.dart", "repo_id": "flutter", "token_count": 1142 }
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 [ActionListener]. void main() => runApp(const ActionListenerExampleApp()); class Act...
flutter/examples/api/lib/widgets/actions/action_listener.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/actions/action_listener.0.dart", "repo_id": "flutter", "token_count": 1118 }
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 [RawAutocomplete]. void main() => runApp(const AutocompleteExampleApp()); class Auto...
flutter/examples/api/lib/widgets/autocomplete/raw_autocomplete.2.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/autocomplete/raw_autocomplete.2.dart", "repo_id": "flutter", "token_count": 3479 }
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 [IndexedStack]. void main() => runApp(const IndexedStackApp()); class IndexedStackAp...
flutter/examples/api/lib/widgets/basic/indexed_stack.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/basic/indexed_stack.0.dart", "repo_id": "flutter", "token_count": 1930 }
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 [TextEditingController]. void main() { runApp(const TextEditingControllerExampleApp...
flutter/examples/api/lib/widgets/editable_text/text_editing_controller.1.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/editable_text/text_editing_controller.1.dart", "repo_id": "flutter", "token_count": 532 }
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/material.dart'; import 'package:flutter/services.dart'; // TODO(gspencergoog): Delete this example when deprecated RawKeyEvent API...
flutter/examples/api/lib/widgets/hardware_keyboard/key_event_manager.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/hardware_keyboard/key_event_manager.0.dart", "repo_id": "flutter", "token_count": 2223 }
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/material.dart'; /// Flutter code sample for [InteractiveViewer]. void main() => runApp(const InteractiveViewerExampleApp()); cla...
flutter/examples/api/lib/widgets/interactive_viewer/interactive_viewer.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/interactive_viewer/interactive_viewer.0.dart", "repo_id": "flutter", "token_count": 514 }
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. // This sample demonstrates nested navigation in a bottom navigation bar. import 'package:flutter/material.dart'; // There are three possible tabs. enum ...
flutter/examples/api/lib/widgets/navigator_pop_handler/navigator_pop_handler.1.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/navigator_pop_handler/navigator_pop_handler.1.dart", "repo_id": "flutter", "token_count": 3130 }
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'; /// Flutter code sample for [RestorationMixin]. void main() => runApp(const RestorationExampleApp()); class Rest...
flutter/examples/api/lib/widgets/restoration/restoration_mixin.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/restoration/restoration_mixin.0.dart", "repo_id": "flutter", "token_count": 973 }
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'; /// Flutter code sample for [Scrollbar]. void main() => runApp(const ScrollbarApp()); class ScrollbarApp extends...
flutter/examples/api/lib/widgets/scrollbar/raw_scrollbar.desktop.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/scrollbar/raw_scrollbar.desktop.0.dart", "repo_id": "flutter", "token_count": 1559 }
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'; /// Flutter code sample for [SliverOpacity]. void main() => runApp(const SliverOpacityExampleApp()); class Slive...
flutter/examples/api/lib/widgets/sliver/sliver_opacity.1.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/sliver/sliver_opacity.1.dart", "repo_id": "flutter", "token_count": 801 }
648
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ListenableBuilder]. void main() => runApp(const ListenableBuilderExample()); /// Th...
flutter/examples/api/lib/widgets/transitions/listenable_builder.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/transitions/listenable_builder.0.dart", "repo_id": "flutter", "token_count": 2328 }
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/animation/animation_controller/animated_digit.0.dart' as example; import 'p...
flutter/examples/api/test/animation/animation_controller/animated_digit.0_test.dart/0
{ "file_path": "flutter/examples/api/test/animation/animation_controller/animated_digit.0_test.dart", "repo_id": "flutter", "token_count": 473 }
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/cupertino.dart'; import 'package:flutter_api_samples/cupertino/picker/cupertino_picker.0.dart' as example; import 'package:flutter_...
flutter/examples/api/test/cupertino/picker/cupertino_picker.0_test.dart/0
{ "file_path": "flutter/examples/api/test/cupertino/picker/cupertino_picker.0_test.dart", "repo_id": "flutter", "token_count": 575 }
651
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; import 'package:flutter_api_samples/cupertino/text_field/cupertino_text_field.0.dart' as example; import 'package:...
flutter/examples/api/test/cupertino/text_field/cupertino_text_field.0_test.dart/0
{ "file_path": "flutter/examples/api/test/cupertino/text_field/cupertino_text_field.0_test.dart", "repo_id": "flutter", "token_count": 273 }
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/app_bar/sliver_app_bar.4.dart' as example; import 'package:flutter...
flutter/examples/api/test/material/app_bar/sliver_app_bar.4_test.dart/0
{ "file_path": "flutter/examples/api/test/material/app_bar/sliver_app_bar.4_test.dart", "repo_id": "flutter", "token_count": 628 }
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/material.dart'; import 'package:flutter_api_samples/material/checkbox/checkbox.1.dart' as example; import 'package:flutter_test...
flutter/examples/api/test/material/checkbox/checkbox.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/checkbox/checkbox.1_test.dart", "repo_id": "flutter", "token_count": 912 }
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/material/date_picker/date_picker_theme_day_shape.0.dart' as example; import 'pa...
flutter/examples/api/test/material/date_picker/date_picker_theme_day_shape.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/date_picker/date_picker_theme_day_shape.0_test.dart", "repo_id": "flutter", "token_count": 744 }
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/material/dropdown/dropdown_button.selected_item_builder.0.dart' as example; imp...
flutter/examples/api/test/material/dropdown/dropdown_button.selected_item_builder.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/dropdown/dropdown_button.selected_item_builder.0_test.dart", "repo_id": "flutter", "token_count": 319 }
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/material/icon_button/icon_button.2.dart' as example; import 'package:flutter_te...
flutter/examples/api/test/material/icon_button/icon_button.2_test.dart/0
{ "file_path": "flutter/examples/api/test/material/icon_button/icon_button.2_test.dart", "repo_id": "flutter", "token_count": 333 }
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/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_api_samples/material/list_tile/list_tile.3.dart' a...
flutter/examples/api/test/material/list_tile/list_tile.3_test.dart/0
{ "file_path": "flutter/examples/api/test/material/list_tile/list_tile.3_test.dart", "repo_id": "flutter", "token_count": 767 }
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/material.dart'; import 'package:flutter_api_samples/material/page_transitions_theme/page_transitions_theme.0.dart' as example; impo...
flutter/examples/api/test/material/page_transitions_theme/page_transitions_theme.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/page_transitions_theme/page_transitions_theme.0_test.dart", "repo_id": "flutter", "token_count": 653 }
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/material/radio_list_tile/radio_list_tile.toggleable.0.dart' as example; import ...
flutter/examples/api/test/material/radio_list_tile/radio_list_tile.toggleable.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/radio_list_tile/radio_list_tile.toggleable.0_test.dart", "repo_id": "flutter", "token_count": 464 }
660
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/tabs/tab_bar.2.dart' as example; import 'package:flutter_test/flutter_...
flutter/examples/api/test/material/tabs/tab_bar.2_test.dart/0
{ "file_path": "flutter/examples/api/test/material/tabs/tab_bar.2_test.dart", "repo_id": "flutter", "token_count": 825 }
661
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/painting/gradient/linear_gradient.0.dart' as example; import 'package:flutt...
flutter/examples/api/test/painting/linear_gradient.0_test.dart/0
{ "file_path": "flutter/examples/api/test/painting/linear_gradient.0_test.dart", "repo_id": "flutter", "token_count": 443 }
662
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/basic/aspect_ratio.0.dart' as example; import 'package:flutter_test/flu...
flutter/examples/api/test/widgets/basic/aspect_ratio.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/basic/aspect_ratio.0_test.dart", "repo_id": "flutter", "token_count": 296 }
663
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/basic/mouse_region.on_exit.1.da...
flutter/examples/api/test/widgets/basic/mouse_region.on_exit.1_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/basic/mouse_region.on_exit.1_test.dart", "repo_id": "flutter", "token_count": 352 }
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/widgets.dart'; import 'package:flutter_api_samples/widgets/interactive_viewer/interactive_viewer.builder.0.dart' as example; im...
flutter/examples/api/test/widgets/interactive_viewer/interactive_viewer.builder.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/interactive_viewer/interactive_viewer.builder.0_test.dart", "repo_id": "flutter", "token_count": 413 }
665
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/scroll_position/scroll_controller_on_attach.0.dart' as example; import ...
flutter/examples/api/test/widgets/scroll_position/scroll_controller_on_attach.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/scroll_position/scroll_controller_on_attach.0_test.dart", "repo_id": "flutter", "token_count": 613 }
666
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/transitions/listenable_builder.3.dart' as example; import 'package:flut...
flutter/examples/api/test/widgets/transitions/listenable_builder.3_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/transitions/listenable_builder.3_test.dart", "repo_id": "flutter", "token_count": 432 }
667
#include "Generated.xcconfig"
flutter/examples/flutter_view/ios/Flutter/Release.xcconfig/0
{ "file_path": "flutter/examples/flutter_view/ios/Flutter/Release.xcconfig", "repo_id": "flutter", "token_count": 12 }
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 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; void main() { runApp(const FlutterView()); } class...
flutter/examples/flutter_view/lib/main.dart/0
{ "file_path": "flutter/examples/flutter_view/lib/main.dart", "repo_id": "flutter", "token_count": 967 }
669
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This example shows how to use flex layout directly in the underlying render // tree. import 'package:flutter/rendering.dart'; import 'src/binding.dart...
flutter/examples/layers/rendering/flex_layout.dart/0
{ "file_path": "flutter/examples/layers/rendering/flex_layout.dart", "repo_id": "flutter", "token_count": 1430 }
670
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter_test/flutter_test.dart'; import '../../../widgets/spinning_mixed.dart' as demo; void ma...
flutter/examples/layers/test/smoketests/widgets/spinning_mixed_test.dart/0
{ "file_path": "flutter/examples/layers/test/smoketests/widgets/spinning_mixed_test.dart", "repo_id": "flutter", "token_count": 164 }
671
# Example of calling platform services from Flutter This project demonstrates how to connect a Flutter app to platform-specific services on iOS using Swift. The equivalent version of this project in Objective C is found in examples/platform_channel. You can read more about [accessing platform and third-party services...
flutter/examples/platform_channel_swift/README.md/0
{ "file_path": "flutter/examples/platform_channel_swift/README.md", "repo_id": "flutter", "token_count": 163 }
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. #include "my_application.h" #include <flutter_linux/flutter_linux.h> #ifdef GDK_WINDOWING_X11 #include <gdk/gdkx.h> #endif #include "flutter/generated_p...
flutter/examples/platform_view/linux/my_application.cc/0
{ "file_path": "flutter/examples/platform_view/linux/my_application.cc", "repo_id": "flutter", "token_count": 2418 }
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. #ifndef FLUTTER_MY_TEXTURE_H_ #define FLUTTER_MY_TEXTURE_H_ #include <flutter_linux/flutter_linux.h> G_DECLARE_FINAL_TYPE(MyTexture, my_texture, MY, TEXT...
flutter/examples/texture/linux/my_texture.h/0
{ "file_path": "flutter/examples/texture/linux/my_texture.h", "repo_id": "flutter", "token_count": 409 }
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. # 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.yaml/0
{ "file_path": "flutter/packages/flutter/lib/fix_data/fix_material/fix_app_bar.yaml", "repo_id": "flutter", "token_count": 2111 }
675
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'curves.dart'; import 'tween.dart'; /// Used to override the default parameters of an animation. /// ///...
flutter/packages/flutter/lib/src/animation/animation_style.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/animation/animation_style.dart", "repo_id": "flutter", "token_count": 1067 }
676
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/scheduler.dart'; import 'package:flutter/widgets.dart'; import 'colors.dart'; import 'localizations.d...
flutter/packages/flutter/lib/src/cupertino/date_picker.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/date_picker.dart", "repo_id": "flutter", "token_count": 36213 }
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 'colors.dart'; import 'theme.dart'; /// Implements a single iOS application page's layout. /// /// The scaf...
flutter/packages/flutter/lib/src/cupertino/page_scaffold.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/page_scaffold.dart", "repo_id": "flutter", "token_count": 2884 }
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 'dart:math' as math; import 'package:flutter/foundation.dart' show ValueListenable, clampDouble; import 'package:flutter/widgets.dart'; import 'lo...
flutter/packages/flutter/lib/src/cupertino/text_selection.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/text_selection.dart", "repo_id": "flutter", "token_count": 4043 }
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 'dart:ui_web' as ui_web; import '../web.dart' as web; import 'platform.dart' as platform; export 'platform.dart' show TargetPlatform; /// The web...
flutter/packages/flutter/lib/src/foundation/_platform_web.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/_platform_web.dart", "repo_id": "flutter", "token_count": 688 }
680
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:meta/meta.dart'; import 'diagnostics.dart'; /// A [Key] is an identifier for [Widget]s, [Element]s and [SemanticsNode]s. /// /// A new wi...
flutter/packages/flutter/lib/src/foundation/key.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/key.dart", "repo_id": "flutter", "token_count": 1107 }
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:collection'; import 'dart:ui' as ui show PointerDataPacket; import 'package:flutter/foundation.dart'; import 'package:fl...
flutter/packages/flutter/lib/src/gestures/binding.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/binding.dart", "repo_id": "flutter", "token_count": 7396 }
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 'events.dart'; export 'package:vector_math/vector_math_64.dart' show Matrix4; export 'events.dart' sho...
flutter/packages/flutter/lib/src/gestures/pointer_router.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/pointer_router.dart", "repo_id": "flutter", "token_count": 1718 }
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. // This file serves as the interface between the public and private APIs for // animated icons. // The AnimatedIcons class is public and is used to specify...
flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart", "repo_id": "flutter", "token_count": 1550 }
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:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; imp...
flutter/packages/flutter/lib/src/material/app_bar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/app_bar.dart", "repo_id": "flutter", "token_count": 30608 }
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/rendering.dart'; import 'package:flutter/widgets.dart'; import 'button_bar_theme.dart'; import 'button_theme.dart'; import 'dialog...
flutter/packages/flutter/lib/src/material/button_bar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/button_bar.dart", "repo_id": "flutter", "token_count": 5942 }
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/painting.dart'; /// Defines a single color as well a color swatch with ten shades of the color. /// /// The color's shades are ref...
flutter/packages/flutter/lib/src/material/colors.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/colors.dart", "repo_id": "flutter", "token_count": 26974 }
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' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'theme.dart'; // Examples can ...
flutter/packages/flutter/lib/src/material/divider_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/divider_theme.dart", "repo_id": "flutter", "token_count": 1848 }
688
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'button_style.dart'; import 'theme.dart'; // Examples can assume:...
flutter/packages/flutter/lib/src/material/filled_button_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/filled_button_theme.dart", "repo_id": "flutter", "token_count": 1320 }
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 'dart:math' as math; import 'package:flutter/widgets.dart'; import 'ink_well.dart'; import 'material.dart'; const Duration _kUnconfirmedSplashDur...
flutter/packages/flutter/lib/src/material/ink_splash.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/ink_splash.dart", "repo_id": "flutter", "token_count": 2360 }
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/foundation.dart'; import 'package:flutter/widgets.dart'; import 'button_style.dart'; import 'material_state.dart'; import 'menu_an...
flutter/packages/flutter/lib/src/material/menu_button_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/menu_button_theme.dart", "repo_id": "flutter", "token_count": 1491 }
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:flutter/gestures.dart' show DragStartBehavior; import 'package:flutter/widgets.dart'; import 'card.dart'; imp...
flutter/packages/flutter/lib/src/material/paginated_data_table.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/paginated_data_table.dart", "repo_id": "flutter", "token_count": 9227 }
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 'dart:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart...
flutter/packages/flutter/lib/src/material/search_bar_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/search_bar_theme.dart", "repo_id": "flutter", "token_count": 3499 }
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/gestures.dart'; import 'package:flutter/widgets.dart'; import 'list_tile.dart'; import 'list_tile_theme.dart'; import 'material_st...
flutter/packages/flutter/lib/src/material/switch_list_tile.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/switch_list_tile.dart", "repo_id": "flutter", "token_count": 7271 }
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:ui' show Color, lerpDouble; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'action_buttons.dart';...
flutter/packages/flutter/lib/src/material/theme_data.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/theme_data.dart", "repo_id": "flutter", "token_count": 37367 }
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 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'basic_types.dart'; import 'border_radius.dart'; import 'borders.dart'; ///...
flutter/packages/flutter/lib/src/painting/beveled_rectangle_border.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/beveled_rectangle_border.dart", "repo_id": "flutter", "token_count": 2009 }
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 'dart:math' as math; import 'dart:ui' as ui show Gradient, TextBox, lerpDouble; import 'package:flutter/foundation.dart'; import 'alignment.dart';...
flutter/packages/flutter/lib/src/painting/flutter_logo.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/flutter_logo.dart", "repo_id": "flutter", "token_count": 6153 }
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 'dart:ui' as ui show lerpDouble; import 'package:flutter/foundation.dart'; import 'basic_types.dart'; import 'border_radius.dart'; import 'borders...
flutter/packages/flutter/lib/src/painting/rounded_rectangle_border.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/rounded_rectangle_border.dart", "repo_id": "flutter", "token_count": 4456 }
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. /// Whether two doubles are within a given distance of each other. /// /// The `epsilon` argument must be positive and not null. /// The `a` and `b` argume...
flutter/packages/flutter/lib/src/physics/utils.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/physics/utils.dart", "repo_id": "flutter", "token_count": 248 }
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:math' as math; import 'package:flutter/foundation.dart'; import 'box.dart'; import 'object.dart'; /// Parent data for use with [RenderListB...
flutter/packages/flutter/lib/src/rendering/list_body.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/list_body.dart", "repo_id": "flutter", "token_count": 4365 }
700
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'box.dart'; import 'object.dart'; import 'sliver.dart'; import 'sliver_multi...
flutter/packages/flutter/lib/src/rendering/sliver_grid.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/sliver_grid.dart", "repo_id": "flutter", "token_count": 8974 }
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'; // Any changes to this file should be reflected in the debugAssertAllSchedulerVarsUnset() // function below. //...
flutter/packages/flutter/lib/src/scheduler/debug.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/scheduler/debug.dart", "repo_id": "flutter", "token_count": 916 }
702
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'system_channels.dart'; /// Controls the browser's context menu on the web platform. /// /// The context...
flutter/packages/flutter/lib/src/services/browser_context_menu.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/browser_context_menu.dart", "repo_id": "flutter", "token_count": 809 }
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:async'; import 'dart:developer'; import 'package:flutter/foundation.dart'; import '_background_isolate_binary_messenger_io.dart' if (dart....
flutter/packages/flutter/lib/src/services/platform_channel.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/platform_channel.dart", "repo_id": "flutter", "token_count": 8957 }
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 'system_channels.dart'; /// Controls specific aspects of the system navigation stack. abstract final cla...
flutter/packages/flutter/lib/src/services/system_navigator.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/system_navigator.dart", "repo_id": "flutter", "token_count": 1487 }
705
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/rendering.dart'; import 'animated_size.dart'; import 'basic.dart'; import 'focus_scope.dart'; import 'framework.dart'; import 'tic...
flutter/packages/flutter/lib/src/widgets/animated_cross_fade.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/animated_cross_fade.dart", "repo_id": "flutter", "token_count": 4749 }
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. /// The minimum dimension of any interactive region according to the Material /// guidelines. /// /// This is used to avoid small regions that are hard for...
flutter/packages/flutter/lib/src/widgets/constants.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/constants.dart", "repo_id": "flutter", "token_count": 162 }
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 'package:flutter/foundation.dart'; import 'basic.dart'; import 'framework.dart'; import 'image.dart'; import 'implicit_animations.dart'; // Exampl...
flutter/packages/flutter/lib/src/widgets/fade_in_image.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/fade_in_image.dart", "repo_id": "flutter", "token_count": 7168 }
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 'dart:ui' as ui show TextHeightBehavior; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:vector_...
flutter/packages/flutter/lib/src/widgets/implicit_animations.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/implicit_animations.dart", "repo_id": "flutter", "token_count": 25879 }
709
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; imp...
flutter/packages/flutter/lib/src/widgets/nested_scroll_view.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/nested_scroll_view.dart", "repo_id": "flutter", "token_count": 25007 }
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/painting.dart'; import 'framework.dart'; import 'scroll_configuration.dart'; import 'scr...
flutter/packages/flutter/lib/src/widgets/primary_scroll_controller.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/primary_scroll_controller.dart", "repo_id": "flutter", "token_count": 2142 }
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 'dart:collection'; import 'package:flutter/foundation.dart'; import 'framework.dart'; import 'notification_listener.dart'; import 'scroll_notifica...
flutter/packages/flutter/lib/src/widgets/scroll_notification_observer.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/scroll_notification_observer.dart", "repo_id": "flutter", "token_count": 2733 }
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/rendering.dart'; import 'framework.dart'; import 'notification_listener.dart'; /// Indicates that the size of one of the descenda...
flutter/packages/flutter/lib/src/widgets/size_changed_layout_notifier.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/size_changed_layout_notifier.dart", "repo_id": "flutter", "token_count": 937 }
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 'dart:async'; import 'dart:math' as math; import 'package:characters/characters.dart'; import 'package:flutter/foundation.dart'; import 'package:fl...
flutter/packages/flutter/lib/src/widgets/text_selection.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/text_selection.dart", "repo_id": "flutter", "token_count": 47426 }
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 'dart:async'; import 'dart:collection' show HashMap; import 'dart:convert'; import 'dart:developer' as developer; import 'dart:math' as math; import...
flutter/packages/flutter/lib/src/widgets/widget_inspector.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/widget_inspector.dart", "repo_id": "flutter", "token_count": 45502 }
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 'dart:math' as math; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('toString contro...
flutter/packages/flutter/test/animation/curves_test.dart/0
{ "file_path": "flutter/packages/flutter/test/animation/curves_test.dart", "repo_id": "flutter", "token_count": 10024 }
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. import 'package:clock/clock.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart...
flutter/packages/flutter/test/cupertino/context_menu_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/context_menu_test.dart", "repo_id": "flutter", "token_count": 15114 }
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. @TestOn('!chrome') library; import 'dart:ui'; import 'package:flutter/cupertino.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/s...
flutter/packages/flutter/test/cupertino/nav_bar_transition_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/nav_bar_transition_test.dart", "repo_id": "flutter", "token_count": 19303 }
718
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { testWidg...
flutter/packages/flutter/test/cupertino/tab_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/tab_test.dart", "repo_id": "flutter", "token_count": 4454 }
719
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // A test script that invokes compute() to start an isolate. import 'dart:isolate'; import 'package:flutter/src/foundation/_isolates_io.dart'; int getLe...
flutter/packages/flutter/test/foundation/_compute_caller_invalid_message.dart/0
{ "file_path": "flutter/packages/flutter/test/foundation/_compute_caller_invalid_message.dart", "repo_id": "flutter", "token_count": 186 }
720
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'dart:ui'; import 'package:flutter/foundation.dart'; import 'package:flutter_test/flutter_test.dart'; class TestTree extend...
flutter/packages/flutter/test/foundation/diagnostics_test.dart/0
{ "file_path": "flutter/packages/flutter/test/foundation/diagnostics_test.dart", "repo_id": "flutter", "token_count": 34635 }
721