text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [DropdownMenu].
const List<String> list = <String>['One', 'Two', 'Three', 'Four'];
v... | flutter/examples/api/lib/material/dropdown_menu/dropdown_menu.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/dropdown_menu/dropdown_menu.1.dart",
"repo_id": "flutter",
"token_count": 569
} | 612 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [IconButton].
void main() => runApp(const IconButtonExampleApp());
class IconButtonE... | flutter/examples/api/lib/material/icon_button/icon_button.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/icon_button/icon_button.1.dart",
"repo_id": "flutter",
"token_count": 457
} | 613 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [InputDecoration].
void main() => runApp(const MaterialStateExampleApp());
class Mat... | flutter/examples/api/lib/material/input_decorator/input_decoration.material_state.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/input_decorator/input_decoration.material_state.0.dart",
"repo_id": "flutter",
"token_count": 479
} | 614 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [MaterialStateOutlinedBorder].
void main() => runApp(const MaterialStateOutlinedBorde... | flutter/examples/api/lib/material/material_state/material_state_outlined_border.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/material_state/material_state_outlined_border.0.dart",
"repo_id": "flutter",
"token_count": 528
} | 615 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [OutlinedButton].
void main() => runApp(const OutlinedButtonExampleApp());
class Out... | flutter/examples/api/lib/material/outlined_button/outlined_button.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/outlined_button/outlined_button.0.dart",
"repo_id": "flutter",
"token_count": 334
} | 616 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for custom labeled radio.
void main() => runApp(const LabeledRadioApp());
class LabeledR... | flutter/examples/api/lib/material/radio_list_tile/custom_labeled_radio.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/radio_list_tile/custom_labeled_radio.1.dart",
"repo_id": "flutter",
"token_count": 1238
} | 617 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [Scaffold.endDrawer].
void main() => runApp(const EndDrawerExampleApp());
class EndD... | flutter/examples/api/lib/material/scaffold/scaffold.end_drawer.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/scaffold/scaffold.end_drawer.0.dart",
"repo_id": "flutter",
"token_count": 729
} | 618 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [SearchAnchor].
const Duration fakeAPIDuration = Duration(seconds: 1);
void main() =... | flutter/examples/api/lib/material/search_anchor/search_anchor.3.dart/0 | {
"file_path": "flutter/examples/api/lib/material/search_anchor/search_anchor.3.dart",
"repo_id": "flutter",
"token_count": 1078
} | 619 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [Stepper].
void main() => runApp(const StepperExampleApp());
class StepperExampleApp... | flutter/examples/api/lib/material/stepper/stepper.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/stepper/stepper.0.dart",
"repo_id": "flutter",
"token_count": 751
} | 620 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [TextButton].
void main() {
runApp(const MaterialApp(home: Home()));
}
class Selec... | flutter/examples/api/lib/material/text_button/text_button.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/text_button/text_button.1.dart",
"repo_id": "flutter",
"token_count": 1058
} | 621 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [LinearGradient].
void main() => runApp(const LinearGradientExampleApp());
class Lin... | flutter/examples/api/lib/painting/gradient/linear_gradient.0.dart/0 | {
"file_path": "flutter/examples/api/lib/painting/gradient/linear_gradient.0.dart",
"repo_id": "flutter",
"token_count": 657
} | 622 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
/// Flutter code sample for [AppBar.systemOve... | flutter/examples/api/lib/services/system_chrome/system_chrome.set_system_u_i_overlay_style.0.dart/0 | {
"file_path": "flutter/examples/api/lib/services/system_chrome/system_chrome.set_system_u_i_overlay_style.0.dart",
"repo_id": "flutter",
"token_count": 667
} | 623 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
/// Flutter code sample for [FontFeature.FontFeature.numerators].
void main() => runApp(const ExampleApp());
clas... | flutter/examples/api/lib/ui/text/font_feature.font_feature_numerators.0.dart/0 | {
"file_path": "flutter/examples/api/lib/ui/text/font_feature.font_feature_numerators.0.dart",
"repo_id": "flutter",
"token_count": 386
} | 624 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
/// Flutter code sample for [FocusableActionDetector].
void main() => run... | flutter/examples/api/lib/widgets/actions/focusable_action_detector.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/actions/focusable_action_detector.0.dart",
"repo_id": "flutter",
"token_count": 1537
} | 625 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [AutofillGroup].
void main() => runApp(const AutofillGroupExampleApp());
class Autof... | flutter/examples/api/lib/widgets/autofill/autofill_group.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/autofill/autofill_group.0.dart",
"repo_id": "flutter",
"token_count": 1811
} | 626 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [MouseRegion].
void main() => runApp(const MouseRegionApp());
class MouseRegionApp e... | flutter/examples/api/lib/widgets/basic/mouse_region.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/basic/mouse_region.0.dart",
"repo_id": "flutter",
"token_count": 908
} | 627 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [FocusNode.unfocus].
void main() => runApp(const UnfocusExampleApp());
class Unfocus... | flutter/examples/api/lib/widgets/focus_manager/focus_node.unfocus.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/focus_manager/focus_node.unfocus.0.dart",
"repo_id": "flutter",
"token_count": 1480
} | 628 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
/// Flutter code sample for [Hero].
void main() {
// Slow down time to... | flutter/examples/api/lib/widgets/heroes/hero.1.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/heroes/hero.1.dart",
"repo_id": "flutter",
"token_count": 1706
} | 629 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [InteractiveViewer.constrained].
void main() => runApp(const ConstrainedExampleApp())... | flutter/examples/api/lib/widgets/interactive_viewer/interactive_viewer.constrained.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/interactive_viewer/interactive_viewer.constrained.0.dart",
"repo_id": "flutter",
"token_count": 772
} | 630 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [NestedScrollView].
void main() => runApp(const NestedScrollViewExampleApp());
class... | flutter/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.1.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.1.dart",
"repo_id": "flutter",
"token_count": 737
} | 631 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [PopupRoute].
void main() => runApp(const PopupRouteApp());
class PopupRouteApp exte... | flutter/examples/api/lib/widgets/routes/popup_route.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/routes/popup_route.0.dart",
"repo_id": "flutter",
"token_count": 956
} | 632 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [SharedAppData].
class ShowSharedValue extends StatelessWidget {
const ShowSharedVa... | flutter/examples/api/lib/widgets/shared_app_data/shared_app_data.0.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/shared_app_data/shared_app_data.0.dart",
"repo_id": "flutter",
"token_count": 1015
} | 633 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for a [ChangeNotifier] with a [ListenableBuilder].
void main() {
runApp(const Listenabl... | flutter/examples/api/lib/widgets/transitions/listenable_builder.2.dart/0 | {
"file_path": "flutter/examples/api/lib/widgets/transitions/listenable_builder.2.dart",
"repo_id": "flutter",
"token_count": 730
} | 634 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter_api_samples/cupertino/bottom_tab_bar/cupertino_tab_bar.0.dart' as example;
import 'package... | flutter/examples/api/test/cupertino/bottom_tab_bar/cupertino_tab_bar.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/cupertino/bottom_tab_bar/cupertino_tab_bar.0_test.dart",
"repo_id": "flutter",
"token_count": 267
} | 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/cupertino.dart';
import 'package:flutter_api_samples/cupertino/radio/cupertino_radio.toggleable.0.dart' as example;
import 'package... | flutter/examples/api/test/cupertino/radio/cupertino_radio.toggleable.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/cupertino/radio/cupertino_radio.toggleable.0_test.dart",
"repo_id": "flutter",
"token_count": 557
} | 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 'dart:async';
import 'goldens_io.dart' if (dart.library.html) 'goldens_web.dart' as flutter_goldens;
Future<void> testExecutable(FutureOr<void> F... | flutter/examples/api/test/flutter_test_config.dart/0 | {
"file_path": "flutter/examples/api/test/flutter_test_config.dart",
"repo_id": "flutter",
"token_count": 146
} | 637 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/material/autocomplete/autocomplete.1.dart' as example;
import 'package:flutter_... | flutter/examples/api/test/material/autocomplete/autocomplete.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/autocomplete/autocomplete.1_test.dart",
"repo_id": "flutter",
"token_count": 367
} | 638 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/material/checkbox_list_tile/checkbox_list_tile.1.dart' as example;
import 'pack... | flutter/examples/api/test/material/checkbox_list_tile/checkbox_list_tile.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/checkbox_list_tile/checkbox_list_tile.1_test.dart",
"repo_id": "flutter",
"token_count": 1143
} | 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';
import 'package:flutter_api_samples/material/date_picker/show_date_range_picker.0.dart' as example;
import 'package... | flutter/examples/api/test/material/date_picker/show_date_range_picker.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/date_picker/show_date_range_picker.0_test.dart",
"repo_id": "flutter",
"token_count": 634
} | 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';
import 'package:flutter_api_samples/material/dropdown_menu/dropdown_menu.0.dart' as example;
import 'package:flutte... | flutter/examples/api/test/material/dropdown_menu/dropdown_menu.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/dropdown_menu/dropdown_menu.0_test.dart",
"repo_id": "flutter",
"token_count": 950
} | 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';
import 'package:flutter_api_samples/material/list_tile/list_tile.selected.0.dart' as example;
import 'package:flutt... | flutter/examples/api/test/material/list_tile/list_tile.selected.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/list_tile/list_tile.selected.0_test.dart",
"repo_id": "flutter",
"token_count": 353
} | 642 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/material/refresh_indicator/refresh_indicator.1.dart' as example;
import 'packag... | flutter/examples/api/test/material/refresh_indicator/refresh_indicator.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/refresh_indicator/refresh_indicator.1_test.dart",
"repo_id": "flutter",
"token_count": 377
} | 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_api_samples/material/snack_bar/snack_bar.0.dart' as example;
import 'package:flutter_test/f... | flutter/examples/api/test/material/snack_bar/snack_bar.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/snack_bar/snack_bar.0_test.dart",
"repo_id": "flutter",
"token_count": 305
} | 644 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/material/text_button/text_button.1.dart' as example;
import 'package:flutter_te... | flutter/examples/api/test/material/text_button/text_button.1_test.dart/0 | {
"file_path": "flutter/examples/api/test/material/text_button/text_button.1_test.dart",
"repo_id": "flutter",
"token_count": 603
} | 645 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_api_samples/rendering/growth_direction/growth_dire... | flutter/examples/api/test/rendering/growth_direction.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/rendering/growth_direction.0_test.dart",
"repo_id": "flutter",
"token_count": 655
} | 646 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/ui/text/font_feature.font_feature_character_variant.0.dart' as example;
import ... | flutter/examples/api/test/ui/text/font_feature.font_feature_character_variant.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/ui/text/font_feature.font_feature_character_variant.0_test.dart",
"repo_id": "flutter",
"token_count": 361
} | 647 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/widgets/basic/overflowbox.0.dart' as example;
import 'package:flutter_test/flut... | flutter/examples/api/test/widgets/basic/overflowbox.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/widgets/basic/overflowbox.0_test.dart",
"repo_id": "flutter",
"token_count": 412
} | 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';
import 'package:flutter_api_samples/widgets/magnifier/magnifier.0.dart'
as example;
import 'package:flutter_tes... | flutter/examples/api/test/widgets/magnifier/magnifier.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/widgets/magnifier/magnifier.0_test.dart",
"repo_id": "flutter",
"token_count": 665
} | 649 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/widgets/scroll_view/list_view.0.dart'
as example;
import 'package:flutter_t... | flutter/examples/api/test/widgets/scroll_view/list_view.0_test.dart/0 | {
"file_path": "flutter/examples/api/test/widgets/scroll_view/list_view.0_test.dart",
"repo_id": "flutter",
"token_count": 865
} | 650 |
#include "ephemeral/Flutter-Generated.xcconfig"
| flutter/examples/flutter_view/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "flutter/examples/flutter_view/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "flutter",
"token_count": 19
} | 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 Foundation
import AppKit
import FlutterMacOS
/**
The code behind a storyboard view which splits a flutter view and a macOS view.
*/
class MainViewC... | flutter/examples/flutter_view/macos/Runner/MainViewController.swift/0 | {
"file_path": "flutter/examples/flutter_view/macos/Runner/MainViewController.swift",
"repo_id": "flutter",
"token_count": 717
} | 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_test/flutter_test.dart';
import 'package:hello_world/main.dart' as hello_world;
void main() {
testWidgets('Hello world smoke tes... | flutter/examples/hello_world/test/hello_test.dart/0 | {
"file_path": "flutter/examples/hello_world/test/hello_test.dart",
"repo_id": "flutter",
"token_count": 168
} | 653 |
name: image_list
description: Simple Flutter project used for benchmarking image loading over network.
version: 1.0.0+1
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS ... | flutter/examples/image_list/pubspec.yaml/0 | {
"file_path": "flutter/examples/image_list/pubspec.yaml",
"repo_id": "flutter",
"token_count": 1055
} | 654 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| flutter/examples/layers/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "flutter/examples/layers/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "flutter",
"token_count": 32
} | 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.
// This example shows how to perform a simple animation using the underlying
// render tree.
import 'dart:math' as math;
import 'package:flutter/animatio... | flutter/examples/layers/rendering/spinning_square.dart/0 | {
"file_path": "flutter/examples/layers/rendering/spinning_square.dart",
"repo_id": "flutter",
"token_count": 782
} | 656 |
#include "Generated.xcconfig"
| flutter/examples/platform_channel_swift/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "flutter/examples/platform_channel_swift/ios/Flutter/Debug.xcconfig",
"repo_id": "flutter",
"token_count": 12
} | 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 Cocoa
import FlutterMacOS
/**
The main application window.
Performs Flutter app initialization, and handles channel method calls over the
`samp... | flutter/examples/platform_view/macos/Runner/MainFlutterWindow.swift/0 | {
"file_path": "flutter/examples/platform_view/macos/Runner/MainFlutterWindow.swift",
"repo_id": "flutter",
"token_count": 517
} | 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.
# For details regarding the *Flutter Fix* feature, see
# https://flutter.dev/docs/development/tools/flutter-fix
# Please add new fixes to the top of the file... | flutter/packages/flutter/lib/fix_data/fix_material/fix_color_scheme.yaml/0 | {
"file_path": "flutter/packages/flutter/lib/fix_data/fix_material/fix_color_scheme.yaml",
"repo_id": "flutter",
"token_count": 7314
} | 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.
# 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_media_query.yaml/0 | {
"file_path": "flutter/packages/flutter/lib/fix_data/fix_widgets/fix_media_query.yaml",
"repo_id": "flutter",
"token_count": 843
} | 660 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'dart:ui';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
export 'dart:ui' show Of... | flutter/packages/flutter/lib/src/animation/curves.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/animation/curves.dart",
"repo_id": "flutter",
"token_count": 27310
} | 661 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart' show ValueListenable, clampDouble;
import 'package:flutter/widgets.dart';
import 'desktop_text_selection_toolbar.... | flutter/packages/flutter/lib/src/cupertino/desktop_text_selection.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/cupertino/desktop_text_selection.dart",
"repo_id": "flutter",
"token_count": 2440
} | 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/foundation.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'toggleable.dart';
// Examples can assume:
... | flutter/packages/flutter/lib/src/cupertino/radio.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/cupertino/radio.dart",
"repo_id": "flutter",
"token_count": 3985
} | 663 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math';
import 'package:flutter/widgets.dart';
import 'button.dart';
import 'colors.dart';
import 'debug.dart';
import 'localizations.dart';
... | flutter/packages/flutter/lib/src/cupertino/text_selection_toolbar_button.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/cupertino/text_selection_toolbar_button.dart",
"repo_id": "flutter",
"token_count": 2984
} | 664 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:js_interop';
/// Returns the current timestamp in microseconds from a monotonically
/// increasing clock.
///
/// This is the web implementat... | flutter/packages/flutter/lib/src/foundation/_timeline_web.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/foundation/_timeline_web.dart",
"repo_id": "flutter",
"token_count": 208
} | 665 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui;
import 'assertions.dart';
import 'constants.dart';
import 'diagnostics.dart';
const bool _kMemoryAllocations = bool.fromEnvironme... | flutter/packages/flutter/lib/src/foundation/memory_allocations.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/foundation/memory_allocations.dart",
"repo_id": "flutter",
"token_count": 3521
} | 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 'dart:ui' as ui show PointerChange, PointerData, PointerSignalKind;
import 'events.dart';
export 'dart:ui' show PointerData;
export 'events.dart... | flutter/packages/flutter/lib/src/gestures/converter.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/gestures/converter.dart",
"repo_id": "flutter",
"token_count": 7323
} | 667 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:collection';
import 'package:flutter/foundation.dart';
import 'arena.dart';
import 'binding.dart';
import 'constants.d... | flutter/packages/flutter/lib/src/gestures/recognizer.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/gestures/recognizer.dart",
"repo_id": "flutter",
"token_count": 9518
} | 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.
// 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/arrow_menu.g.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/animated_icons/data/arrow_menu.g.dart",
"repo_id": "flutter",
"token_count": 29422
} | 669 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'dart:ui' show lerpDouble;
import 'package:flutter/animation.dart';
import 'package:flutter/foundation.dart';
// How c... | flutter/packages/flutter/lib/src/material/arc.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/arc.dart",
"repo_id": "flutter",
"token_count": 4765
} | 670 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' show lerpDouble;
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart'... | flutter/packages/flutter/lib/src/material/button_style.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/button_style.dart",
"repo_id": "flutter",
"token_count": 7994
} | 671 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/animation.dart';
// The easing curves of the Material Library
/// The standard easing curve in the Material 2 specification.
///
... | flutter/packages/flutter/lib/src/material/curves.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/curves.dart",
"repo_id": "flutter",
"token_count": 573
} | 672 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
import 'debug.dart';
import 'divider.dart';
import 'theme.dart';
const double _kDrawerHeaderHeight = 160.0 + 1.0; ... | flutter/packages/flutter/lib/src/material/drawer_header.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/drawer_header.dart",
"repo_id": "flutter",
"token_count": 1121
} | 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 'dart:math' as math;
import 'dart:ui' as ui;
import 'package:flutter/foundation.dart' show clampDouble;
import 'package:flutter/rendering.dart';
im... | flutter/packages/flutter/lib/src/material/flexible_space_bar.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/flexible_space_bar.dart",
"repo_id": "flutter",
"token_count": 6489
} | 674 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'dart:ui' show lerpDouble;
import 'package:flutter/foundation.dart' show clampDouble;
import 'package:flutter/widgets.d... | flutter/packages/flutter/lib/src/material/input_border.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/input_border.dart",
"repo_id": "flutter",
"token_count": 6890
} | 675 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'menu_anchor.dart';
import 'menu_style.dart';
import 'theme.dart';... | flutter/packages/flutter/lib/src/material/menu_theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/menu_theme.dart",
"repo_id": "flutter",
"token_count": 1339
} | 676 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' show lerpDouble;
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'material_state.dart';
import '... | flutter/packages/flutter/lib/src/material/popup_menu_theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/popup_menu_theme.dart",
"repo_id": "flutter",
"token_count": 2966
} | 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:math' as math;
import 'dart:math';
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter... | flutter/packages/flutter/lib/src/material/segmented_button.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/segmented_button.dart",
"repo_id": "flutter",
"token_count": 13781
} | 678 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'ink_well.dart';
import 'material_state.dart';
import 'tabs.dart';... | flutter/packages/flutter/lib/src/material/tab_bar_theme.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/tab_bar_theme.dart",
"repo_id": "flutter",
"token_count": 2517
} | 679 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math' as math;
import 'dart:ui';
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
impo... | flutter/packages/flutter/lib/src/material/time_picker.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/material/time_picker.dart",
"repo_id": "flutter",
"token_count": 49890
} | 680 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'basic_types.dart';
/// Base class for [BorderRadius] that allows for text-direction aware resolution.
/... | flutter/packages/flutter/lib/src/painting/border_radius.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/border_radius.dart",
"repo_id": "flutter",
"token_count": 9494
} | 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:math' as math;
import 'package:flutter/foundation.dart' show clampDouble;
import 'basic_types.dart';
/// Position a child box within a conta... | flutter/packages/flutter/lib/src/painting/geometry.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/geometry.dart",
"repo_id": "flutter",
"token_count": 686
} | 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 'basic_types.dart';
import 'borders.dart';
import 'box_border.dart';
import 'box_decoration.dart';
import... | flutter/packages/flutter/lib/src/painting/shape_decoration.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/painting/shape_decoration.dart",
"repo_id": "flutter",
"token_count": 5037
} | 683 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui show SemanticsUpdate;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/sch... | flutter/packages/flutter/lib/src/rendering/binding.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/rendering/binding.dart",
"repo_id": "flutter",
"token_count": 10714
} | 684 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:collection' show LinkedHashMap;
import 'dart:ui';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'p... | flutter/packages/flutter/lib/src/rendering/mouse_tracker.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/rendering/mouse_tracker.dart",
"repo_id": "flutter",
"token_count": 5122
} | 685 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'box.dart';
import 'sliver.dart';
import 'sliver_multi_box_adaptor.dart';
/// A sliver that places multi... | flutter/packages/flutter/lib/src/rendering/sliver_list.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/rendering/sliver_list.dart",
"repo_id": "flutter",
"token_count": 4812
} | 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.
/// Service extension constants for the scheduler library.
///
/// These constants will be used when registering service extensions in the
/// framework, a... | flutter/packages/flutter/lib/src/scheduler/service_extensions.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/scheduler/service_extensions.dart",
"repo_id": "flutter",
"token_count": 239
} | 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 'package:flutter/foundation.dart';
import 'hardware_keyboard.dart';
export 'hardware_keyboard.dart' show KeyDataTransitMode;
/// Override the tra... | flutter/packages/flutter/lib/src/services/debug.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/debug.dart",
"repo_id": "flutter",
"token_count": 603
} | 688 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'system_channels.dart';
/// A data structure describing text processing actions.
@immutable
class Proces... | flutter/packages/flutter/lib/src/services/process_text.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/process_text.dart",
"repo_id": "flutter",
"token_count": 1511
} | 689 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math';
import 'package:characters/characters.dart' show CharacterRange;
import 'text_layout_metrics.dart';
// Examples can assume:
// late ... | flutter/packages/flutter/lib/src/services/text_boundary.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/services/text_boundary.dart",
"repo_id": "flutter",
"token_count": 2409
} | 690 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/rendering.dart';
import 'basic.dart';
import 'framework.dart';
import 'ticker_provider.dart';
/// Animated widget that automatica... | flutter/packages/flutter/lib/src/widgets/animated_size.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/animated_size.dart",
"repo_id": "flutter",
"token_count": 1620
} | 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 'framework.dart';
/// The buttons that can appear in a context menu by default.
///
/// See also:
///
/// * [ContextMenuButtonItem], which uses th... | flutter/packages/flutter/lib/src/widgets/context_menu_button_item.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/context_menu_button_item.dart",
"repo_id": "flutter",
"token_count": 883
} | 692 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'basic.dart';
import 'focus_manager.dart';
import 'framework.dart';
import 'inherited_notifier.dart';
//... | flutter/packages/flutter/lib/src/widgets/focus_scope.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/focus_scope.dart",
"repo_id": "flutter",
"token_count": 10894
} | 693 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'framework.dart';
/// An inherited widget for a [Listenable] [notifier], which updates its
/// dependenc... | flutter/packages/flutter/lib/src/widgets/inherited_notifier.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/inherited_notifier.dart",
"repo_id": "flutter",
"token_count": 1429
} | 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 'basic.dart';
import 'framework.dart';
import 'layout_builder.dart';
import 'media_query.dart';
/// Signature for a function that builds a widget g... | flutter/packages/flutter/lib/src/widgets/orientation_builder.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/orientation_builder.dart",
"repo_id": "flutter",
"token_count": 560
} | 695 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/schedule... | flutter/packages/flutter/lib/src/widgets/reorderable_list.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/reorderable_list.dart",
"repo_id": "flutter",
"token_count": 18449
} | 696 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/physics.dart';
import 'pack... | flutter/packages/flutter/lib/src/widgets/scroll_position.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/scroll_position.dart",
"repo_id": "flutter",
"token_count": 13667
} | 697 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'framework.dart';
import 'scroll_delegate.dart';
import 'sliver.... | flutter/packages/flutter/lib/src/widgets/sliver_fill.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/sliver_fill.dart",
"repo_id": "flutter",
"token_count": 3852
} | 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:math' as math;
import 'package:flutter/rendering.dart';
/// A [SingleChildLayoutDelegate] for use with [CustomSingleChildLayout] that
/// po... | flutter/packages/flutter/lib/src/widgets/text_selection_toolbar_layout_delegate.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/text_selection_toolbar_layout_delegate.dart",
"repo_id": "flutter",
"token_count": 955
} | 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 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
// Examples can assume:
// late... | flutter/packages/flutter/lib/src/widgets/widget_state.dart/0 | {
"file_path": "flutter/packages/flutter/lib/src/widgets/widget_state.dart",
"repo_id": "flutter",
"token_count": 7035
} | 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
setUp(() {
WidgetsFlutterBinding.ensureInitial... | flutter/packages/flutter/test/animation/iteration_patterns_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/animation/iteration_patterns_test.dart",
"repo_id": "flutter",
"token_count": 1453
} | 701 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('debugCheckHasCupertinoLocalizations... | flutter/packages/flutter/test/cupertino/debug_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/debug_test.dart",
"repo_id": "flutter",
"token_count": 365
} | 702 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/renderin... | flutter/packages/flutter/test/cupertino/picker_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/picker_test.dart",
"repo_id": "flutter",
"token_count": 9577
} | 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.
// reduced-test-set:
// This file is run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
librar... | flutter/packages/flutter/test/cupertino/text_field_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/cupertino/text_field_test.dart",
"repo_id": "flutter",
"token_count": 145850
} | 704 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter_test/flutter_test.dart';
import 'capture_output.dart';
void main() {
test('debugPrint... | flutter/packages/flutter/test/foundation/assertions_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/foundation/assertions_test.dart",
"repo_id": "flutter",
"token_count": 6977
} | 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.
@TestOn('!chrome')
library;
import 'package:flutter/foundation.dart';
import 'package:flutter_test/flutter_test.dart';
Object getAssertionErrorWithMessag... | flutter/packages/flutter/test/foundation/error_reporting_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/foundation/error_reporting_test.dart",
"repo_id": "flutter",
"token_count": 4453
} | 706 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWid... | flutter/packages/flutter/test/gestures/debug_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/debug_test.dart",
"repo_id": "flutter",
"token_count": 2686
} | 707 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/gestures.dart';
import 'package:flutter_test/flutter_test.dart';
import 'gesture_tester.dart';
void main() {
TestWidgetsFlutter... | flutter/packages/flutter/test/gestures/multitap_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/multitap_test.dart",
"repo_id": "flutter",
"token_count": 1932
} | 708 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/gestures.dart';
import 'package:flutter_test/flutter_test.dart';
import 'velocity_tracker_data.dart';
bool _withinTolerance(double... | flutter/packages/flutter/test/gestures/velocity_tracker_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/gestures/velocity_tracker_test.dart",
"repo_id": "flutter",
"token_count": 2808
} | 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/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
class User {
const User... | flutter/packages/flutter/test/material/autocomplete_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/autocomplete_test.dart",
"repo_id": "flutter",
"token_count": 8260
} | 710 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutte... | flutter/packages/flutter/test/material/calendar_date_picker_test.dart/0 | {
"file_path": "flutter/packages/flutter/test/material/calendar_date_picker_test.dart",
"repo_id": "flutter",
"token_count": 20687
} | 711 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.