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'; class PestoDemo extends StatelessWidget { const PestoDemo({ super.key }); static const String routeName = '/p...
flutter/dev/integration_tests/flutter_gallery/lib/demo/pesto_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/pesto_demo.dart", "repo_id": "flutter", "token_count": 11164 }
525
// Copyright 2014 The Flutter Authors. All rights 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'; const String _kStartTag = '// START '; const String _kEndTag = '// END'; Map<String?, String>? _exampleCode; Fut...
flutter/dev/integration_tests/flutter_gallery/lib/gallery/example_code_parser.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/gallery/example_code_parser.dart", "repo_id": "flutter", "token_count": 573 }
526
// Copyright 2014 The Flutter Authors. All rights 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_gallery/demo/calculator_demo.dart'; import 'package:flutter_test/flutter_test.dart'; void ...
flutter/dev/integration_tests/flutter_gallery/test/calculator/smoke_test.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/test/calculator/smoke_test.dart", "repo_id": "flutter", "token_count": 425 }
527
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_gallery/gallery/app.dart' show GalleryApp; import 'package:flutter_test/flutter_test.dart'; Future<String> mockUpdateUrlFetcher() ...
flutter/dev/integration_tests/flutter_gallery/test/update_test.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/test/update_test.dart", "repo_id": "flutter", "token_count": 608 }
528
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/scheduler.dart'; // See //dev/devicelab/bin/tasks/flutter_gallery__image_cache_memory.dart import 'package:flutter/widgets.dart'; ...
flutter/dev/integration_tests/flutter_gallery/test_memory/image_cache_memory.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/test_memory/image_cache_memory.dart", "repo_id": "flutter", "token_count": 797 }
529
platform :ios, '12.0' flutter_application_path = 'flutterapp/' load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb') target 'ios_add2app' do install_all_flutter_pods(flutter_application_path) pod 'EarlGreyApp' end target 'ios_add2appTests' do install_flutter_engine_pod(flutter_applicatio...
flutter/dev/integration_tests/ios_add2app_life_cycle/Podfile/0
{ "file_path": "flutter/dev/integration_tests/ios_add2app_life_cycle/Podfile", "repo_id": "flutter", "token_count": 160 }
530
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // HostingController.swift // watch Extension // // Created by Georg Wechslberger on 08.04.20. // import Foundation import SwiftUI import WatchKit ...
flutter/dev/integration_tests/ios_app_with_extensions/ios/watch Extension/HostingController.swift/0
{ "file_path": "flutter/dev/integration_tests/ios_app_with_extensions/ios/watch Extension/HostingController.swift", "repo_id": "flutter", "token_count": 138 }
531
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "NativeViewController.h" @interface NativeViewController () @end @implementation NativeViewController { int _counter; UILabel* _incrementLab...
flutter/dev/integration_tests/ios_host_app/Host/NativeViewController.m/0
{ "file_path": "flutter/dev/integration_tests/ios_host_app/Host/NativeViewController.m", "repo_id": "flutter", "token_count": 1958 }
532
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import UIKit import Flutter import FlutterPluginRegistrant class ViewController: UIViewController { var flutterEngine : FlutterEngine?; // Boiler-pla...
flutter/dev/integration_tests/ios_host_app_swift/Host/ViewController.swift/0
{ "file_path": "flutter/dev/integration_tests/ios_host_app_swift/Host/ViewController.swift", "repo_id": "flutter", "token_count": 399 }
533
// Copyright 2014 The Flutter Authors. All rights 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 '../../gallery_localizations.dart'; // BEGIN cupertinoSegmentedControlDemo class CupertinoSegmentedContr...
flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_segmented_control_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_segmented_control_demo.dart", "repo_id": "flutter", "token_count": 1313 }
534
// Copyright 2014 The Flutter Authors. All rights 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 '../../gallery_localizations.dart'; import 'material_demo_types.dart'; class DividerDemo extends StatelessW...
flutter/dev/integration_tests/new_gallery/lib/demos/material/divider_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/divider_demo.dart", "repo_id": "flutter", "token_count": 1465 }
535
// Copyright 2014 The Flutter Authors. 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/widgets.dart'; import 'package:flutter_localizations/flutter_locali...
flutter/dev/integration_tests/new_gallery/lib/gallery_localizations.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/gallery_localizations.dart", "repo_id": "flutter", "token_count": 42105 }
536
// Copyright 2014 The Flutter Authors. 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/material.dart'; import 'metrics.dart'; class SettingsIcon extends StatelessWidget { const SettingsIcon(this....
flutter/dev/integration_tests/new_gallery/lib/pages/settings_icon/icon.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/pages/settings_icon/icon.dart", "repo_id": "flutter", "token_count": 1982 }
537
// Copyright 2014 The Flutter Authors. All rights 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 '../../../gallery_localizations.dart'; // Duration of time (e.g. 16h 12m) String formattedDuration(BuildCon...
flutter/dev/integration_tests/new_gallery/lib/studies/crane/model/formatters.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/crane/model/formatters.dart", "repo_id": "flutter", "token_count": 191 }
538
// Copyright 2014 The Flutter Authors. All rights 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 '../../data/gallery_options.dart'; import '../../gallery_localizati...
flutter/dev/integration_tests/new_gallery/lib/studies/rally/login.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/rally/login.dart", "repo_id": "flutter", "token_count": 5241 }
539
// Copyright 2014 The Flutter 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 Email { Email({ required this.id, required this.avatar, this.sender = '', this.time = '', this.subject = '', this.message =...
flutter/dev/integration_tests/new_gallery/lib/studies/reply/model/email_model.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/reply/model/email_model.dart", "repo_id": "flutter", "token_count": 385 }
540
// Copyright 2014 The Flutter Authors. All rights 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 '../../layout/adaptive.dart'; class PageStatus extends InheritedWidget { const PageStatus({ super.ke...
flutter/dev/integration_tests/new_gallery/lib/studies/shrine/page_status.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/page_status.dart", "repo_id": "flutter", "token_count": 430 }
541
// Copyright 2014 The Flutter Authors. All rights 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:google_fonts/google_fonts.dart'; class GalleryThemeData { static const Color _lightFillColor = C...
flutter/dev/integration_tests/new_gallery/lib/themes/gallery_theme_data.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/themes/gallery_theme_data.dart", "repo_id": "flutter", "token_count": 1334 }
542
#include "Generated.xcconfig"
flutter/dev/integration_tests/platform_interaction/ios/Flutter/Release.xcconfig/0
{ "file_path": "flutter/dev/integration_tests/platform_interaction/ios/Flutter/Release.xcconfig", "repo_id": "flutter", "token_count": 12 }
543
// Copyright 2014 The Flutter Authors. 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'; enum TestStatus { ok, pending, failed, complete } typedef TestStep = Future<TestStepResult>...
flutter/dev/integration_tests/platform_interaction/lib/src/test_step.dart/0
{ "file_path": "flutter/dev/integration_tests/platform_interaction/lib/src/test_step.dart", "repo_id": "flutter", "token_count": 705 }
544
// Copyright 2014 The Flutter Authors. All rights 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:integration_test/integration_test.dart'; import 'package:release_smoke_test/main.dart' as ...
flutter/dev/integration_tests/release_smoke_test/test_adapter/hello_world_test.dart/0
{ "file_path": "flutter/dev/integration_tests/release_smoke_test/test_adapter/hello_world_test.dart", "repo_id": "flutter", "token_count": 201 }
545
// Copyright 2014 The Flutter Authors. All rights 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'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidg...
flutter/dev/integration_tests/web_e2e_tests/lib/target_platform_main.dart/0
{ "file_path": "flutter/dev/integration_tests/web_e2e_tests/lib/target_platform_main.dart", "repo_id": "flutter", "token_count": 625 }
546
// Copyright 2014 The Flutter Authors. 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:typed_data'; import 'dart:ui' as ui; import 'package:flutter_driver/driver_extension.dart'; import 'windows.dart'; voi...
flutter/dev/integration_tests/windows_startup_test/lib/main.dart/0
{ "file_path": "flutter/dev/integration_tests/windows_startup_test/lib/main.dart", "repo_id": "flutter", "token_count": 1673 }
547
// Copyright 2014 The Flutter Authors. 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/material.dart'; class CardModel { CardModel(this.value, this.height) : textController = TextEditingCont...
flutter/dev/manual_tests/lib/card_collection.dart/0
{ "file_path": "flutter/dev/manual_tests/lib/card_collection.dart", "repo_id": "flutter", "token_count": 5400 }
548
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:flutter_test/flutter_test.dart'; import 'package:manual_tests/color_testing_demo.dart' as color_testing_demo; import 'm...
flutter/dev/manual_tests/test/color_testing_demo_test.dart/0
{ "file_path": "flutter/dev/manual_tests/test/color_testing_demo_test.dart", "repo_id": "flutter", "token_count": 352 }
549
{@inject-html} <a name="{{id}}"></a> <div class="snippet snippet-container anchor-container" id="longSnippet{{serial}}"> {{description}} <a class="anchor-button-overlay anchor-button" title="Copy link to clipboard" onmouseenter="fixHref(this, '{{id}}');" onclick="fixHref(this, '{{id}}'); copyStringToCli...
flutter/dev/snippets/config/skeletons/dartpad-sample.html/0
{ "file_path": "flutter/dev/snippets/config/skeletons/dartpad-sample.html", "repo_id": "flutter", "token_count": 353 }
550
{ "version": "v0_206", "md.comp.elevated-button.container.color": "surfaceContainerLow", "md.comp.elevated-button.container.elevation": "md.sys.elevation.level1", "md.comp.elevated-button.container.height": 40.0, "md.comp.elevated-button.container.shadow-color": "shadow", "md.comp.elevated-button.container...
flutter/dev/tools/gen_defaults/data/button_elevated.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/button_elevated.json", "repo_id": "flutter", "token_count": 960 }
551
{ "version": "v0_206", "md.comp.date-picker.docked.container.color": "surfaceContainerHigh", "md.comp.date-picker.docked.container.elevation": "md.sys.elevation.level3", "md.comp.date-picker.docked.container.height": 456.0, "md.comp.date-picker.docked.container.shape": "md.sys.shape.corner.large", "md.comp...
flutter/dev/tools/gen_defaults/data/date_picker_docked.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/date_picker_docked.json", "repo_id": "flutter", "token_count": 2444 }
552
{ "version": "v0_206", "md.comp.menu.container.color": "surfaceContainer", "md.comp.menu.container.elevation": "md.sys.elevation.level2", "md.comp.menu.container.shadow-color": "shadow", "md.comp.menu.container.shape": "md.sys.shape.corner.extra-small", "md.comp.menu.focus.indicator.color": "secondary", ...
flutter/dev/tools/gen_defaults/data/menu.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/menu.json", "repo_id": "flutter", "token_count": 307 }
553
{ "version": "v0_206", "md.comp.slider.active.track.color": "primary", "md.comp.slider.active.track.height": 4.0, "md.comp.slider.active.track.shape": "md.sys.shape.corner.full", "md.comp.slider.disabled.active.track.color": "onSurface", "md.comp.slider.disabled.active.track.opacity": 0.38, "md.comp.slid...
flutter/dev/tools/gen_defaults/data/slider.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/slider.json", "repo_id": "flutter", "token_count": 1107 }
554
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'template.dart'; class BannerTemplate extends TokenTemplate { const BannerTemplate(super.blockName, super.fileName, super.tokens, { super.col...
flutter/dev/tools/gen_defaults/lib/banner_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/banner_template.dart", "repo_id": "flutter", "token_count": 372 }
555
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'template.dart'; class SurfaceTintTemplate extends TokenTemplate { const SurfaceTintTemplate(super.blockName, super.fileName, super.tokens); @...
flutter/dev/tools/gen_defaults/lib/surface_tint.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/surface_tint.dart", "repo_id": "flutter", "token_count": 401 }
556
package io.flutter.embedding.android; // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT // This file is generated by flutter/flutter@dev/tools/gen_keycodes/bin...
flutter/dev/tools/gen_keycodes/data/android_keyboard_map_java.tmpl/0
{ "file_path": "flutter/dev/tools/gen_keycodes/data/android_keyboard_map_java.tmpl", "repo_id": "flutter", "token_count": 1168 }
557
{ "Backquote": false, "Backslash": false, "BracketLeft": false, "BracketRight": false, "Comma": false, "Digit0": true, "Digit1": true, "Digit2": true, "Digit3": true, "Digit4": true, "Digit5": true, "Digit6": true, "Digit7": true, "Digit8": true, "Digit9": tru...
flutter/dev/tools/gen_keycodes/data/layout_goals.json/0
{ "file_path": "flutter/dev/tools/gen_keycodes/data/layout_goals.json", "repo_id": "flutter", "token_count": 508 }
558
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'utils.dart'; class MaskConstant { const MaskConstant({required this.name, required this.value, required this.description}); const MaskConstan...
flutter/dev/tools/gen_keycodes/lib/constants.dart/0
{ "file_path": "flutter/dev/tools/gen_keycodes/lib/constants.dart", "repo_id": "flutter", "token_count": 939 }
559
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // The utility function `encodeKnArbFiles` replaces the material_kn.arb // and cupertino_kn.arb files in flutter_localizations/packages/lib/src/l10n // wit...
flutter/dev/tools/localization/bin/encode_kn_arb_files.dart/0
{ "file_path": "flutter/dev/tools/localization/bin/encode_kn_arb_files.dart", "repo_id": "flutter", "token_count": 1211 }
560
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Regenerates a Dart file with a class containing IconData constants. // See https://github.com/flutter/flutter/wiki/Updating-Material-Design-Fonts-&-Icon...
flutter/dev/tools/update_icons.dart/0
{ "file_path": "flutter/dev/tools/update_icons.dart", "repo_id": "flutter", "token_count": 7641 }
561
<svg id="svg_build_00" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" > <path id="path_1" d="M 0,19.0 l 48.0, 0.0 l 0.0, 10.0 l -48.0, 0.0 Z " fill="#000000" /> </svg>
flutter/dev/tools/vitool/test_assets/horizontal_bar_relative.svg/0
{ "file_path": "flutter/dev/tools/vitool/test_assets/horizontal_bar_relative.svg", "repo_id": "flutter", "token_count": 95 }
562
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/scheduler.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; import 'common.dart'; fi...
flutter/dev/tracing_tests/test/inflate_widget_tracing_test.dart/0
{ "file_path": "flutter/dev/tracing_tests/test/inflate_widget_tracing_test.dart", "repo_id": "flutter", "token_count": 723 }
563
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Curve2D]. void main() => runApp(const Curve2DExampleApp()); class Curve2DExampleApp...
flutter/examples/api/lib/animation/curves/curve2_d.0.dart/0
{ "file_path": "flutter/examples/api/lib/animation/curves/curve2_d.0.dart", "repo_id": "flutter", "token_count": 1168 }
564
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; /// Flutter code sample for [CupertinoPicker]. const double _kItemExtent = 32.0; const List<String> _fruitNames ...
flutter/examples/api/lib/cupertino/picker/cupertino_picker.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/picker/cupertino_picker.0.dart", "repo_id": "flutter", "token_count": 1758 }
565
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; /// Flutter code sample for [CupertinoTextField]. void main() => runApp(const CupertinoTextFieldApp()); class C...
flutter/examples/api/lib/cupertino/text_field/cupertino_text_field.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/text_field/cupertino_text_field.0.dart", "repo_id": "flutter", "token_count": 500 }
566
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ColorScheme.fromImageProvider] with content-based dynamic color. const Widget divide...
flutter/examples/api/lib/material/color_scheme/dynamic_content_color.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/color_scheme/dynamic_content_color.0.dart", "repo_id": "flutter", "token_count": 7432 }
567
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ExpansionTile]. void main() => runApp(const ExpansionTileApp()); class ExpansionTil...
flutter/examples/api/lib/material/expansion_tile/expansion_tile.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/expansion_tile/expansion_tile.0.dart", "repo_id": "flutter", "token_count": 848 }
568
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [InkWell]. void main() => runApp(const InkWellExampleApp()); class InkWellExampleApp...
flutter/examples/api/lib/material/ink_well/ink_well.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/ink_well/ink_well.0.dart", "repo_id": "flutter", "token_count": 522 }
569
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [InputDecoration.suffixIconConstraints]. void main() => runApp(const SuffixIconConstr...
flutter/examples/api/lib/material/input_decorator/input_decoration.suffix_icon_constraints.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/input_decorator/input_decoration.suffix_icon_constraints.0.dart", "repo_id": "flutter", "token_count": 716 }
570
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// Flutter code sample for [Men...
flutter/examples/api/lib/material/menu_anchor/menu_anchor.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/menu_anchor/menu_anchor.1.dart", "repo_id": "flutter", "token_count": 3425 }
571
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // THIS SAMPLE ONLY WORKS ON MACOS. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// Flutter code sample for [Platform...
flutter/examples/api/lib/material/platform_menu_bar/platform_menu_bar.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/platform_menu_bar/platform_menu_bar.0.dart", "repo_id": "flutter", "token_count": 1976 }
572
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [RefreshIndicator]. void main() => runApp(const RefreshIndicatorExampleApp()); class...
flutter/examples/api/lib/material/refresh_indicator/refresh_indicator.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/refresh_indicator/refresh_indicator.0.dart", "repo_id": "flutter", "token_count": 771 }
573
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ScaffoldMessenger.of]. void main() => runApp(const OfExampleApp()); class OfExample...
flutter/examples/api/lib/material/scaffold/scaffold_messenger.of.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/scaffold/scaffold_messenger.of.1.dart", "repo_id": "flutter", "token_count": 718 }
574
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; /// Flutter code sample for [SelectableRegion]. void main() => runApp(co...
flutter/examples/api/lib/material/selectable_region/selectable_region.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/selectable_region/selectable_region.0.dart", "repo_id": "flutter", "token_count": 4224 }
575
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; /// Flutter code sample for [Switch]. void main() => runApp(const Switch...
flutter/examples/api/lib/material/switch/switch.3.dart/0
{ "file_path": "flutter/examples/api/lib/material/switch/switch.3.dart", "repo_id": "flutter", "token_count": 726 }
576
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; /// Flutter code sample for [ThemeExtension]. @immutable class MyColors ...
flutter/examples/api/lib/material/theme/theme_extension.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/theme/theme_extension.1.dart", "repo_id": "flutter", "token_count": 1281 }
577
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; /// Flutter code sample for [GrowthDirection]s. void main() => runApp(co...
flutter/examples/api/lib/rendering/growth_direction/growth_direction.0.dart/0
{ "file_path": "flutter/examples/api/lib/rendering/growth_direction/growth_direction.0.dart", "repo_id": "flutter", "token_count": 3373 }
578
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [AnimatedSize]. void main() => runApp(const AnimatedSizeExampleApp()); class Animate...
flutter/examples/api/lib/widgets/animated_size/animated_size.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/animated_size/animated_size.0.dart", "repo_id": "flutter", "token_count": 534 }
579
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ClipRRect]. void main() => runApp(const ClipRRectApp()); class ClipRRectApp extends...
flutter/examples/api/lib/widgets/basic/clip_rrect.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/basic/clip_rrect.0.dart", "repo_id": "flutter", "token_count": 1070 }
580
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [PhysicalShape]. void main() => runApp(const PhysicalShapeApp()); class PhysicalShap...
flutter/examples/api/lib/widgets/basic/physical_shape.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/basic/physical_shape.0.dart", "repo_id": "flutter", "token_count": 552 }
581
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [FocusTraversalGroup]. void main() => runApp(const FocusTraversalGroupExampleApp()); ...
flutter/examples/api/lib/widgets/focus_traversal/focus_traversal_group.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/focus_traversal/focus_traversal_group.0.dart", "repo_id": "flutter", "token_count": 2432 }
582
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [AnimatedContainer]. void main() => runApp(const AnimatedContainerExampleApp()); cla...
flutter/examples/api/lib/widgets/implicit_animations/animated_container.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/implicit_animations/animated_container.0.dart", "repo_id": "flutter", "token_count": 559 }
583
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Navigator]. void main() => runApp(const NavigatorExampleApp()); class NavigatorExam...
flutter/examples/api/lib/widgets/navigator/navigator.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/navigator/navigator.0.dart", "repo_id": "flutter", "token_count": 1536 }
584
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Overlay]. void main() => runApp(const OverlayApp()); class OverlayApp extends State...
flutter/examples/api/lib/widgets/overlay/overlay.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/overlay/overlay.0.dart", "repo_id": "flutter", "token_count": 4472 }
585
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ScrollController]. void main() => runApp(const ScrollControllerDemo()); class Scrol...
flutter/examples/api/lib/widgets/scroll_position/scroll_controller_on_attach.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/scroll_position/scroll_controller_on_attach.0.dart", "repo_id": "flutter", "token_count": 1650 }
586
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// Flutter code sample for [Shortcuts]. void main() => runApp(const Shor...
flutter/examples/api/lib/widgets/shortcuts/shortcuts.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/shortcuts/shortcuts.0.dart", "repo_id": "flutter", "token_count": 867 }
587
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// Flutter code sample for [TextFieldTapRegion]. void main() => runApp(c...
flutter/examples/api/lib/widgets/tap_region/text_field_tap_region.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/tap_region/text_field_tap_region.0.dart", "repo_id": "flutter", "token_count": 3190 }
588
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [RotationTransition]. void main() => runApp(const RotationTransitionExampleApp()); c...
flutter/examples/api/lib/widgets/transitions/rotation_transition.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/transitions/rotation_transition.0.dart", "repo_id": "flutter", "token_count": 560 }
589
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_api_samples/cupertino/date_picker/cupertino_timer_picker.0.dart' as example; import 'package:flutter_test/flutter_test.dart'; cons...
flutter/examples/api/test/cupertino/date_picker/cupertino_timer_picker.0_test.dart/0
{ "file_path": "flutter/examples/api/test/cupertino/date_picker/cupertino_timer_picker.0_test.dart", "repo_id": "flutter", "token_count": 436 }
590
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/action_chip/action_chip.0.dart' as example; import 'package:flutter_te...
flutter/examples/api/test/material/action_chip/action_chip.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/action_chip/action_chip.0_test.dart", "repo_id": "flutter", "token_count": 241 }
591
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/choice_chip/choice_chip.0.dart' as example; import 'package:flutter_te...
flutter/examples/api/test/material/choice_chip/choice_chip.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/choice_chip/choice_chip.0_test.dart", "repo_id": "flutter", "token_count": 282 }
592
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/dialog/show_dialog.0.dart' as example; import 'package:flutter_test/fl...
flutter/examples/api/test/material/dialog/show_dialog.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/dialog/show_dialog.0_test.dart", "repo_id": "flutter", "token_count": 347 }
593
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_api_samples/material/expansion_tile/expansion_tile.1.dart' as example; import 'package:flutter_test/flutter_test.dart'; void main(...
flutter/examples/api/test/material/expansion_tile/expansion_tile.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/expansion_tile/expansion_tile.1_test.dart", "repo_id": "flutter", "token_count": 417 }
594
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_api_samples/material/menu_anchor/menu_bar.0.dart' a...
flutter/examples/api/test/material/menu_anchor/menu_bar.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/menu_anchor/menu_bar.0_test.dart", "repo_id": "flutter", "token_count": 1449 }
595
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_api_samples/material/progress_indicator/circular_progress_indicator.0.dart' as example; import 'package:flutter_test/flutter_te...
flutter/examples/api/test/material/progress_indicator/circular_progress_indicator.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/progress_indicator/circular_progress_indicator.0_test.dart", "repo_id": "flutter", "token_count": 256 }
596
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/switch/switch.2.dart' as example; import 'package:flutter_test/flutter...
flutter/examples/api/test/material/switch/switch.2_test.dart/0
{ "file_path": "flutter/examples/api/test/material/switch/switch.2_test.dart", "repo_id": "flutter", "token_count": 370 }
597
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/toggle_buttons/toggle_buttons.1.dart' as example; import 'package:flut...
flutter/examples/api/test/material/toggle_buttons/toggle_buttons.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/toggle_buttons/toggle_buttons.1_test.dart", "repo_id": "flutter", "token_count": 1641 }
598
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_api_samples/services/binding/handle_request_app_exit.0.dart' as example; import 'package:flutter_test/flutter_test.dart'; void mai...
flutter/examples/api/test/services/binding/handle_request_app_exit.0_test.dart/0
{ "file_path": "flutter/examples/api/test/services/binding/handle_request_app_exit.0_test.dart", "repo_id": "flutter", "token_count": 275 }
599
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/basic/expanded.1.dart' as example; import 'package:flutter_test/flutter...
flutter/examples/api/test/widgets/basic/expanded.1_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/basic/expanded.1_test.dart", "repo_id": "flutter", "token_count": 489 }
600
// Copyright 2014 The Flutter Authors. All rights 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/editable_text/text_editing_controller.1.dart' as example; import 'packa...
flutter/examples/api/test/widgets/editable_text/text_editing_controller.1_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/editable_text/text_editing_controller.1_test.dart", "repo_id": "flutter", "token_count": 256 }
601
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/rendering.dart'; import 'package:flutter_api_samples/widgets/overlay/overlay_portal.0.dart' as example; import 'package:flutter_tes...
flutter/examples/api/test/widgets/overlay/overlay_portal.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/overlay/overlay_portal.0_test.dart", "repo_id": "flutter", "token_count": 594 }
602
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_api_samples/widgets/sliver/sliver_cross_axis_group...
flutter/examples/api/test/widgets/sliver/sliver_cross_axis_group.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/sliver/sliver_cross_axis_group.0_test.dart", "repo_id": "flutter", "token_count": 687 }
603
{ "name": "flutter_api_samples", "short_name": "flutter_api_samples", "start_url": ".", "display": "standalone", "background_color": "#0175C2", "theme_color": "#0175C2", "description": "A temporary code sample for Curve2D", "orientation": "portrait-primary", "prefer_related_applicati...
flutter/examples/api/web/manifest.json/0
{ "file_path": "flutter/examples/api/web/manifest.json", "repo_id": "flutter", "token_count": 526 }
604
#include "Generated.xcconfig"
flutter/examples/image_list/ios/Flutter/Release.xcconfig/0
{ "file_path": "flutter/examples/image_list/ios/Flutter/Release.xcconfig", "repo_id": "flutter", "token_count": 12 }
605
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io'; import 'dart:math'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// An example ...
flutter/examples/image_list/lib/main.dart/0
{ "file_path": "flutter/examples/image_list/lib/main.dart", "repo_id": "flutter", "token_count": 4257 }
606
#include "ephemeral/Flutter-Generated.xcconfig"
flutter/examples/layers/macos/Flutter/Flutter-Debug.xcconfig/0
{ "file_path": "flutter/examples/layers/macos/Flutter/Flutter-Debug.xcconfig", "repo_id": "flutter", "token_count": 19 }
607
{ "_id": "57112806d874e9e6df7099d4", "index": 0, "guid": "77dc6167-2351-4a64-a603-aceaff115432", "isActive": false, "balance": "$1,316.41", "picture": "http://placehold.it/32x32", "age": 21, "eyeColor": "brown", "name": "Marta Hartman", "gender": "female", "company": "EXAMPLE", "email": "martaha...
flutter/examples/layers/services/data.json/0
{ "file_path": "flutter/examples/layers/services/data.json", "repo_id": "flutter", "token_count": 557 }
608
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/material.dart'; import '../rendering/src/sector_layout.dart'; RenderBoxToRenderSectorAdapter initCir...
flutter/examples/layers/widgets/sectors.dart/0
{ "file_path": "flutter/examples/layers/widgets/sectors.dart", "repo_id": "flutter", "token_count": 2884 }
609
#include "Generated.xcconfig"
flutter/examples/platform_channel/ios/Flutter/Release.xcconfig/0
{ "file_path": "flutter/examples/platform_channel/ios/Flutter/Release.xcconfig", "repo_id": "flutter", "token_count": 12 }
610
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
flutter/examples/platform_channel/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "flutter/examples/platform_channel/macos/Runner/Configs/Debug.xcconfig", "repo_id": "flutter", "token_count": 32 }
611
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter_window.h" #include <flutter/event_channel.h> #include <flutter/event_sink.h> #include <flutter/event_stream_handler_functions.h> #includ...
flutter/examples/platform_channel/windows/runner/flutter_window.cpp/0
{ "file_path": "flutter/examples/platform_channel/windows/runner/flutter_window.cpp", "repo_id": "flutter", "token_count": 1909 }
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. package io.flutter.examples.platform_view; import android.content.Intent; import androidx.annotation.NonNull; import io.flutter.embedding.android.FlutterA...
flutter/examples/platform_view/android/app/src/main/java/io/flutter/examples/platform_view/MainActivity.java/0
{ "file_path": "flutter/examples/platform_view/android/app/src/main/java/io/flutter/examples/platform_view/MainActivity.java", "repo_id": "flutter", "token_count": 704 }
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 <UIKit/UIKit.h> @protocol PlatformViewControllerDelegate <NSObject> - (void)didUpdateCounter:(int)counter; @end @interface PlatformViewController...
flutter/examples/platform_view/ios/Runner/PlatformViewController.h/0
{ "file_path": "flutter/examples/platform_view/ios/Runner/PlatformViewController.h", "repo_id": "flutter", "token_count": 142 }
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'; import 'package:flutter_test/flutter_test.dart'; import 'package:splash/main.dart' as entrypoint; void main() { ...
flutter/examples/splash/test/splash_test.dart/0
{ "file_path": "flutter/examples/splash/test/splash_test.dart", "repo_id": "flutter", "token_count": 183 }
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. # 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_widget_state.yaml/0
{ "file_path": "flutter/packages/flutter/lib/fix_data/fix_material/fix_widget_state.yaml", "repo_id": "flutter", "token_count": 1660 }
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. /// Flutter widgets implementing Material Design. /// /// To use, import `package:flutter/material.dart`. /// /// {@youtube 560 315 https://www.youtube.com...
flutter/packages/flutter/lib/material.dart/0
{ "file_path": "flutter/packages/flutter/lib/material.dart", "repo_id": "flutter", "token_count": 2907 }
617
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart' show defaultTargetPlatform; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; impor...
flutter/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart", "repo_id": "flutter", "token_count": 3229 }
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/widgets.dart'; import 'colors.dart'; import 'list_section.dart'; // Used for iOS "Inset Grouped" margin, determined from SwiftUI'...
flutter/packages/flutter/lib/src/cupertino/form_section.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/form_section.dart", "repo_id": "flutter", "token_count": 3001 }
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 'dart:collection'; import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:f...
flutter/packages/flutter/lib/src/cupertino/segmented_control.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/segmented_control.dart", "repo_id": "flutter", "token_count": 8129 }
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. /// The location of the Dart Plugin Registrant. This is used by the engine to /// execute the Dart Plugin Registrant when the Isolate is started or /// Dar...
flutter/packages/flutter/lib/src/dart_plugin_registrant.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/dart_plugin_registrant.dart", "repo_id": "flutter", "token_count": 136 }
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 '_bitfield_io.dart' if (dart.library.js_util) '_bitfield_web.dart' as bitfield; /// The largest SMI value. /// /// See <https://www.dartlang.org/...
flutter/packages/flutter/lib/src/foundation/bitfield.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/bitfield.dart", "repo_id": "flutter", "token_count": 521 }
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 '_platform_io.dart' if (dart.library.js_util) '_platform_web.dart' as platform; import 'assertions.dart'; import 'constants.dart'; /// The [Targe...
flutter/packages/flutter/lib/src/foundation/platform.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/platform.dart", "repo_id": "flutter", "token_count": 1253 }
623
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui' show Offset, PointerDeviceKind; import 'package:flutter/foundation.dart'; import 'package:vector_math/vector_math_64.dart'; import 'cons...
flutter/packages/flutter/lib/src/gestures/events.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/events.dart", "repo_id": "flutter", "token_count": 25353 }
624