text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; /// Flutter code sample for [showCupertinoDialog]. void main() => runApp(const CupertinoDialogApp()); class Cup...
flutter/examples/api/lib/cupertino/route/show_cupertino_dialog.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/route/show_cupertino_dialog.0.dart", "repo_id": "flutter", "token_count": 808 }
551
// Copyright 2014 The Flutter Authors. All rights 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 [AboutListTile]. void main() => runApp(const AboutListTileExampleApp()); class About...
flutter/examples/api/lib/material/about/about_list_tile.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/about/about_list_tile.0.dart", "repo_id": "flutter", "token_count": 1091 }
552
// Copyright 2014 The Flutter Authors. All rights 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 [Autocomplete] that shows how to fetch the options /// from a remote API. const Durat...
flutter/examples/api/lib/material/autocomplete/autocomplete.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/autocomplete/autocomplete.2.dart", "repo_id": "flutter", "token_count": 998 }
553
// Copyright 2014 The Flutter Authors. All rights 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 [Card]. void main() { runApp(const CardExamplesApp()); } class CardExamplesApp ext...
flutter/examples/api/lib/material/card/card.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/card/card.2.dart", "repo_id": "flutter", "token_count": 487 }
554
// Copyright 2014 The Flutter 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 demonstrates how to create a custom toolbar that retains the // look of the default buttons for the current platform. import 'package:flut...
flutter/examples/api/lib/material/context_menu/editable_text_toolbar_builder.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/context_menu/editable_text_toolbar_builder.2.dart", "repo_id": "flutter", "token_count": 2020 }
555
// Copyright 2014 The Flutter Authors. All rights 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 [VerticalDivider]. void main() => runApp(const VerticalDividerExampleApp()); class V...
flutter/examples/api/lib/material/divider/vertical_divider.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/divider/vertical_divider.0.dart", "repo_id": "flutter", "token_count": 711 }
556
// Copyright 2014 The Flutter Authors. All rights 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 [FilterChip]. enum ExerciseFilter { walking, running, cycling, hiking } void main() ...
flutter/examples/api/lib/material/filter_chip/filter_chip.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/filter_chip/filter_chip.0.dart", "repo_id": "flutter", "token_count": 961 }
557
// Copyright 2014 The Flutter Authors. All rights 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 [ListTile]. void main() => runApp(const ListTileApp()); class ListTileApp extends St...
flutter/examples/api/lib/material/list_tile/list_tile.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/list_tile/list_tile.1.dart", "repo_id": "flutter", "token_count": 1067 }
558
// Copyright 2014 The Flutter Authors. All rights 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 [NavigationBar]. void main() => runApp(const NavigationBarApp()); class NavigationBa...
flutter/examples/api/lib/material/navigation_bar/navigation_bar.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/navigation_bar/navigation_bar.0.dart", "repo_id": "flutter", "token_count": 2240 }
559
// Copyright 2014 The Flutter Authors. All rights 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 [CircularProgressIndicator]. void main() => runApp(const ProgressIndicatorApp()); cl...
flutter/examples/api/lib/material/progress_indicator/circular_progress_indicator.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/progress_indicator/circular_progress_indicator.0.dart", "repo_id": "flutter", "token_count": 714 }
560
// Copyright 2014 The Flutter Authors. 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 [ReorderableListView]. void main() => runApp(const ReorderableApp(...
flutter/examples/api/lib/material/reorderable_list/reorderable_list_view.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/reorderable_list/reorderable_list_view.2.dart", "repo_id": "flutter", "token_count": 1162 }
561
// Copyright 2014 The Flutter Authors. All rights 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 SnackBarApp()); class SnackBarApp extends St...
flutter/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.2.dart", "repo_id": "flutter", "token_count": 1383 }
562
// Copyright 2014 The Flutter Authors. All rights 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 [Slider]. void main() => runApp(const SliderApp()); class SliderApp extends Stateles...
flutter/examples/api/lib/material/slider/slider.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/slider/slider.0.dart", "repo_id": "flutter", "token_count": 430 }
563
// Copyright 2014 The Flutter Authors. All rights 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 [SwitchListTile]. void main() => runApp(const SwitchListTileApp()); class SwitchList...
flutter/examples/api/lib/material/switch_list_tile/switch_list_tile.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/switch_list_tile/switch_list_tile.0.dart", "repo_id": "flutter", "token_count": 457 }
564
// Copyright 2014 The Flutter Authors. All rights 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 migrating from [ToggleButtons] to [SegmentedButton]. void main() { runApp(const Tog...
flutter/examples/api/lib/material/toggle_buttons/toggle_buttons.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/toggle_buttons/toggle_buttons.1.dart", "repo_id": "flutter", "token_count": 1609 }
565
// Copyright 2014 The Flutter 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 is a template file for illustrating best practices when creating a // Flutter API example that uses the Cupertino library. To use it, copy the file...
flutter/examples/api/lib/sample_templates/cupertino.0.dart/0
{ "file_path": "flutter/examples/api/lib/sample_templates/cupertino.0.dart", "repo_id": "flutter", "token_count": 688 }
566
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// Flutter code sample for [AppLifecycleListener]. vo...
flutter/examples/api/lib/widgets/app_lifecycle_listener/app_lifecycle_listener.1.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/app_lifecycle_listener/app_lifecycle_listener.1.dart", "repo_id": "flutter", "token_count": 1109 }
567
// Copyright 2014 The Flutter Authors. All rights 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 [Expanded]. void main() => runApp(const ExpandedApp()); class ExpandedApp extends St...
flutter/examples/api/lib/widgets/basic/expanded.1.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/basic/expanded.1.dart", "repo_id": "flutter", "token_count": 579 }
568
// Copyright 2014 The Flutter Authors. All rights 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 [Draggable]. void main() => runApp(const DraggableExampleApp()); class DraggableExam...
flutter/examples/api/lib/widgets/drag_target/draggable.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/drag_target/draggable.0.dart", "repo_id": "flutter", "token_count": 1136 }
569
// Copyright 2014 The Flutter Authors. All rights 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'; /// Flutter code sample for [BuildOwner]. void main() { WidgetsFlutter...
flutter/examples/api/lib/widgets/framework/build_owner.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/framework/build_owner.0.dart", "repo_id": "flutter", "token_count": 584 }
570
// Copyright 2014 The Flutter Authors. All rights 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 [AnimatedSlide]. void main() => runApp(const AnimatedSlideApp()); class AnimatedSlid...
flutter/examples/api/lib/widgets/implicit_animations/animated_slide.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/implicit_animations/animated_slide.0.dart", "repo_id": "flutter", "token_count": 1903 }
571
// Copyright 2014 The Flutter Authors. All rights 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 [PageStorage]. void main() => runApp(const PageStorageExampleApp()); class PageStora...
flutter/examples/api/lib/widgets/page_storage/page_storage.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/page_storage/page_storage.0.dart", "repo_id": "flutter", "token_count": 915 }
572
// Copyright 2014 The Flutter Authors. All rights 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 [ListTile] selection in a [ListView] or [GridView]. void main() => runApp(const ListV...
flutter/examples/api/lib/widgets/scroll_view/list_view.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/scroll_view/list_view.0.dart", "repo_id": "flutter", "token_count": 3298 }
573
// Copyright 2014 The Flutter Authors. All rights 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 [SingleChildScrollView]. void main() => runApp(const SingleChildScrollViewExampleApp(...
flutter/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.1.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.1.dart", "repo_id": "flutter", "token_count": 1026 }
574
// Copyright 2014 The Flutter Authors. 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/material.dart'; /// Flutter code sample for [AnimatedBuilder]. void main() => runApp(const AnimatedB...
flutter/examples/api/lib/widgets/transitions/animated_builder.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/transitions/animated_builder.0.dart", "repo_id": "flutter", "token_count": 571 }
575
// Copyright 2014 The Flutter Authors. All rights 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 [SliverFadeTransition]. void main() => runApp(const SliverFadeTransitionExampleApp())...
flutter/examples/api/lib/widgets/transitions/sliver_fade_transition.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/transitions/sliver_fade_transition.0.dart", "repo_id": "flutter", "token_count": 838 }
576
// Copyright 2014 The Flutter Authors. All rights 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/list_section/list_section_base.0.dart' as example; import 'package:f...
flutter/examples/api/test/cupertino/list_section/list_section_base.0_test.dart/0
{ "file_path": "flutter/examples/api/test/cupertino/list_section/list_section_base.0_test.dart", "repo_id": "flutter", "token_count": 363 }
577
// Copyright 2014 The Flutter Authors. All rights 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/app_bar.0.dart' as example; import 'package:flutter_test/flutt...
flutter/examples/api/test/material/app_bar/app_bar.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/app_bar/app_bar.0_test.dart", "repo_id": "flutter", "token_count": 291 }
578
// Copyright 2014 The Flutter Authors. All rights 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/button_style_button/button_style_button.icon_alignment.0.dart' as exam...
flutter/examples/api/test/material/button_style_button/button_style_button.icon_alignment.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/button_style_button/button_style_button.icon_alignment.0_test.dart", "repo_id": "flutter", "token_count": 1387 }
579
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services....
flutter/examples/api/test/material/context_menu/editable_text_toolbar_builder.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/context_menu/editable_text_toolbar_builder.1_test.dart", "repo_id": "flutter", "token_count": 908 }
580
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/floating_action_button/floating_action_button.0.dart' as example; ...
flutter/examples/api/test/material/floating_action_button/floating_action_button.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/floating_action_button/floating_action_button.0_test.dart", "repo_id": "flutter", "token_count": 591 }
581
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/list_tile/custom_list_item.0.dart' as example; import 'package:flutter...
flutter/examples/api/test/material/list_tile/custom_list_item.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/list_tile/custom_list_item.0_test.dart", "repo_id": "flutter", "token_count": 545 }
582
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/navigation_bar/navigation_bar.2.dart' as example; import 'package:flut...
flutter/examples/api/test/material/navigation_bar/navigation_bar.2_test.dart/0
{ "file_path": "flutter/examples/api/test/material/navigation_bar/navigation_bar.2_test.dart", "repo_id": "flutter", "token_count": 1560 }
583
// Copyright 2014 The Flutter Authors. All rights 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/radio.0.dart' as example; import 'package:flutter_test/flutter_t...
flutter/examples/api/test/material/radio/radio.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/radio/radio.0_test.dart", "repo_id": "flutter", "token_count": 561 }
584
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/search_anchor/search_anchor.3.dart' as example; import 'package:flutte...
flutter/examples/api/test/material/search_anchor/search_anchor.3_test.dart/0
{ "file_path": "flutter/examples/api/test/material/search_anchor/search_anchor.3_test.dart", "repo_id": "flutter", "token_count": 496 }
585
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/switch_list_tile/custom_labeled_switch.1.dart' as example; import 'pac...
flutter/examples/api/test/material/switch_list_tile/custom_labeled_switch.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/switch_list_tile/custom_labeled_switch.1_test.dart", "repo_id": "flutter", "token_count": 310 }
586
// Copyright 2014 The Flutter Authors. All rights 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/tooltip/tooltip.3.dart' as example; import 'package:flutter_test/flutt...
flutter/examples/api/test/material/tooltip/tooltip.3_test.dart/0
{ "file_path": "flutter/examples/api/test/material/tooltip/tooltip.3_test.dart", "repo_id": "flutter", "token_count": 363 }
587
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_api_samples/services/system_chrome/system_chrome.se...
flutter/examples/api/test/services/system_chrome/system_chrome.set_system_u_i_overlay_style.0_test.dart/0
{ "file_path": "flutter/examples/api/test/services/system_chrome/system_chrome.set_system_u_i_overlay_style.0_test.dart", "repo_id": "flutter", "token_count": 440 }
588
// Copyright 2014 The Flutter Authors. All rights 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/animated_list/sliver_animated_list.0.dart' as example; import 'package:...
flutter/examples/api/test/widgets/animated_list/sliver_animated_list.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/animated_list/sliver_animated_list.0_test.dart", "repo_id": "flutter", "token_count": 574 }
589
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_api_samples/widgets/basic/ignore_pointer.0.dart' a...
flutter/examples/api/test/widgets/basic/ignore_pointer.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/basic/ignore_pointer.0_test.dart", "repo_id": "flutter", "token_count": 457 }
590
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_api_samples/widgets/hardware_keyboard/key_event_man...
flutter/examples/api/test/widgets/hardware_keyboard/key_event_manager.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/hardware_keyboard/key_event_manager.0_test.dart", "repo_id": "flutter", "token_count": 919 }
591
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_api_samples/widgets/routes/popup_route.0.dart' as e...
flutter/examples/api/test/widgets/routes/popup_route.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/routes/popup_route.0_test.dart", "repo_id": "flutter", "token_count": 492 }
592
// Copyright 2014 The Flutter Authors. All rights 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/tap_region/text_field_tap_region.0.dart' as example; import 'package:fl...
flutter/examples/api/test/widgets/tap_region/text_field_tap_region.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/tap_region/text_field_tap_region.0_test.dart", "repo_id": "flutter", "token_count": 1206 }
593
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package com.example.view; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import androi...
flutter/examples/flutter_view/android/app/src/main/java/com/example/view/MainActivity.java/0
{ "file_path": "flutter/examples/flutter_view/android/app/src/main/java/com/example/view/MainActivity.java", "repo_id": "flutter", "token_count": 1763 }
594
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <Foundation/Foundation.h> #import "MainViewController.h" #import "NativeViewController.h" @interface MainViewController () @property (nonatomic)...
flutter/examples/flutter_view/ios/Runner/MainViewController.m/0
{ "file_path": "flutter/examples/flutter_view/ios/Runner/MainViewController.m", "repo_id": "flutter", "token_count": 616 }
595
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
flutter/examples/hello_world/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "flutter/examples/hello_world/macos/Runner/Configs/Release.xcconfig", "repo_id": "flutter", "token_count": 32 }
596
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
flutter/examples/image_list/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "flutter/examples/image_list/macos/Runner/Configs/Debug.xcconfig", "repo_id": "flutter", "token_count": 32 }
597
// Copyright 2014 The Flutter 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 raw // interface to the engine. import 'dart:ui' as ui; // The FlutterView into whic...
flutter/examples/layers/raw/hello_world.dart/0
{ "file_path": "flutter/examples/layers/raw/hello_world.dart", "repo_id": "flutter", "token_count": 718 }
598
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import '../widgets/gestures.dart'; void main() { testWidgets('...
flutter/examples/layers/test/gestures_test.dart/0
{ "file_path": "flutter/examples/layers/test/gestures_test.dart", "repo_id": "flutter", "token_count": 452 }
599
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package com.example.platformchannel; import android.graphics.Bitmap; import android.support.test.InstrumentationRegistry; import android.support.test.rule...
flutter/examples/platform_channel/android/app/src/androidTest/java/com/example/platformchannel/ExampleInstrumentedTest.java/0
{ "file_path": "flutter/examples/platform_channel/android/app/src/androidTest/java/com/example/platformchannel/ExampleInstrumentedTest.java", "repo_id": "flutter", "token_count": 1340 }
600
#include "Generated.xcconfig"
flutter/examples/platform_view/ios/Flutter/Debug.xcconfig/0
{ "file_path": "flutter/examples/platform_view/ios/Flutter/Debug.xcconfig", "repo_id": "flutter", "token_count": 12 }
601
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <Foundation/Foundation.h> #import <XCTest/XCTest.h> #import "PlatformViewController.h" @interface PlatformViewControllerTests : XCTestCase @prope...
flutter/examples/platform_view/ios/RunnerTests/PlatformViewControllerTests.m/0
{ "file_path": "flutter/examples/platform_view/ios/RunnerTests/PlatformViewControllerTests.m", "repo_id": "flutter", "token_count": 333 }
602
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// The Flutter animation system. /// /// To use, import `package:flutter/animation.dart`. /// /// This library provides basic building blocks for implemen...
flutter/packages/flutter/lib/animation.dart/0
{ "file_path": "flutter/packages/flutter/lib/animation.dart", "repo_id": "flutter", "token_count": 2499 }
603
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// The Flutter Scheduler library. /// /// To use, import `package:flutter/scheduler.dart`. /// /// This library is responsible for scheduler frame callbac...
flutter/packages/flutter/lib/scheduler.dart/0
{ "file_path": "flutter/packages/flutter/lib/scheduler.dart", "repo_id": "flutter", "token_count": 209 }
604
// Copyright 2014 The Flutter Authors. All rights 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 'constants.dart'; import 'toggleable.dart'; // Examples can assume: // bool _throwSho...
flutter/packages/flutter/lib/src/cupertino/checkbox.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/checkbox.dart", "repo_id": "flutter", "token_count": 4343 }
605
// Copyright 2014 The Flutter Authors. All rights 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'; // Margin on top of the list section. This was eyeballed from iOS 14.4 ...
flutter/packages/flutter/lib/src/cupertino/list_section.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/list_section.dart", "repo_id": "flutter", "token_count": 6646 }
606
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Examples can assume: // bool _giveVerse = false; import 'dart:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/g...
flutter/packages/flutter/lib/src/cupertino/switch.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/switch.dart", "repo_id": "flutter", "token_count": 9185 }
607
// Copyright 2014 The Flutter 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 dart:io implementation of [isCanvasKit]. /// /// This bool shouldn't be used outside of web. bool get isCanvasKit { throw UnimplementedError('isC...
flutter/packages/flutter/lib/src/foundation/_capabilities_io.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/_capabilities_io.dart", "repo_id": "flutter", "token_count": 102 }
608
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'dart:typed_data'; export 'dart:io' show HttpClientResponse; export 'dart:typed_data'...
flutter/packages/flutter/lib/src/foundation/consolidate_response.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/consolidate_response.dart", "repo_id": "flutter", "token_count": 1458 }
609
// Copyright 2014 The Flutter Authors. All 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 'constants.dart'; import 'object.dart'; /// A object representation of a frame from a stack trace. /// /// {@tool...
flutter/packages/flutter/lib/src/foundation/stack_frame.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/stack_frame.dart", "repo_id": "flutter", "token_count": 3821 }
610
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'constants.dart'; import 'events.dart'; import 'recognizer.dart'; import 'velocity_tracker.dart'; export 'dart:ui' show Offset, PointerDeviceKind; ...
flutter/packages/flutter/lib/src/gestures/long_press.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/long_press.dart", "repo_id": "flutter", "token_count": 10044 }
611
// Copyright 2014 The Flutter Authors. All rights 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/action_chip.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/action_chip.dart", "repo_id": "flutter", "token_count": 3579 }
612
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // 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/pause_play.g.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/animated_icons/data/pause_play.g.dart", "repo_id": "flutter", "token_count": 22612 }
613
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:collection' show Queue; import 'dart:math' as math; import 'package:flutter/widgets.dart'; import 'package:vector_math/vector_math_64.dart' s...
flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart", "repo_id": "flutter", "token_count": 16294 }
614
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/foundation.dart' show clampDouble; import 'package:flutter/rendering.dart'; import 'package:flutter/wi...
flutter/packages/flutter/lib/src/material/chip.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/chip.dart", "repo_id": "flutter", "token_count": 28850 }
615
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import 'material.dart'; import 'text_selection_toolbar.dart'; // These values were measured from a screenshot of T...
flutter/packages/flutter/lib/src/material/desktop_text_selection_toolbar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/desktop_text_selection_toolbar.dart", "repo_id": "flutter", "token_count": 990 }
616
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import 'constants.dart'; import 'expand_icon.dart'; import 'ink_well.dart'; import 'material_localizations.dart'; i...
flutter/packages/flutter/lib/src/material/expansion_panel.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/expansion_panel.dart", "repo_id": "flutter", "token_count": 5290 }
617
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart' show defaultTargetPlatform; import 'package:flutter/widgets.dart'; // ignore_for_file: non_constant_identifier_na...
flutter/packages/flutter/lib/src/material/icons.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/icons.dart", "repo_id": "flutter", "token_count": 584843 }
618
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'debug.dart'; import 'time.dart'; import 'typography.dart'; // Ex...
flutter/packages/flutter/lib/src/material/material_localizations.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/material_localizations.dart", "repo_id": "flutter", "token_count": 13278 }
619
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'ink_well.dart'; import 'material.dart'; class _NoSplashFactory ex...
flutter/packages/flutter/lib/src/material/no_splash.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/no_splash.dart", "repo_id": "flutter", "token_count": 680 }
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 'dart:async'; import 'dart:collection'; import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart...
flutter/packages/flutter/lib/src/material/scaffold.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/scaffold.dart", "repo_id": "flutter", "token_count": 43810 }
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 'dart:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'material_state.dart'; import '...
flutter/packages/flutter/lib/src/material/snack_bar_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/snack_bar_theme.dart", "repo_id": "flutter", "token_count": 3969 }
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/foundation.dart'; import 'package:flutter/widgets.dart'; import 'theme.dart'; // Examples can assume: // late BuildContext contex...
flutter/packages/flutter/lib/src/material/text_selection_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/text_selection_theme.dart", "repo_id": "flutter", "token_count": 1926 }
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:math' as math; import 'package:flutter/widgets.dart'; import 'colors.dart'; import 'debug.dart'; import 'drawer_header.dart'; import 'icons....
flutter/packages/flutter/lib/src/material/user_accounts_drawer_header.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/user_accounts_drawer_header.dart", "repo_id": "flutter", "token_count": 5172 }
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 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'basic_types.dart'; import 'border_radius.dart'; import 'borders.dart'; impo...
flutter/packages/flutter/lib/src/painting/continuous_rectangle_border.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/continuous_rectangle_border.dart", "repo_id": "flutter", "token_count": 2005 }
625
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:vector_math/vector_math_64.dart'; import 'basic_types.dart'; /// Utility functions for working ...
flutter/packages/flutter/lib/src/painting/matrix_utils.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/painting/matrix_utils.dart", "repo_id": "flutter", "token_count": 9163 }
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 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'simulation.dart'; export 'tolerance.dart' show Tolerance; /// Numerically...
flutter/packages/flutter/lib/src/physics/friction_simulation.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/physics/friction_simulation.dart", "repo_id": "flutter", "token_count": 2448 }
627
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'box.dart'; import 'debug_overflow_indicator.dart'; import 'layer.dart'; imp...
flutter/packages/flutter/lib/src/rendering/flex.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/flex.dart", "repo_id": "flutter", "token_count": 15962 }
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. /// Service extension constants for the rendering library. /// /// These constants will be used when registering service extensions in the /// framework, a...
flutter/packages/flutter/lib/src/rendering/service_extensions.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/service_extensions.dart", "repo_id": "flutter", "token_count": 1470 }
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 'dart:io' show Platform; import 'dart:ui' as ui show FlutterView, Scene, SceneBuilder, SemanticsUpdate; import 'package:flutter/foundation.dart'; i...
flutter/packages/flutter/lib/src/rendering/view.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/rendering/view.dart", "repo_id": "flutter", "token_count": 6351 }
630
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'dart:ui' as ui; import 'package:flutter/foundation.dart'; import 'binding.dart'; e...
flutter/packages/flutter/lib/src/services/asset_bundle.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/asset_bundle.dart", "repo_id": "flutter", "token_count": 5178 }
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 'system_channels.dart'; /// Utility methods for interacting with the system's Live Text. /// /// For example, the Live Text input feature of iOS tu...
flutter/packages/flutter/lib/src/services/live_text.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/live_text.dart", "repo_id": "flutter", "token_count": 373 }
632
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/foundation.dart'; import 'package:flutter/scheduler.dart'; import 'message_codecs.dart'; import 'system_chan...
flutter/packages/flutter/lib/src/services/restoration.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/services/restoration.dart", "repo_id": "flutter", "token_count": 12610 }
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 'dart:ui_web' as ui_web; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart';...
flutter/packages/flutter/lib/src/widgets/_html_element_view_web.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/_html_element_view_web.dart", "repo_id": "flutter", "token_count": 1369 }
634
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'basic.dart'; import 'debug.dart'; import 'framework.dart'; const double _k...
flutter/packages/flutter/lib/src/widgets/banner.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/banner.dart", "repo_id": "flutter", "token_count": 3893 }
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/foundation.dart'; import 'framework.dart'; /// Provides non-leaking access to a [BuildContext]. /// /// A [BuildContext] is only ...
flutter/packages/flutter/lib/src/widgets/disposable_build_context.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/disposable_build_context.dart", "repo_id": "flutter", "token_count": 952 }
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/foundation.dart'; import 'basic.dart'; import 'framework.dart'; import 'icon_theme_data.dart'; import 'inherited_theme.dart'; // ...
flutter/packages/flutter/lib/src/widgets/icon_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/icon_theme.dart", "repo_id": "flutter", "token_count": 1157 }
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 'dart:math' as math; import 'dart:ui' as ui; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'basic.dart'...
flutter/packages/flutter/lib/src/widgets/media_query.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/media_query.dart", "repo_id": "flutter", "token_count": 25054 }
638
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import 'actions.dart'; import 'basic.dart'; import...
flutter/packages/flutter/lib/src/widgets/platform_menu_bar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/platform_menu_bar.dart", "repo_id": "flutter", "token_count": 11453 }
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/rendering.dart'; import 'package:flutter/scheduler.dart'; import 'framework.dart'; import 'ticker_provider.dart'; /// An interfac...
flutter/packages/flutter/lib/src/widgets/scroll_context.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/scroll_context.dart", "repo_id": "flutter", "token_count": 809 }
640
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/scheduler.dart'; i...
flutter/packages/flutter/lib/src/widgets/semantics_debugger.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/semantics_debugger.dart", "repo_id": "flutter", "token_count": 4833 }
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 'basic.dart'; import 'framework.dart'; /// A widget that rebuilds when the given animation changes status. abstract class StatusTransitionWidget ex...
flutter/packages/flutter/lib/src/widgets/status_transitions.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/status_transitions.dart", "repo_id": "flutter", "token_count": 489 }
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 'framework.dart'; /// Base class for stateful widgets that have exactly one inflated instance in /// the tree. /// /// Such widgets must be given a...
flutter/packages/flutter/lib/src/widgets/unique_widget.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/widgets/unique_widget.dart", "repo_id": "flutter", "token_count": 389 }
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/foundation.dart'; import 'package:flutter/physics.dart'; import 'package:flutter/scheduler.dart'; import 'package:flutter/semantics...
flutter/packages/flutter/test/animation/animation_controller_test.dart/0
{ "file_path": "flutter/packages/flutter/test/animation/animation_controller_test.dart", "repo_id": "flutter", "token_count": 13337 }
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/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/renderin...
flutter/packages/flutter/test/cupertino/bottom_tab_bar_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/bottom_tab_bar_test.dart", "repo_id": "flutter", "token_count": 9329 }
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/cupertino.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { testWidgets('English translations exist for all ...
flutter/packages/flutter/test/cupertino/localizations_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/localizations_test.dart", "repo_id": "flutter", "token_count": 904 }
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/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material...
flutter/packages/flutter/test/cupertino/slider_test.dart/0
{ "file_path": "flutter/packages/flutter/test/cupertino/slider_test.dart", "repo_id": "flutter", "token_count": 9675 }
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. @TestOn('!chrome') library; import 'package:flutter_test/flutter_test.dart'; import '../../../../examples/layers/rendering/custom_coordinate_systems.dart...
flutter/packages/flutter/test/examples/sector_layout_test.dart/0
{ "file_path": "flutter/packages/flutter/test/examples/sector_layout_test.dart", "repo_id": "flutter", "token_count": 174 }
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. @TestOn('!chrome') library; import 'dart:async'; import 'dart:io'; import 'package:flutter/foundation.dart'; import 'package:flutter_test/flutter_test.da...
flutter/packages/flutter/test/foundation/consolidate_response_test.dart/0
{ "file_path": "flutter/packages/flutter/test/foundation/consolidate_response_test.dart", "repo_id": "flutter", "token_count": 2452 }
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:fake_async/fake_async.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:meta/...
flutter/packages/flutter/test/gestures/gesture_tester.dart/0
{ "file_path": "flutter/packages/flutter/test/gestures/gesture_tester.dart", "repo_id": "flutter", "token_count": 308 }
650