text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [SearchAnchor.bar].
void main() => runApp(const SearchBarApp());
class SearchBarApp ... | flutter/examples/api/lib/material/search_anchor/search_anchor.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/search_anchor/search_anchor.0.dart",
"repo_id": "flutter",
"token_count": 1837
} | 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 [SnackBar].
void main() => runApp(const SnackBarExampleApp());
class SnackBarExample... | flutter/examples/api/lib/material/snack_bar/snack_bar.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/snack_bar/snack_bar.1.dart",
"repo_id": "flutter",
"token_count": 707
} | 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 [TabBar].
void main() => runApp(const TabBarApp());
class TabBarApp extends Stateles... | flutter/examples/api/lib/material/tabs/tab_bar.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/tabs/tab_bar.1.dart",
"repo_id": "flutter",
"token_count": 841
} | 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 [Tooltip].
void main() => runApp(const TooltipExampleApp());
class TooltipExampleApp... | flutter/examples/api/lib/material/tooltip/tooltip.3.dart/0 | {
"file_path": "flutter/examples/api/lib/material/tooltip/tooltip.3.dart",
"repo_id": "flutter",
"token_count": 586
} | 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/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
/// Flutter code sample for [Log... | flutter/examples/api/lib/services/keyboard_key/logical_keyboard_key.0.dart/0 | {
"file_path": "flutter/examples/api/lib/services/keyboard_key/logical_keyboard_key.0.dart",
"repo_id": "flutter",
"token_count": 1124
} | 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';
import 'package:flutter/services.dart';
/// Flutter code sample for [Action.Action.overridable].
void main() {
... | flutter/examples/api/lib/widgets/actions/action.action_overridable.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/actions/action.action_overridable.0.dart",
"repo_id": "flutter",
"token_count": 1055
} | 644 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [RawAutocomplete].
void main() => runApp(const AutocompleteExampleApp());
class Auto... | flutter/examples/api/lib/widgets/autocomplete/raw_autocomplete.1.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/autocomplete/raw_autocomplete.1.dart",
"repo_id": "flutter",
"token_count": 1469
} | 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 [IgnorePointer].
void main() => runApp(const IgnorePointerApp());
class IgnorePointe... | flutter/examples/api/lib/widgets/basic/ignore_pointer.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/basic/ignore_pointer.0.dart",
"repo_id": "flutter",
"token_count": 734
} | 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 [TextEditingController].
void main() => runApp(const TextEditingControllerExampleApp(... | flutter/examples/api/lib/widgets/editable_text/text_editing_controller.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/editable_text/text_editing_controller.0.dart",
"repo_id": "flutter",
"token_count": 576
} | 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/gestures.dart';
import 'package:flutter/material.dart';
/// Flutter code sample for [GestureDetector].
void main() {
debugPrint... | flutter/examples/api/lib/widgets/gesture_detector/gesture_detector.2.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/gesture_detector/gesture_detector.2.dart",
"repo_id": "flutter",
"token_count": 2009
} | 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 [InheritedTheme].
void main() {
runApp(const InheritedThemeExampleApp());
}
class ... | flutter/examples/api/lib/widgets/inherited_theme/inherited_theme.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/inherited_theme/inherited_theme.0.dart",
"repo_id": "flutter",
"token_count": 810
} | 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';
/// This sample demonstrates using [NavigatorPopHandler] to handle system back
/// gestures when there are nested ... | flutter/examples/api/lib/widgets/navigator_pop_handler/navigator_pop_handler.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/navigator_pop_handler/navigator_pop_handler.0.dart",
"repo_id": "flutter",
"token_count": 2146
} | 650 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [PreferredSize].
void main() => runApp(const PreferredSizeExampleApp());
class Prefe... | flutter/examples/api/lib/widgets/preferred_size/preferred_size.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/preferred_size/preferred_size.0.dart",
"repo_id": "flutter",
"token_count": 1024
} | 651 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [RawScrollbar].
void main() => runApp(const RawScrollbarExampleApp());
class RawScro... | flutter/examples/api/lib/widgets/scrollbar/raw_scrollbar.2.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/scrollbar/raw_scrollbar.2.dart",
"repo_id": "flutter",
"token_count": 496
} | 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';
void main() => runApp(const SliverMainAxisGroupExampleApp());
class SliverMainAxisGroupExampleApp extends Statele... | flutter/examples/api/lib/widgets/sliver/sliver_main_axis_group.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/sliver/sliver_main_axis_group.0.dart",
"repo_id": "flutter",
"token_count": 1102
} | 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';
/// Flutter code sample for [FadeTransition].
void main() => runApp(const FadeTransitionExampleApp());
class Fad... | flutter/examples/api/lib/widgets/transitions/fade_transition.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/transitions/fade_transition.0.dart",
"repo_id": "flutter",
"token_count": 505
} | 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/cupertino.dart';
import 'package:flutter_api_samples/cupertino/page_scaffold/cupertino_page_scaffold.0.dart' as example;
import 'pa... | flutter/examples/api/test/cupertino/page_scaffold/cupertino_page_scaffold.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/cupertino/page_scaffold/cupertino_page_scaffold.0_test.dart",
"repo_id": "flutter",
"token_count": 282
} | 655 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter_api_samples/cupertino/tab_scaffold/cupertino_tab_scaffold.0.dart' as example;
import 'pack... | flutter/examples/api/test/cupertino/tab_scaffold/cupertino_tab_scaffold.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/cupertino/tab_scaffold/cupertino_tab_scaffold.0_test.dart",
"repo_id": "flutter",
"token_count": 371
} | 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/app_bar/sliver_app_bar.1.dart' as example;
import 'package:flutter_tes... | flutter/examples/api/test/material/app_bar/sliver_app_bar.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/app_bar/sliver_app_bar.1_test.dart",
"repo_id": "flutter",
"token_count": 344
} | 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_api_samples/material/checkbox/checkbox.0.dart'
as example;
import 'package:flutter_test... | flutter/examples/api/test/material/checkbox/checkbox.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/checkbox/checkbox.0_test.dart",
"repo_id": "flutter",
"token_count": 630
} | 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/data_table/data_table.1.dart' as example;
import 'package:flutter_test... | flutter/examples/api/test/material/data_table/data_table.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/data_table/data_table.1_test.dart",
"repo_id": "flutter",
"token_count": 302
} | 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/dropdown/dropdown_button.0.dart' as example;
import 'package:flutter_t... | flutter/examples/api/test/material/dropdown/dropdown_button.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/dropdown/dropdown_button.0_test.dart",
"repo_id": "flutter",
"token_count": 310
} | 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/icon_button/icon_button.1.dart' as example;
import 'package:flutter_te... | flutter/examples/api/test/material/icon_button/icon_button.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/icon_button/icon_button.1_test.dart",
"repo_id": "flutter",
"token_count": 362
} | 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/material/list_tile/list_tile.2.dart' as example;
import 'package:flutter_test/f... | flutter/examples/api/test/material/list_tile/list_tile.2_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/list_tile/list_tile.2_test.dart",
"repo_id": "flutter",
"token_count": 666
} | 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/material/outlined_button/outlined_button.0.dart' as example;
import 'package:fl... | flutter/examples/api/test/material/outlined_button/outlined_button.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/outlined_button/outlined_button.0_test.dart",
"repo_id": "flutter",
"token_count": 279
} | 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/material.dart';
import 'package:flutter_api_samples/material/radio_list_tile/radio_list_tile.1.dart' as example;
import 'package:fl... | flutter/examples/api/test/material/radio_list_tile/radio_list_tile.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/radio_list_tile/radio_list_tile.1_test.dart",
"repo_id": "flutter",
"token_count": 1312
} | 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/material.dart';
import 'package:flutter_api_samples/material/slider/slider.0.dart' as example;
import 'package:flutter_test/flutter... | flutter/examples/api/test/material/slider/slider.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/slider/slider.0_test.dart",
"repo_id": "flutter",
"token_count": 318
} | 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/painting/linear_border/linear_border.0.dart' as example;
import 'package:flutt... | flutter/examples/api/test/painting/linear_border.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/painting/linear_border.0_test.dart",
"repo_id": "flutter",
"token_count": 479
} | 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/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_api_sample... | flutter/examples/api/test/widgets/basic/absorb_pointer.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/widgets/basic/absorb_pointer.0_test.dart",
"repo_id": "flutter",
"token_count": 417
} | 667 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/widgets/basic/mouse_region.on_exit.0.da... | flutter/examples/api/test/widgets/basic/mouse_region.on_exit.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/widgets/basic/mouse_region.on_exit.0_test.dart",
"repo_id": "flutter",
"token_count": 350
} | 668 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/widgets/inherited_model/inherited_model.0.dart' as example;
import 'package:flu... | flutter/examples/api/test/widgets/inherited_model/inherited_model.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/widgets/inherited_model/inherited_model.0_test.dart",
"repo_id": "flutter",
"token_count": 447
} | 669 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/widgets/scroll_position/scroll_controller_notification.0.dart'
as example;
... | flutter/examples/api/test/widgets/scroll_position/scroll_controller_notification.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/widgets/scroll_position/scroll_controller_notification.0_test.dart",
"repo_id": "flutter",
"token_count": 386
} | 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/material.dart';
import 'package:flutter_api_samples/widgets/transitions/listenable_builder.1.dart' as example;
import 'package:flut... | flutter/examples/api/test/widgets/transitions/listenable_builder.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/widgets/transitions/listenable_builder.1_test.dart",
"repo_id": "flutter",
"token_count": 324
} | 671 |
#include "Generated.xcconfig"
| flutter/examples/flutter_view/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "flutter/examples/flutter_view/ios/Flutter/Debug.xcconfig",
"repo_id": "flutter",
"token_count": 12
} | 672 |
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
| flutter/examples/hello_world/android/gradle/wrapper/gradle-wrapper.properties/0 | {
"file_path": "flutter/examples/hello_world/android/gradle/wrapper/gradle-wrapper.properties",
"repo_id": "flutter",
"token_count": 73
} | 673 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewControlle... | flutter/examples/hello_world/macos/Runner/MainFlutterWindow.swift/0 | {
"file_path": "flutter/examples/hello_world/macos/Runner/MainFlutterWindow.swift",
"repo_id": "flutter",
"token_count": 164
} | 674 |
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
| flutter/examples/layers/macos/Runner/Assets.xcassets/Contents.json/0 | {
"file_path": "flutter/examples/layers/macos/Runner/Assets.xcassets/Contents.json",
"repo_id": "flutter",
"token_count": 35
} | 675 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This example shows how to build a render tree with a non-cartesian coordinate
// system. Most of the guts of this examples are in src/sector_layout.dart... | flutter/examples/layers/rendering/custom_coordinate_systems.dart/0 | {
"file_path": "flutter/examples/layers/rendering/custom_coordinate_systems.dart",
"repo_id": "flutter",
"token_count": 386
} | 676 |
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x... | flutter/examples/platform_channel/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json/0 | {
"file_path": "flutter/examples/platform_channel/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
"repo_id": "flutter",
"token_count": 967
} | 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 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class PlatformChannel extends StatefulWidget {
con... | flutter/examples/platform_channel_swift/lib/main.dart/0 | {
"file_path": "flutter/examples/platform_channel_swift/lib/main.dart",
"repo_id": "flutter",
"token_count": 911
} | 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.
#include "my_texture.h"
// An object that generates a texture for Flutter.
struct _MyTexture {
FlPixelBufferTexture parent_instance;
// Dimensions of... | flutter/examples/texture/linux/my_texture.cc/0 | {
"file_path": "flutter/examples/texture/linux/my_texture.cc",
"repo_id": "flutter",
"token_count": 919
} | 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.
# 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_gestures.yaml/0 | {
"file_path": "flutter/packages/flutter/lib/fix_data/fix_gestures.yaml",
"repo_id": "flutter",
"token_count": 6734
} | 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.
# For details regarding the *Flutter Fix* feature, see
# https://flutter.dev/docs/development/tools/flutter-fix
# Please add new fixes to the top of the file... | flutter/packages/flutter/lib/fix_data/fix_widgets/fix_element.yaml/0 | {
"file_path": "flutter/packages/flutter/lib/fix_data/fix_widgets/fix_element.yaml",
"repo_id": "flutter",
"token_count": 2433
} | 681 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui show lerpDouble;
import 'package:flutter/foundation.dart';
import 'package:flutter/physics.dart';
import 'package:flutter/schedule... | flutter/packages/flutter/lib/src/animation/animation_controller.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/animation/animation_controller.dart",
"repo_id": "flutter",
"token_count": 11342
} | 682 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
/// A button in a _ContextMenuSheet.
///
/// A typi... | flutter/packages/flutter/lib/src/cupertino/context_menu_action.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/cupertino/context_menu_action.dart",
"repo_id": "flutter",
"token_count": 2050
} | 683 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'dart:ui' show ImageFilter;
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import '... | flutter/packages/flutter/lib/src/cupertino/nav_bar.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/cupertino/nav_bar.dart",
"repo_id": "flutter",
"token_count": 30297
} | 684 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'adaptive_text_selection_toolbar.dart';
import 'colors.dart';
import... | flutter/packages/flutter/lib/src/cupertino/text_form_field_row.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/cupertino/text_form_field_row.dart",
"repo_id": "flutter",
"token_count": 5211
} | 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 'dart:io';
import 'assertions.dart';
import 'constants.dart';
import 'platform.dart' as platform;
export 'platform.dart' show TargetPlatform;
/// ... | flutter/packages/flutter/lib/src/foundation/_platform_io.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/foundation/_platform_io.dart",
"repo_id": "flutter",
"token_count": 491
} | 686 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import '_isolates_io.dart'
if (dart.library.js_util) '_isolates_web.dart' as isolates;
/// Signature for the callback passed to [c... | flutter/packages/flutter/lib/src/foundation/isolates.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/foundation/isolates.dart",
"repo_id": "flutter",
"token_count": 866
} | 687 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'debug.dart';
/// Whether the gesture was accepted or rejected.
enum GestureDispo... | flutter/packages/flutter/lib/src/gestures/arena.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/gestures/arena.dart",
"repo_id": "flutter",
"token_count": 3482
} | 688 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'arena.dart';
import 'binding.dart';
import 'constants.dart';
import 'events.dart';
import 'pointer_router.dart';
import 'reco... | flutter/packages/flutter/lib/src/gestures/multitap.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/gestures/multitap.dart",
"repo_id": "flutter",
"token_count": 11213
} | 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.
// TODO(goderbauer): Clean up the part-of hack currently used for testing the private implementation.
part of material_animated_icons; // ignore: use_strin... | flutter/packages/flutter/lib/src/material/animated_icons/animated_icons.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/animated_icons/animated_icons.dart",
"repo_id": "flutter",
"token_count": 3187
} | 690 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui;
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import... | flutter/packages/flutter/lib/src/material/app.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/app.dart",
"repo_id": "flutter",
"token_count": 13469
} | 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/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
imp... | flutter/packages/flutter/lib/src/material/button.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/button.dart",
"repo_id": "flutter",
"token_count": 6097
} | 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:async';
import 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:material_col... | flutter/packages/flutter/lib/src/material/color_scheme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/color_scheme.dart",
"repo_id": "flutter",
"token_count": 26888
} | 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/widgets.dart';
import 'divider_theme.dart';
import 'theme.dart';
// Examples can assume:
// late BuildContext context;
/// A thi... | flutter/packages/flutter/lib/src/material/divider.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/divider.dart",
"repo_id": "flutter",
"token_count": 3956
} | 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 lerpDouble;
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'button_style.dart';
import 'bu... | flutter/packages/flutter/lib/src/material/filled_button.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/filled_button.dart",
"repo_id": "flutter",
"token_count": 10402
} | 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 'dart:ui' as ui;
import 'package:flutter/widgets.dart';
import 'package:vector_math/vector_math_64.dart';
import 'ink_... | flutter/packages/flutter/lib/src/material/ink_sparkle.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/ink_sparkle.dart",
"repo_id": "flutter",
"token_count": 6666
} | 696 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
import 'menu_anchor.dart';
import 'menu_style.dart';
import 'menu_theme.dart';
import 'theme.dart';
// Examples ca... | flutter/packages/flutter/lib/src/material/menu_bar_theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/menu_bar_theme.dart",
"repo_id": "flutter",
"token_count": 1220
} | 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;
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
impor... | flutter/packages/flutter/lib/src/material/page_transitions_theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/page_transitions_theme.dart",
"repo_id": "flutter",
"token_count": 13882
} | 698 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math' as math;
import 'dart:ui';
import 'package:flutter/widgets.dart';
import 'button_style.dart';
import 'color_schem... | flutter/packages/flutter/lib/src/material/search_anchor.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/search_anchor.dart",
"repo_id": "flutter",
"token_count": 20730
} | 699 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'packa... | flutter/packages/flutter/lib/src/material/switch.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/switch.dart",
"repo_id": "flutter",
"token_count": 28117
} | 700 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'material_localizations.dart';
import 'theme_data.dart';
import ... | flutter/packages/flutter/lib/src/material/theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/theme.dart",
"repo_id": "flutter",
"token_count": 2621
} | 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 'dart:ui' show TextDirection;
export 'dart:ui' show
BlendMode,
BlurStyle,
Canvas,
Clip,
Color,
ColorFilter,
FilterQuality,
FontFeat... | flutter/packages/flutter/lib/src/painting/basic_types.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/basic_types.dart",
"repo_id": "flutter",
"token_count": 3311
} | 702 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui show ViewPadding, lerpDouble;
import 'package:flutter/foundation.dart';
import 'basic_types.dart';
/// Base class for [EdgeInsets... | flutter/packages/flutter/lib/src/painting/edge_insets.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/edge_insets.dart",
"repo_id": "flutter",
"token_count": 11185
} | 703 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui show PlaceholderAlignment;
import 'package:flutter/foundation.dart';
import 'basic_types.dart';
import 'inline_span.dart';
import ... | flutter/packages/flutter/lib/src/painting/placeholder_span.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/placeholder_span.dart",
"repo_id": "flutter",
"token_count": 976
} | 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';
/// Structure that specifies maximum allowable magnitudes for distances,
/// durations, and velocity differences... | flutter/packages/flutter/lib/src/physics/tolerance.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/physics/tolerance.dart",
"repo_id": "flutter",
"token_count": 480
} | 705 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'box.dart';
/// Signature for a function that takes a [RenderBox] and returns the [Size]
/// that the [RenderBox] would have if ... | flutter/packages/flutter/lib/src/rendering/layout_helper.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/rendering/layout_helper.dart",
"repo_id": "flutter",
"token_count": 592
} | 706 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:flutter/foundation.dart';
import 'box.dart';
import 'sliver.dart';
import 'sliver_multi_box_adaptor.dart';
/... | flutter/packages/flutter/lib/src/rendering/sliver_fixed_extent_list.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/rendering/sliver_fixed_extent_list.dart",
"repo_id": "flutter",
"token_count": 5881
} | 707 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:collection';
import 'dart:developer' show Flow, Timeline, TimelineTask;
import 'dart:ui' show AppLifecycleState, DartPerf... | flutter/packages/flutter/lib/src/scheduler/binding.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/scheduler/binding.dart",
"repo_id": "flutter",
"token_count": 17665
} | 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:async';
import 'dart:convert';
import 'dart:io';
import 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/sc... | flutter/packages/flutter/lib/src/services/binding.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/binding.dart",
"repo_id": "flutter",
"token_count": 7572
} | 709 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'mouse_cursor.dart';
export 'package:flutter/foundation.dart' sh... | flutter/packages/flutter/lib/src/services/mouse_tracking.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/mouse_tracking.dart",
"repo_id": "flutter",
"token_count": 1343
} | 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 'dart:async';
import 'dart:ui';
import 'package:flutter/foundation.dart';
import 'binding.dart';
import 'system_channels.dart';
export 'dart:ui' ... | flutter/packages/flutter/lib/src/services/system_chrome.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/system_chrome.dart",
"repo_id": "flutter",
"token_count": 7427
} | 711 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'framework.dart';
/// A bridge from a [RenderObject] to an [Ele... | flutter/packages/flutter/lib/src/widgets/adapter.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/adapter.dart",
"repo_id": "flutter",
"token_count": 1830
} | 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/foundation.dart';
import 'package:flutter/rendering.dart';
import 'framework.dart';
/// Applies a [ColorFilter] to its child.
///... | flutter/packages/flutter/lib/src/widgets/color_filter.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/color_filter.dart",
"repo_id": "flutter",
"token_count": 791
} | 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 'dart:ui' as ui hide TextStyle;
import 'package:characters/characters.dart' show CharacterRange, S... | flutter/packages/flutter/lib/src/widgets/editable_text.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/editable_text.dart",
"repo_id": "flutter",
"token_count": 83866
} | 714 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/rendering.dart';
import 'basic.dart';
import 'framework.dart';
import 'icon.dart';
import 'icon_theme.dart';
import 'icon_theme_da... | flutter/packages/flutter/lib/src/widgets/image_icon.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/image_icon.dart",
"repo_id": "flutter",
"token_count": 1066
} | 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 'framework.dart';
import 'navigator.dart';
import 'notification_listener.dart';
import 'pop_scope.dart';
/// Enables the handling of system back ge... | flutter/packages/flutter/lib/src/widgets/navigator_pop_handler.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/navigator_pop_handler.dart",
"repo_id": "flutter",
"token_count": 1220
} | 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:flutter/rendering.dart';
import 'basic.dart';
import 'framework.dart';
/// An interface for widgets that can return the size this widget ... | flutter/packages/flutter/lib/src/widgets/preferred_size.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/preferred_size.dart",
"repo_id": "flutter",
"token_count": 852
} | 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.
import 'package:flutter/gestures.dart';
import 'package:flutter/rendering.dart';
import 'framework.dart';
import 'notification_listener.dart';
import 'scr... | flutter/packages/flutter/lib/src/widgets/scroll_notification.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/scroll_notification.dart",
"repo_id": "flutter",
"token_count": 3520
} | 718 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:flutter/gestures.dart' show DragStartBehavior;
import 'package:flutter/rendering.dart';
import 'basic.dart';
... | flutter/packages/flutter/lib/src/widgets/single_child_scroll_view.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/single_child_scroll_view.dart",
"repo_id": "flutter",
"token_count": 7674
} | 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.
import 'package:flutter/services.dart';
import 'actions.dart';
/// An [Intent] to send the event straight to the engine.
///
/// See also:
///
/// * [D... | flutter/packages/flutter/lib/src/widgets/text_editing_intents.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/text_editing_intents.dart",
"repo_id": "flutter",
"token_count": 4178
} | 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 'package:flutter/rendering.dart';
import 'basic.dart';
import 'framework.dart';
import 'sliver.dart';
import 'ticker_provider.dart';
/// Whether t... | flutter/packages/flutter/lib/src/widgets/visibility.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/visibility.dart",
"repo_id": "flutter",
"token_count": 7708
} | 721 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_t... | flutter/packages/flutter/test/animation/animations_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/animation/animations_test.dart",
"repo_id": "flutter",
"token_count": 6196
} | 722 |
// Copyright 2014 The Flutter Authors. All rights 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/context_menu_action_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/context_menu_action_test.dart",
"repo_id": "flutter",
"token_count": 2372
} | 723 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
library;
import 'package:flutt... | flutter/packages/flutter/test/cupertino/nav_bar_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/nav_bar_test.dart",
"repo_id": "flutter",
"token_count": 22741
} | 724 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flu... | flutter/packages/flutter/test/cupertino/tab_scaffold_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/tab_scaffold_test.dart",
"repo_id": "flutter",
"token_count": 20479
} | 725 |
// Copyright 2014 The Flutter 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_error.dart/0 | {
"file_path": "flutter/packages/flutter/test/foundation/_compute_caller_invalid_error.dart",
"repo_id": "flutter",
"token_count": 228
} | 726 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('E... | flutter/packages/flutter/test/foundation/diagnostics_json_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/foundation/diagnostics_json_test.dart",
"repo_id": "flutter",
"token_count": 4878
} | 727 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('SynchronousFuture control test', () async... | flutter/packages/flutter/test/foundation/synchronous_future_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/foundation/synchronous_future_test.dart",
"repo_id": "flutter",
"token_count": 534
} | 728 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/gestures.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
bool approx(double value, double expectation) {
... | flutter/packages/flutter/test/gestures/lsq_solver_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/lsq_solver_test.dart",
"repo_id": "flutter",
"token_count": 1519
} | 729 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('gets local coordinates', (WidgetTest... | flutter/packages/flutter/test/gestures/transformed_scale_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/transformed_scale_test.dart",
"repo_id": "flutter",
"token_count": 729
} | 730 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets("builder doesn't get called if app do... | flutter/packages/flutter/test/material/app_builder_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/app_builder_test.dart",
"repo_id": "flutter",
"token_count": 711
} | 731 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('B... | flutter/packages/flutter/test/material/button_bar_theme_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/button_bar_theme_test.dart",
"repo_id": "flutter",
"token_count": 2407
} | 732 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
class Dessert {
Dessert(this.name, this.calories, this.fat, this.carbs, this.protein, this.sodium, this.calcium, this.iron);
final String name;
fina... | flutter/packages/flutter/test/material/data_table_test_utils.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/data_table_test_utils.dart",
"repo_id": "flutter",
"token_count": 739
} | 733 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package... | flutter/packages/flutter/test/material/dropdown_menu_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/dropdown_menu_test.dart",
"repo_id": "flutter",
"token_count": 29068
} | 734 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
library;
import 'package:flutt... | flutter/packages/flutter/test/material/flexible_space_bar_stretch_mode_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/flexible_space_bar_stretch_mode_test.dart",
"repo_id": "flutter",
"token_count": 2822
} | 735 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flut... | flutter/packages/flutter/test/material/input_date_picker_form_field_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/input_date_picker_form_field_test.dart",
"repo_id": "flutter",
"token_count": 5970
} | 736 |
// Copyright 2014 The Flutter Authors. All rights 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';
enum RadiusType {
Sharp,
Shifting,
Round
}
void matches(Bo... | flutter/packages/flutter/test/material/mergeable_material_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/mergeable_material_test.dart",
"repo_id": "flutter",
"token_count": 23318
} | 737 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// no-shuffle:
// //TODO(gspencergoog): Remove this tag once this test's state leaks/test
// dependencies have been fixed.
// https://github.com/flut... | flutter/packages/flutter/test/material/progress_indicator_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/progress_indicator_test.dart",
"repo_id": "flutter",
"token_count": 17781
} | 738 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.