text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
/* * Copyright (c) 2015, the Dart project authors. * * Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.eclipse.org/legal/epl-v10.html * * Unless required by applicable law or...
flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/InstanceKind.java/0
{ "file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/InstanceKind.java", "repo_id": "flutter-intellij", "token_count": 1074 }
479
/* * Copyright (c) 2015, the Dart project authors. * * Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.eclipse.org/legal/epl-v10.html * * Unless required by applicable law or...
flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/RetainingPath.java/0
{ "file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/RetainingPath.java", "repo_id": "flutter-intellij", "token_count": 558 }
480
/* * Copyright (c) 2015, the Dart project authors. * * Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.eclipse.org/legal/epl-v10.html * * Unless required by applicable law or...
flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/TimelineFlags.java/0
{ "file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/TimelineFlags.java", "repo_id": "flutter-intellij", "token_count": 469 }
481
/* * Copyright (c) 2015, the Dart project authors. * * Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.eclipse.org/legal/epl-v10.html * * Unless required by applicable law or...
flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/internal/WebSocketRequestSink.java/0
{ "file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/internal/WebSocketRequestSink.java", "repo_id": "flutter-intellij", "token_count": 585 }
482
/* * Copyright 2018 The Chromium 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.android; import static com.android.tools.idea.gradle.util.GradleProjectSystemUtil.GRADLE_SYSTEM_ID; import static com.google.wir...
flutter-intellij/flutter-studio/src/io/flutter/android/AndroidModuleLibraryManager.java/0
{ "file_path": "flutter-intellij/flutter-studio/src/io/flutter/android/AndroidModuleLibraryManager.java", "repo_id": "flutter-intellij", "token_count": 5432 }
483
Kokoro Job Config This is the configuration for the `flutter-intellij-kokoro` job. Currently, the `gcp_windows` config is ignored; when this project was under active development the Windows support was not adequate. The `macos_external` config is used to do CI activities. It runs unit tests on presubmit and commit, ch...
flutter-intellij/kokoro/README.md/0
{ "file_path": "flutter-intellij/kokoro/README.md", "repo_id": "flutter-intellij", "token_count": 187 }
484
<!-- Do not edit; instead, modify studio-contribs_template.xml, and run './bin/plugin generate'. --> <!-- Defines Android Studio IDE-specific contributions and implementations. --> <idea-plugin> <extensions defaultExtensionNs="io.flutter"> <gradleSyncProvider implementation="io.flutter.android.AndroidStudioGrad...
flutter-intellij/resources/META-INF/studio-contribs.xml/0
{ "file_path": "flutter-intellij/resources/META-INF/studio-contribs.xml", "repo_id": "flutter-intellij", "token_count": 738 }
485
/* * Copyright 2020 The Chromium Authors. 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 'build_spec.dart'; import 'util.dart'; Set<EditCommand> appliedEditCommands = {}; void checkAndCle...
flutter-intellij/tool/plugin/lib/edit.dart/0
{ "file_path": "flutter-intellij/tool/plugin/lib/edit.dart", "repo_id": "flutter-intellij", "token_count": 1745 }
486
# Below is a list of Flutter team members' GitHub handles who are # suggested reviewers for contributions to this repository. # # These names are just suggestions. It is fine to have your changes # reviewed by someone else. # # Use git ls-files '<pattern>' without a / prefix to see the list of matching files. /package...
flutter/CODEOWNERS/0
{ "file_path": "flutter/CODEOWNERS", "repo_id": "flutter", "token_count": 137 }
487
912c61f30512f560a342778bd648022aff32394b
flutter/bin/internal/engine.version/0
{ "file_path": "flutter/bin/internal/engine.version", "repo_id": "flutter", "token_count": 22 }
488
# This file is used by dartdoc when generating API documentation for Flutter. dartdoc: # Before you can run dartdoc, the snippets tool needs to be # activated with "pub global activate snippets <version>" # The dev/bots/docs.sh script does this automatically. tools: snippet: command: ["bin/cache/dart-...
flutter/dartdoc_options.yaml/0
{ "file_path": "flutter/dartdoc_options.yaml", "repo_id": "flutter", "token_count": 649 }
489
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { testWidgets('tests must restore the value of re...
flutter/dev/automated_tests/test_smoke_test/disallow_error_reporter_modification_test.dart/0
{ "file_path": "flutter/dev/automated_tests/test_smoke_test/disallow_error_reporter_modification_test.dart", "repo_id": "flutter", "token_count": 143 }
490
// Copyright 2014 The Flutter Authors. All rights 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'; // Various tests to verify that animated opacity layers (i.e. FadeTransition) do not // dirty children even withou...
flutter/dev/benchmarks/macrobenchmarks/lib/src/animated_complex_opacity.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/animated_complex_opacity.dart", "repo_id": "flutter", "token_count": 693 }
491
// Copyright 2014 The Flutter Authors. 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 'dart:ui' as ui; import 'package:flutter/material.dart'; import '../common.dart'; Map<String, WidgetBuilder> gradientPerfRout...
flutter/dev/benchmarks/macrobenchmarks/lib/src/gradient_perf.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/gradient_perf.dart", "repo_id": "flutter", "token_count": 2951 }
492
// Copyright 2014 The Flutter Authors. 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:ffi' as ffi; import 'dart:io' as io; import 'package:flutter/material.dart'; import '../common.dart'; typedef GetStackPointerCallback = int...
flutter/dev/benchmarks/macrobenchmarks/lib/src/stack_size.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/stack_size.dart", "repo_id": "flutter", "token_count": 1508 }
493
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:ui'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/scheduler....
flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_mouse_region_grid_scroll.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_mouse_region_grid_scroll.dart", "repo_id": "flutter", "token_count": 1956 }
494
// Copyright 2014 The Flutter Authors. All rights 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 'package:macrobenchmarks/common.dart'; import 'util.dart...
flutter/dev/benchmarks/macrobenchmarks/test/very_long_picture_scrolling_perf_e2e.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/test/very_long_picture_scrolling_perf_e2e.dart", "repo_id": "flutter", "token_count": 463 }
495
// Copyright 2014 The Flutter Authors. 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:integration_test/integration_test_driver.dart' as driver; Future<void> main() => driver.integrationDriver( responseDa...
flutter/dev/benchmarks/macrobenchmarks/test_driver/frame_policy_test.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/test_driver/frame_policy_test.dart", "repo_id": "flutter", "token_count": 401 }
496
// Copyright 2014 The Flutter Authors. All rights 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 '../common.dart'; import 'data/velocity_tracker_data.dart'...
flutter/dev/benchmarks/microbenchmarks/lib/gestures/velocity_tracker_bench.dart/0
{ "file_path": "flutter/dev/benchmarks/microbenchmarks/lib/gestures/velocity_tracker_bench.dart", "repo_id": "flutter", "token_count": 711 }
497
<!-- Copyright 2014 The Flutter Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> <application android:name=".App" android:allowBackup="true" ...
flutter/dev/benchmarks/multiple_flutters/android/app/src/main/AndroidManifest.xml/0
{ "file_path": "flutter/dev/benchmarks/multiple_flutters/android/app/src/main/AndroidManifest.xml", "repo_id": "flutter", "token_count": 426 }
498
name: multiple_flutters_module description: A module that is embedded in the multiple_flutters benchmark test. version: 1.0.0+1 environment: sdk: '>=3.2.0-0 <4.0.0' dependencies: flutter: sdk: flutter cupertino_icons: 1.0.6 google_fonts: 4.0.4 async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE US...
flutter/dev/benchmarks/multiple_flutters/module/pubspec.yaml/0
{ "file_path": "flutter/dev/benchmarks/multiple_flutters/module/pubspec.yaml", "repo_id": "flutter", "token_count": 1093 }
499
// Copyright 2014 The Flutter Authors. 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/material.dart'; void main() { runApp( const PlatformViewApp() ); } class PlatformViewApp extends State...
flutter/dev/benchmarks/platform_views_layout/lib/main_non_intersecting.dart/0
{ "file_path": "flutter/dev/benchmarks/platform_views_layout/lib/main_non_intersecting.dart", "repo_id": "flutter", "token_count": 1097 }
500
# Stocks Demo app for the Material Design widgets and other features provided by Flutter. ## Building You can follow these instructions to build the stocks app and install it onto your device. ### Prerequisites If you are new to Flutter, please first follow the [Flutter Setup](https://flutter.dev/setup/) guide. #...
flutter/dev/benchmarks/test_apps/stocks/README.md/0
{ "file_path": "flutter/dev/benchmarks/test_apps/stocks/README.md", "repo_id": "flutter", "token_count": 362 }
501
#include "Generated.xcconfig"
flutter/dev/benchmarks/test_apps/stocks/ios/Flutter/Debug.xcconfig/0
{ "file_path": "flutter/dev/benchmarks/test_apps/stocks/ios/Flutter/Debug.xcconfig", "repo_id": "flutter", "token_count": 12 }
502
// Copyright 2014 The Flutter 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 FOLLOWING FILES WERE GENERATED BY `flutter gen-l10n`. import 'stock_strings.dart'; /// The translations for English (`en`). class StockStringsEn...
flutter/dev/benchmarks/test_apps/stocks/lib/i18n/stock_strings_en.dart/0
{ "file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/i18n/stock_strings_en.dart", "repo_id": "flutter", "token_count": 264 }
503
// Copyright 2014 The Flutter Authors. All rights 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:stocks/main.dart' as stocks; import 'package:stocks/stock_data.dart' as stock_data; void ...
flutter/dev/benchmarks/test_apps/stocks/test/locale_test.dart/0
{ "file_path": "flutter/dev/benchmarks/test_apps/stocks/test/locale_test.dart", "repo_id": "flutter", "token_count": 272 }
504
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/ast/visitor.dart'; import ...
flutter/dev/bots/custom_rules/avoid_future_catcherror.dart/0
{ "file_path": "flutter/dev/bots/custom_rules/avoid_future_catcherror.dart", "repo_id": "flutter", "token_count": 926 }
505
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file is used by ../analyze_snippet_code_test.dart, which depends on the // precise contents (including especially the comments) of this file. // E...
flutter/dev/bots/test/analyze-snippet-code-test-input/custom_imports_broken.dart/0
{ "file_path": "flutter/dev/bots/test/analyze-snippet-code-test-input/custom_imports_broken.dart", "repo_id": "flutter", "token_count": 183 }
506
// Copyright 2014 The Flutter 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 script removes published archives from the cloud storage and the /// corresponding JSON metadata file that the website uses to determine what /// ...
flutter/dev/bots/unpublish_package.dart/0
{ "file_path": "flutter/dev/bots/unpublish_package.dart", "repo_id": "flutter", "token_count": 6480 }
507
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:args/args.dart'; import 'proto/conductor_state.pb.dart' as pb; import 'repository.dart'; const String gsutilBinary = 'gsutil.py'; const ...
flutter/dev/conductor/core/lib/src/globals.dart/0
{ "file_path": "flutter/dev/conductor/core/lib/src/globals.dart", "repo_id": "flutter", "token_count": 2213 }
508
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'globals.dart' show ConductorException, releaseCandidateBranchRegex; import 'proto/conductor_state.pbenum.dart'; /// Possible string formats that ...
flutter/dev/conductor/core/lib/src/version.dart/0
{ "file_path": "flutter/dev/conductor/core/lib/src/version.dart", "repo_id": "flutter", "token_count": 3649 }
509
// Copyright 2014 The Flutter Authors. 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_devicelab/framework/apk_utils.dart'; import 'package:flutter_devicelab/framework/framework.dart'; import 'packag...
flutter/dev/devicelab/bin/tasks/gradle_java8_compile_test.dart/0
{ "file_path": "flutter/dev/devicelab/bin/tasks/gradle_java8_compile_test.dart", "repo_id": "flutter", "token_count": 1278 }
510
// Copyright 2014 The Flutter Authors. 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_devicelab/framework/framework.dart'; import 'package:flutter_devicelab/framework/task_result.dart'; import 'pack...
flutter/dev/devicelab/bin/tasks/plugin_lint_mac.dart/0
{ "file_path": "flutter/dev/devicelab/bin/tasks/plugin_lint_mac.dart", "repo_id": "flutter", "token_count": 6828 }
511
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'dart:io'; import 'package:flutter_devicelab/framework/framework.dart'; import 'package:flutter_devicelab/framework/task_res...
flutter/dev/devicelab/bin/tasks/technical_debt__cost.dart/0
{ "file_path": "flutter/dev/devicelab/bin/tasks/technical_debt__cost.dart", "repo_id": "flutter", "token_count": 2570 }
512
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:args/command_runner.dart'; import '../framework/runner.dart'; class TestCommand extends Command<void> { TestCommand() { argParser.a...
flutter/dev/devicelab/lib/command/test.dart/0
{ "file_path": "flutter/dev/devicelab/lib/command/test.dart", "repo_id": "flutter", "token_count": 1624 }
513
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:io'; /// Reads through the print commands from [process] waiting for the magic phase /// that con...
flutter/dev/devicelab/lib/microbenchmarks.dart/0
{ "file_path": "flutter/dev/devicelab/lib/microbenchmarks.dart", "repo_id": "flutter", "token_count": 1412 }
514
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert' show LineSplitter, json, utf8; import 'dart:ffi' show Abi; import 'dart:io'; import 'dart:math' as math; import...
flutter/dev/devicelab/lib/tasks/perf_tests.dart/0
{ "file_path": "flutter/dev/devicelab/lib/tasks/perf_tests.dart", "repo_id": "flutter", "token_count": 30529 }
515
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'dart:io'; import 'package:flutter_devicelab/framework/utils.dart' show rm; import 'package:path/path.dart' as path; import ...
flutter/dev/devicelab/test/run_test.dart/0
{ "file_path": "flutter/dev/devicelab/test/run_test.dart", "repo_id": "flutter", "token_count": 2689 }
516
dartdoc: ignore: # The stub `Flutter` package is expected to have no # documentable libraries. - no-documentable-libraries
flutter/dev/docs/dartdoc_options.yaml/0
{ "file_path": "flutter/dev/docs/dartdoc_options.yaml", "repo_id": "flutter", "token_count": 47 }
517
<!-- style overrides for dartdoc --> <style> @import 'https://fonts.googleapis.com/css?family=Roboto:500,400italic,300,400,100i'; @import 'https://fonts.googleapis.com/css?family=Google+Sans:500,400italic,300,400,100i'; @import 'https://fonts.googleapis.com/css?family=Open+Sans:500,400italic,300,400,100i'; @import 'htt...
flutter/dev/docs/styles.html/0
{ "file_path": "flutter/dev/docs/styles.html", "repo_id": "flutter", "token_count": 331 }
518
# App using Android Embedding 2 A new Flutter project using the Android embedding 2. This smoke test uses the following plugins: | Plugin | Android Embedding | |--------------------|-------------------| | battery: 0.3.0+5 | 1 |
flutter/dev/integration_tests/android_embedding_v2_smoke_test/README.md/0
{ "file_path": "flutter/dev/integration_tests/android_embedding_v2_smoke_test/README.md", "repo_id": "flutter", "token_count": 94 }
519
// Copyright 2014 The Flutter Authors. All rights 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 'src/tests/controls_page.dart'; import 'src/tests/headings_page.dart'; import 'src/tests/popup_page.dart'; ...
flutter/dev/integration_tests/android_semantics_testing/lib/main.dart/0
{ "file_path": "flutter/dev/integration_tests/android_semantics_testing/lib/main.dart", "repo_id": "flutter", "token_count": 576 }
520
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_driver/flutter_driver.dart'; import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; Future<void> main() async { late Fl...
flutter/dev/integration_tests/android_views/test_driver/main_test.dart/0
{ "file_path": "flutter/dev/integration_tests/android_views/test_driver/main_test.dart", "repo_id": "flutter", "token_count": 800 }
521
// Copyright 2014 The Flutter Authors. 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 'package:flutter/material.dart'; import 'pair.dart'; enum TestStatus { ok, pending, failed, comple...
flutter/dev/integration_tests/channels/lib/src/test_step.dart/0
{ "file_path": "flutter/dev/integration_tests/channels/lib/src/test_step.dart", "repo_id": "flutter", "token_count": 2002 }
522
<!-- Copyright 2014 The Flutter Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <resources> <!--Begin Deferred Components strings.--> <string name="component1Name">component1</string> <!--End Deferred Components strings.-->...
flutter/dev/integration_tests/deferred_components_test/android/app/src/main/res/values/strings.xml/0
{ "file_path": "flutter/dev/integration_tests/deferred_components_test/android/app/src/main/res/values/strings.xml", "repo_id": "flutter", "token_count": 91 }
523
#!/usr/bin/env bash # Copyright 2014 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Usage: # # ./run_release_test.sh <bundletool.jar path> <adb path> # # In CI, this script currently depends on a modified version of bu...
flutter/dev/integration_tests/deferred_components_test/run_release_test.sh/0
{ "file_path": "flutter/dev/integration_tests/deferred_components_test/run_release_test.sh", "repo_id": "flutter", "token_count": 816 }
524
# flavors Integration test of build flavors (Android product flavors, Xcode schemes).
flutter/dev/integration_tests/flavors/README.md/0
{ "file_path": "flutter/dev/integration_tests/flavors/README.md", "repo_id": "flutter", "token_count": 20 }
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/material.dart'; import 'gallery/app.dart'; Object? createGarbage() { final List<dynamic> garbage = <dynamic>[]; for (int inde...
flutter/dev/integration_tests/flutter_gallery/lib/delayed_main.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/delayed_main.dart", "repo_id": "flutter", "token_count": 324 }
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/cupertino.dart'; import 'package:intl/intl.dart'; import '../../gallery/demo.dart'; import 'cupertino_navigation_demo.dart' show c...
flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_picker_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_picker_demo.dart", "repo_id": "flutter", "token_count": 4199 }
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/material.dart'; import '../../gallery/demo.dart'; class Dessert { Dessert(this.name, this.calories, this.fat, this.carbs, this....
flutter/dev/integration_tests/flutter_gallery/lib/demo/material/data_table_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/data_table_demo.dart", "repo_id": "flutter", "token_count": 5398 }
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/material.dart'; import '../../gallery/demo.dart'; class _PageSelector extends StatelessWidget { const _PageSelector({ this.icon...
flutter/dev/integration_tests/flutter_gallery/lib/demo/material/page_selector_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/page_selector_demo.dart", "repo_id": "flutter", "token_count": 1510 }
529
// Copyright 2014 The Flutter Authors. All rights 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:scoped_model/scoped_model.dart'; import 'colors.dart'; import 'model/app_state_model.dart'; import...
flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/category_menu_page.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/category_menu_page.dart", "repo_id": "flutter", "token_count": 1176 }
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. import 'package:flutter/material.dart'; // A generic widget for a list of selectable colors. @immutable class ColorPicker extends StatelessWidget { cons...
flutter/dev/integration_tests/flutter_gallery/lib/demo/transformations/transformations_demo_color_picker.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/transformations/transformations_demo_color_picker.dart", "repo_id": "flutter", "token_count": 659 }
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 'package:flutter/material.dart'; import 'about.dart'; import 'scales.dart'; @immutable class GalleryOptions { const GalleryOptions({ this.th...
flutter/dev/integration_tests/flutter_gallery/lib/gallery/options.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/gallery/options.dart", "repo_id": "flutter", "token_count": 6777 }
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 'package:flutter/material.dart'; import 'package:flutter_gallery/demo/material/chip_demo.dart'; import 'package:flutter_test/flutter_test.dart'; vo...
flutter/dev/integration_tests/flutter_gallery/test/demo/material/chip_demo_test.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/test/demo/material/chip_demo_test.dart", "repo_id": "flutter", "token_count": 414 }
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 'package:flutter_gallery/demo_lists.dart'; import 'package:flutter_test/flutter_test.dart'; /// The demos ...
flutter/dev/integration_tests/flutter_gallery/test_driver/run_demos.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/test_driver/run_demos.dart", "repo_id": "flutter", "token_count": 1229 }
534
{ "images" : [ { "size" : "24x24", "idiom" : "watch", "scale" : "2x", "role" : "notificationCenter", "subtype" : "38mm" }, { "size" : "27.5x27.5", "idiom" : "watch", "scale" : "2x", "role" : "notificationCenter", "subtype" : "42mm" }, { ...
flutter/dev/integration_tests/ios_app_with_extensions/ios/watch/Assets.xcassets/AppIcon.appiconset/Contents.json/0
{ "file_path": "flutter/dev/integration_tests/ios_app_with_extensions/ios/watch/Assets.xcassets/AppIcon.appiconset/Contents.json", "repo_id": "flutter", "token_count": 902 }
535
# iOS host app Used by the `module_test_ios.dart` device lab test. iOS host app for a Flutter module created using ``` $ flutter create -t module hello ``` and placed in a sibling folder to (a clone of) the host app. `flutterapp/lib/marquee.dart` and `flutterapp/lib/main.dart` must be copied into the new module `lib`...
flutter/dev/integration_tests/ios_host_app/README.md/0
{ "file_path": "flutter/dev/integration_tests/ios_host_app/README.md", "repo_id": "flutter", "token_count": 377 }
536
# ios_platform_view_test A simple app contains: * A home with a button that pushes a new page into the scene. * A page contains a platform view, a button, and a text. * Press the button will update the text. We use this app to test platform views in general such as platform view creation, destruction, and thread...
flutter/dev/integration_tests/ios_platform_view_tests/README.md/0
{ "file_path": "flutter/dev/integration_tests/ios_platform_view_tests/README.md", "repo_id": "flutter", "token_count": 90 }
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_driver/flutter_driver.dart'; import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; void main() { group('FlutterDriver...
flutter/dev/integration_tests/ios_platform_view_tests/test_driver/main_test.dart/0
{ "file_path": "flutter/dev/integration_tests/ios_platform_view_tests/test_driver/main_test.dart", "repo_id": "flutter", "token_count": 888 }
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 'dart:collection'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import '../codeviewer/code_displayer.dart'; im...
flutter/dev/integration_tests/new_gallery/lib/data/demos.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/data/demos.dart", "repo_id": "flutter", "token_count": 25527 }
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. import 'package:flutter/cupertino.dart'; import '../../gallery_localizations.dart'; // BEGIN cupertinoNavigationDemo class _TabInfo { const _TabInfo(t...
flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_tab_bar_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_tab_bar_demo.dart", "repo_id": "flutter", "token_count": 1036 }
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. enum BottomNavigationDemoType { withLabels, withoutLabels, } enum BottomSheetDemoType { persistent, modal, } enum ButtonDemoType { text, elev...
flutter/dev/integration_tests/new_gallery/lib/demos/material/material_demo_types.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/material_demo_types.dart", "repo_id": "flutter", "token_count": 384 }
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:animations/animations.dart'; import 'package:flutter/material.dart'; import '../../gallery_localizations.dart'; // BEGIN fadeThroughTransi...
flutter/dev/integration_tests/new_gallery/lib/demos/reference/motion_demo_fade_through_transition.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/reference/motion_demo_fade_through_transition.dart", "repo_id": "flutter", "token_count": 2824 }
542
// Copyright 2014 The Flutter Authors. 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:dual_screen/dual_screen.dart'; import 'package:flutter/material.dart'; import '../constants.dart'; import '../gallery...
flutter/dev/integration_tests/new_gallery/lib/pages/splash.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/pages/splash.dart", "repo_id": "flutter", "token_count": 3733 }
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 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; import '../../layout/letter_spacing.dart'; import 'colors.dart'; ...
flutter/dev/integration_tests/new_gallery/lib/studies/crane/theme.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/crane/theme.dart", "repo_id": "flutter", "token_count": 1238 }
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/widgets.dart'; import '../../../gallery_localizations.dart'; import '../charts/pie_chart.dart'; import '../data.dart'; import '../...
flutter/dev/integration_tests/new_gallery/lib/studies/rally/tabs/bills.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/rally/tabs/bills.dart", "repo_id": "flutter", "token_count": 552 }
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/material.dart'; import 'package:flutter/rendering.dart'; import 'package:intl/intl.dart'; import 'package:scoped_model/scoped_model...
flutter/dev/integration_tests/new_gallery/lib/studies/shrine/shopping_cart.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/shopping_cart.dart", "repo_id": "flutter", "token_count": 7512 }
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 'package:collection/collection.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:gallery/data/demos.dart'; import 'package:gal...
flutter/dev/integration_tests/new_gallery/test/demo_descriptions_test.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/test/demo_descriptions_test.dart", "repo_id": "flutter", "token_count": 794 }
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 'package:flutter/material.dart'; import 'package:flutter_driver/driver_extension.dart'; import 'keys.dart' as keys; void main() { enableFlutterD...
flutter/dev/integration_tests/ui/lib/keyboard_textfield.dart/0
{ "file_path": "flutter/dev/integration_tests/ui/lib/keyboard_textfield.dart", "repo_id": "flutter", "token_count": 904 }
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:async'; import 'package:flutter_driver/flutter_driver.dart'; import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; void main() { ...
flutter/dev/integration_tests/ui/test_driver/driver_test.dart/0
{ "file_path": "flutter/dev/integration_tests/ui/test_driver/driver_test.dart", "repo_id": "flutter", "token_count": 1387 }
549
// Copyright 2014 The Flutter Authors. All rights 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'; Future<void> main() async { runApp(const Directionality( textDirection: TextDirection.ltr, child: Scaffo...
flutter/dev/integration_tests/web/lib/service_worker_test_cached_resources.dart/0
{ "file_path": "flutter/dev/integration_tests/web/lib/service_worker_test_cached_resources.dart", "repo_id": "flutter", "token_count": 219 }
550
// Copyright 2014 The Flutter Authors. All rights 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'; final GlobalKey<NavigatorState> navKey = GlobalKey(debugLabel: 'mainNavigator'); Map<String, WidgetBuilder>? appRo...
flutter/dev/integration_tests/web_e2e_tests/lib/url_strategy_main.dart/0
{ "file_path": "flutter/dev/integration_tests/web_e2e_tests/lib/url_strategy_main.dart", "repo_id": "flutter", "token_count": 307 }
551
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:html' as html; import 'dart:ui' as ui; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test...
flutter/dev/integration_tests/web_e2e_tests/test_driver/url_strategy_integration.dart/0
{ "file_path": "flutter/dev/integration_tests/web_e2e_tests/test_driver/url_strategy_integration.dart", "repo_id": "flutter", "token_count": 1760 }
552
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_driver/flutter_driver.dart'; import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; void main() { test('Windows app sta...
flutter/dev/integration_tests/windows_startup_test/test_driver/main_test.dart/0
{ "file_path": "flutter/dev/integration_tests/windows_startup_test/test_driver/main_test.dart", "repo_id": "flutter", "token_count": 360 }
553
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/material.dart'; class ExampleDragTarget extends StatefulWidget { const ExampleDragTarget({super.key...
flutter/dev/manual_tests/lib/drag_and_drop.dart/0
{ "file_path": "flutter/dev/manual_tests/lib/drag_and_drop.dart", "repo_id": "flutter", "token_count": 3508 }
554
{ "version": "v0_206", "md.comp.outlined-button.container.height": 40.0, "md.comp.outlined-button.container.shape": "md.sys.shape.corner.full", "md.comp.outlined-button.disabled.label-text.color": "onSurface", "md.comp.outlined-button.disabled.label-text.opacity": 0.38, "md.comp.outlined-button.disabled.ou...
flutter/dev/tools/gen_defaults/data/button_outlined.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/button_outlined.json", "repo_id": "flutter", "token_count": 838 }
555
{ "version": "v0_206", "md.comp.dialog.action.focus.label-text.color": "primary", "md.comp.dialog.action.focus.state-layer.color": "primary", "md.comp.dialog.action.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity", "md.comp.dialog.action.hover.label-text.color": "primary", "md.comp.dial...
flutter/dev/tools/gen_defaults/data/dialog.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/dialog.json", "repo_id": "flutter", "token_count": 515 }
556
{ "version": "v0_206", "md.comp.navigation-drawer.active.focus.icon.color": "onSecondaryContainer", "md.comp.navigation-drawer.active.focus.label-text.color": "onSecondaryContainer", "md.comp.navigation-drawer.active.focus.state-layer.color": "onSecondaryContainer", "md.comp.navigation-drawer.active.hover.ic...
flutter/dev/tools/gen_defaults/data/navigation_drawer.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/navigation_drawer.json", "repo_id": "flutter", "token_count": 1324 }
557
{ "version": "v0_206", "md.comp.switch.disabled.selected.handle.color": "surface", "md.comp.switch.disabled.selected.handle.opacity": 1.0, "md.comp.switch.disabled.selected.icon.color": "onSurface", "md.comp.switch.disabled.selected.icon.opacity": 0.38, "md.comp.switch.disabled.selected.track.color": "onSu...
flutter/dev/tools/gen_defaults/data/switch.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/switch.json", "repo_id": "flutter", "token_count": 1704 }
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 'template.dart'; class ButtonTemplate extends TokenTemplate { const ButtonTemplate(this.tokenGroup, super.blockName, super.fileName, super.tokens...
flutter/dev/tools/gen_defaults/lib/button_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/button_template.dart", "repo_id": "flutter", "token_count": 1854 }
559
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'template.dart'; class MenuTemplate extends TokenTemplate { const MenuTemplate(super.blockName, super.fileName, super.tokens, { super.colorSc...
flutter/dev/tools/gen_defaults/lib/menu_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/menu_template.dart", "repo_id": "flutter", "token_count": 3164 }
560
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'token_logger.dart'; /// Base class for code generation templates. abstract class TokenTemplate { const TokenTemplate(this.blo...
flutter/dev/tools/gen_defaults/lib/template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/template.dart", "repo_id": "flutter", "token_count": 3468 }
561
{ "AltLeft": ["LEFT_ALT"], "AltRight": ["RIGHT_ALT"], "ArrowDown": ["DOWN"], "ArrowLeft": ["LEFT"], "ArrowRight": ["RIGHT"], "ArrowUp": ["UP"], "Backquote": ["GRAVE_ACCENT"], "Backslash": ["BACKSLASH"], "Backspace": ["BACKSPACE"], "BracketLeft": ["LEFT_BRACKET"], "BracketRight": ["RIGHT_BRACKET"],...
flutter/dev/tools/gen_keycodes/data/glfw_key_name_to_name.json/0
{ "file_path": "flutter/dev/tools/gen_keycodes/data/glfw_key_name_to_name.json", "repo_id": "flutter", "token_count": 1281 }
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:path/path.dart' as path; import 'base_code_gen.dart'; import 'constants.dart'; import 'data.dart'; import 'logical_key_data.dart'; import ...
flutter/dev/tools/gen_keycodes/lib/ios_code_gen.dart/0
{ "file_path": "flutter/dev/tools/gen_keycodes/lib/ios_code_gen.dart", "repo_id": "flutter", "token_count": 2139 }
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. // This program updates the language locale arb files with any missing resource // entries that are included in the English arb files. This is useful when ...
flutter/dev/tools/localization/bin/gen_missing_localizations.dart/0
{ "file_path": "flutter/dev/tools/localization/bin/gen_missing_localizations.dart", "repo_id": "flutter", "token_count": 2033 }
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 'dart:io'; import 'package:args/args.dart'; import 'package:vitool/vitool.dart'; const String kCodegenComment = '// AUTOGENERATED FILE DO NOT ED...
flutter/dev/tools/vitool/bin/main.dart/0
{ "file_path": "flutter/dev/tools/vitool/bin/main.dart", "repo_id": "flutter", "token_count": 1011 }
565
BasedOnStyle: Google --- Language: Cpp DerivePointerAlignment: false PointerAlignment: Left
flutter/examples/.clang-format/0
{ "file_path": "flutter/examples/.clang-format", "repo_id": "flutter", "token_count": 29 }
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/cupertino.dart'; /// Flutter code sample for [CupertinoButton]. void main() => runApp(const CupertinoButtonApp()); class Cuperti...
flutter/examples/api/lib/cupertino/button/cupertino_button.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/button/cupertino_button.0.dart", "repo_id": "flutter", "token_count": 734 }
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/cupertino.dart'; /// Flutter code sample for [CupertinoSliverRefreshControl]. void main() => runApp(const RefreshControlApp()); ...
flutter/examples/api/lib/cupertino/refresh/cupertino_sliver_refresh_control.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/refresh/cupertino_sliver_refresh_control.0.dart", "repo_id": "flutter", "token_count": 966 }
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/gestures.dart'; import 'package:flutter/material.dart'; /// Flutter code sample for [TapAndPanGestureRecognizer]. void main() { ...
flutter/examples/api/lib/gestures/tap_and_drag/tap_and_drag.0.dart/0
{ "file_path": "flutter/examples/api/lib/gestures/tap_and_drag/tap_and_drag.0.dart", "repo_id": "flutter", "token_count": 1704 }
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 [Autocomplete]. void main() => runApp(const AutocompleteExampleApp()); class Autocom...
flutter/examples/api/lib/material/autocomplete/autocomplete.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/autocomplete/autocomplete.1.dart", "repo_id": "flutter", "token_count": 897 }
570
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Card]. void main() => runApp(const CardExampleApp()); class CardExampleApp extends ...
flutter/examples/api/lib/material/card/card.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/card/card.1.dart", "repo_id": "flutter", "token_count": 555 }
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 example demonstrates showing a custom context menu only when some // narrowly defined text is selected. import 'package:flutter/foundation.dart'; ...
flutter/examples/api/lib/material/context_menu/editable_text_toolbar_builder.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/context_menu/editable_text_toolbar_builder.1.dart", "repo_id": "flutter", "token_count": 1511 }
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 [Divider]. void main() => runApp(const DividerExampleApp()); class DividerExampleApp...
flutter/examples/api/lib/material/divider/divider.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/divider/divider.1.dart", "repo_id": "flutter", "token_count": 559 }
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 [FilledButton]. void main() { runApp(const FilledButtonApp()); } class FilledButto...
flutter/examples/api/lib/material/filled_button/filled_button.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/filled_button/filled_button.0.dart", "repo_id": "flutter", "token_count": 968 }
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'; /// Flutter code sample for [InputDecoration]. void main() => runApp(const InputDecorationExampleApp()); class I...
flutter/examples/api/lib/material/input_decorator/input_decoration.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/input_decorator/input_decoration.0.dart", "repo_id": "flutter", "token_count": 377 }
575
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ListTile]. void main() => runApp(const ListTileApp()); class ListTileApp extends St...
flutter/examples/api/lib/material/list_tile/list_tile.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/list_tile/list_tile.0.dart", "repo_id": "flutter", "token_count": 2352 }
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/services.dart'; /// Flutter code sample for [RadioMenuButton]. void main() => runApp(cons...
flutter/examples/api/lib/material/menu_anchor/radio_menu_button.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/menu_anchor/radio_menu_button.0.dart", "repo_id": "flutter", "token_count": 1485 }
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'; /// Flutter code sample for [PopupMenuButton]. void main() => runApp(const PopupMenuApp()); class PopupMenuApp e...
flutter/examples/api/lib/material/popup_menu/popup_menu.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/popup_menu/popup_menu.2.dart", "repo_id": "flutter", "token_count": 2529 }
578