text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
/* * Copyright 2019 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.samples; import com.google.common.collect.Lists; import org.junit.Test; import static org.junit.Assert.assertFalse; import stat...
flutter-intellij/flutter-idea/testSrc/unit/io/flutter/samples/FlutterSampleNotificationProviderTest.java/0
{ "file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/samples/FlutterSampleNotificationProviderTest.java", "repo_id": "flutter-intellij", "token_count": 430 }
469
/* * Copyright 2021 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.utils; import org.junit.Test; import java.awt.*; import java.io.File; import java.io.IOException; import java.nio.file.Files; i...
flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/IconPreviewGeneratorTest.java/0
{ "file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/IconPreviewGeneratorTest.java", "repo_id": "flutter-intellij", "token_count": 558 }
470
/* * 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/Breakpoint.java/0
{ "file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Breakpoint.java", "repo_id": "flutter-intellij", "token_count": 740 }
471
package org.dartlang.vm.service.element; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonNull; import com.google.gson.JsonObject; import java.util.ArrayList; import java.util.List; /** * Superclass for all observatory elements. */ public class Element { protected ...
flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Element.java/0
{ "file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Element.java", "repo_id": "flutter-intellij", "token_count": 960 }
472
/* * 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/ErrorRequestSink.java/0
{ "file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/internal/ErrorRequestSink.java", "repo_id": "flutter-intellij", "token_count": 653 }
473
/* * Copyright 2021 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.utils; import static com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.getChildren; import static com.intellij.ope...
flutter-intellij/flutter-studio/src/io/flutter/utils/GradleUtils.java/0
{ "file_path": "flutter-intellij/flutter-studio/src/io/flutter/utils/GradleUtils.java", "repo_id": "flutter-intellij", "token_count": 7925 }
474
/* * Copyright 2017 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.tests.gui; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertEquals; import com.andr...
flutter-intellij/flutter-studio/testSrc/io/flutter/tests/gui/NewProjectTest.java/0
{ "file_path": "flutter-intellij/flutter-studio/testSrc/io/flutter/tests/gui/NewProjectTest.java", "repo_id": "flutter-intellij", "token_count": 2183 }
475
<!-- Defines IDEA IDE-specific contributions and implementations. --> <idea-plugin> <extensions defaultExtensionNs="com.intellij"> <editorNotificationProvider implementation="io.flutter.inspections.IncompatibleDartPluginNotificationProvider"/> </extensions> </idea-plugin>
flutter-intellij/resources/META-INF/idea-contribs.xml/0
{ "file_path": "flutter-intellij/resources/META-INF/idea-contribs.xml", "repo_id": "flutter-intellij", "token_count": 80 }
476
# Generated file - do not edit. # suppress inspection "UnusedProperty" for whole file amber.primary=ffffc107 amber[50]=fffff8e1 amber[100]=ffffecb3 amber[200]=ffffe082 amber[300]=ffffd54f amber[400]=ffffca28 amber[500]=ffffc107 amber[600]=ffffb300 amber[700]=ffffa000 amber[800]=ffff8f00 amber[900]=ffff6f00 amberAccen...
flutter-intellij/resources/flutter/colors/material.properties/0
{ "file_path": "flutter-intellij/resources/flutter/colors/material.properties", "repo_id": "flutter-intellij", "token_count": 3222 }
477
<toolSet name="External Tools"> <tool name="Provision" showInMainMenu="false" showInEditor="false" showInProject="false" showInSearchPopup="false" disabled="false" useConsole="true" showConsoleOnStdOut="false" showConsoleOnStdErr="false" synchronizeAfterRun="true"> <exec> <option name="COMMAND" value="/bin/...
flutter-intellij/resources/intellij/External Tools.xml/0
{ "file_path": "flutter-intellij/resources/intellij/External Tools.xml", "repo_id": "flutter-intellij", "token_count": 175 }
478
#!/bin/sh # # Copyright © 2015-2021 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
flutter-intellij/third_party/gradlew/0
{ "file_path": "flutter-intellij/third_party/gradlew", "repo_id": "flutter-intellij", "token_count": 3204 }
479
include: package:lints/recommended.yaml linter: rules: - directives_ordering - unawaited_futures
flutter-intellij/tool/plugin/analysis_options.yaml/0
{ "file_path": "flutter-intellij/tool/plugin/analysis_options.yaml", "repo_id": "flutter-intellij", "token_count": 41 }
480
## Flutter SDK dependency versions The files in this directory specifies pinned versions of various dependencies of the flutter SDK. The `bin/internal/engine.version` file controls which version of the Flutter engine to use. The file contains the commit hash of a commit in the <https://github.com/flutter/engine> repo...
flutter/bin/internal/README.md/0
{ "file_path": "flutter/bin/internal/README.md", "repo_id": "flutter", "token_count": 346 }
481
#!/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. # ---------------------------------- NOTE ---------------------------------- # # # Please keep the logic in this file consistent with the ...
flutter/bin/internal/shared.sh/0
{ "file_path": "flutter/bin/internal/shared.sh", "repo_id": "flutter", "token_count": 3852 }
482
#include "Generated.xcconfig"
flutter/dev/a11y_assessments/ios/Flutter/Debug.xcconfig/0
{ "file_path": "flutter/dev/a11y_assessments/ios/Flutter/Debug.xcconfig", "repo_id": "flutter", "token_count": 12 }
483
// Copyright 2014 The Flutter Authors. All rights 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 'use_cases.dart'; class TextFieldUseCase extends UseCase { @override String get name => 'TextField'; ...
flutter/dev/a11y_assessments/lib/use_cases/text_field.dart/0
{ "file_path": "flutter/dev/a11y_assessments/lib/use_cases/text_field.dart", "repo_id": "flutter", "token_count": 608 }
484
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:a11y_assessments/use_cases/text_button.dart'; import 'package:flutter_test/flutter_test.dart'; import 'test_utils.dart'; void main() { ...
flutter/dev/a11y_assessments/test/text_button_test.dart/0
{ "file_path": "flutter/dev/a11y_assessments/test/text_button_test.dart", "repo_id": "flutter", "token_count": 179 }
485
// Copyright 2014 The Flutter Authors. All rights 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 'common.dart'; import 'src/animated_advanced_blend.dart'; import 'src/animated_blur_backdrop_filter.dart'; ...
flutter/dev/benchmarks/macrobenchmarks/lib/main.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/main.dart", "repo_id": "flutter", "token_count": 7162 }
486
// Copyright 2014 The Flutter Authors. 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:typed_data'; import 'dart:ui'; import 'package:flutter/material.dart'; class DrawPointsPage extends StatefulWidget { const DrawPointsPage...
flutter/dev/benchmarks/macrobenchmarks/lib/src/draw_points.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/draw_points.dart", "repo_id": "flutter", "token_count": 827 }
487
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/material.dart'; import 'picture_cache.dart'; class ShaderMaskCachePage extends StatefulWidget { const Shade...
flutter/dev/benchmarks/macrobenchmarks/lib/src/shader_mask_cache.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/shader_mask_cache.dart", "repo_id": "flutter", "token_count": 907 }
488
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:js_interop'; import 'dart:typed_data'; import 'dart:ui' as ui; import 'package:web/web.dart' as web; import 'recorder.dart'; // Measures th...
flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_image_decoding.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_image_decoding.dart", "repo_id": "flutter", "token_count": 1153 }
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 'dart:async'; import 'dart:js_interop'; import 'dart:math' as math; import 'dart:ui'; import 'dart:ui_web' as ui_web; import 'package:flutter/found...
flutter/dev/benchmarks/macrobenchmarks/lib/src/web/recorder.dart/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/recorder.dart", "repo_id": "flutter", "token_count": 13840 }
490
#include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig"
flutter/dev/benchmarks/macrobenchmarks/macos/Runner/Configs/Release.xcconfig/0
{ "file_path": "flutter/dev/benchmarks/macrobenchmarks/macos/Runner/Configs/Release.xcconfig", "repo_id": "flutter", "token_count": 32 }
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:ui'; import '../common.dart'; const int _kNumIters = 10000; void main() { assert(false, "Don't run benchmarks in debug mode! Use 'flutter...
flutter/dev/benchmarks/microbenchmarks/lib/geometry/rrect_contains_bench.dart/0
{ "file_path": "flutter/dev/benchmarks/microbenchmarks/lib/geometry/rrect_contains_bench.dart", "repo_id": "flutter", "token_count": 308 }
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. include ':app' rootProject.name = "Multiple Flutters" setBinding(new Binding([gradle: this])) // new evaluate(new File( ...
flutter/dev/benchmarks/multiple_flutters/android/settings.gradle/0
{ "file_path": "flutter/dev/benchmarks/multiple_flutters/android/settings.gradle", "repo_id": "flutter", "token_count": 275 }
493
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> <key>CFBundleDevelopmentRegion</key> <string>$(DEVELOPMENT_LANGUAGE)</string> <key>CFBun...
flutter/dev/benchmarks/platform_views_layout/ios/Runner/Info.plist/0
{ "file_path": "flutter/dev/benchmarks/platform_views_layout/ios/Runner/Info.plist", "repo_id": "flutter", "token_count": 691 }
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. package dev.benchmarks.platform_views_layout_hybrid_composition; import android.content.Context; import android.graphics.Color; import android.view.View; ...
flutter/dev/benchmarks/platform_views_layout_hybrid_composition/android/app/src/main/java/dev/bechmarks/platform_views_layout/DummyPlatformView.java/0
{ "file_path": "flutter/dev/benchmarks/platform_views_layout_hybrid_composition/android/app/src/main/java/dev/bechmarks/platform_views_layout/DummyPlatformView.java", "repo_id": "flutter", "token_count": 298 }
495
# Options used by the localizations tool ## `arb-dir` sets the input directory. The output directory will match ## the input directory if the output directory is not set. arb-dir: lib/i18n ## `header-file` is the file that contains a custom ## header for each of the generated files. header-file: header.txt ## `output-c...
flutter/dev/benchmarks/test_apps/stocks/l10n.yaml/0
{ "file_path": "flutter/dev/benchmarks/test_apps/stocks/l10n.yaml", "repo_id": "flutter", "token_count": 270 }
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/material.dart'; import 'stock_arrow.dart'; import 'stock_data.dart'; class _StockSymbolView extends StatelessWidget { const _St...
flutter/dev/benchmarks/test_apps/stocks/lib/stock_symbol_viewer.dart/0
{ "file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/stock_symbol_viewer.dart", "repo_id": "flutter", "token_count": 2029 }
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. import 'dart:async'; import 'dart:io' as io; import 'package:flutter_devicelab/framework/browser.dart'; import 'package:shelf/shelf.dart'; import 'package...
flutter/dev/bots/browser.dart/0
{ "file_path": "flutter/dev/bots/browser.dart", "repo_id": "flutter", "token_count": 1283 }
498
// Copyright 2014 The Flutter Authors. 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:core' hide print; import 'dart:io' hide exit; import 'package:path/path.dart' as path; import 'package:shelf/shelf.dart'; import 'browser.da...
flutter/dev/bots/service_worker_test.dart/0
{ "file_path": "flutter/dev/bots/service_worker_test.dart", "repo_id": "flutter", "token_count": 11589 }
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. /// Sample Code /// /// Should not be tag-enforced, no analysis failures should be found. /// /// {@tool snippet} /// Sample invocations of [matchesGoldenF...
flutter/dev/bots/test/analyze-test-input/root/packages/foo/golden_doc.dart/0
{ "file_path": "flutter/dev/bots/test/analyze-test-input/root/packages/foo/golden_doc.dart", "repo_id": "flutter", "token_count": 306 }
500
// Copyright 2014 The Flutter Authors. 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:path/path.dart' as path; import 'common.dart'; void main() { test('We are in a directory with a space in it', () asy...
flutter/dev/bots/test/sdk_directory_has_space_test.dart/0
{ "file_path": "flutter/dev/bots/test/sdk_directory_has_space_test.dart", "repo_id": "flutter", "token_count": 268 }
501
// Copyright 2014 The Flutter Authors. All 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 'package:args/command_runner.dart'; import 'package:file/file.dart'; import './git.dart'; import './globals.dart' ...
flutter/dev/conductor/core/lib/src/candidates.dart/0
{ "file_path": "flutter/dev/conductor/core/lib/src/candidates.dart", "repo_id": "flutter", "token_count": 1133 }
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. import 'package:args/args.dart'; import 'package:args/command_runner.dart'; import 'package:file/file.dart'; import 'package:fixnum/fixnum.dart'; import 'p...
flutter/dev/conductor/core/lib/src/start.dart/0
{ "file_path": "flutter/dev/conductor/core/lib/src/start.dart", "repo_id": "flutter", "token_count": 5343 }
503
@ECHO off REM Copyright 2014 The Flutter Authors. All rights reserved. REM Use of this source code is governed by a BSD-style license that can be REM found in the LICENSE file. REM This should match the ci.sh file in this directory. REM This is called from the LUCI recipes: REM https://flutter.googlesource.com/recipe...
flutter/dev/customer_testing/ci.bat/0
{ "file_path": "flutter/dev/customer_testing/ci.bat", "repo_id": "flutter", "token_count": 386 }
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:flutter_devicelab/framework/apk_utils.dart'; import 'package:flutter_devicelab/framework/framework.dart'; import 'package:flutter_devicelab...
flutter/dev/devicelab/bin/tasks/android_obfuscate_test.dart/0
{ "file_path": "flutter/dev/devicelab/bin/tasks/android_obfuscate_test.dart", "repo_id": "flutter", "token_count": 1797 }
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. import 'dart:io'; import 'package:flutter_devicelab/framework/devices.dart'; import 'package:flutter_devicelab/framework/framework.dart'; import 'package:...
flutter/dev/devicelab/bin/tasks/flutter_engine_group_performance.dart/0
{ "file_path": "flutter/dev/devicelab/bin/tasks/flutter_engine_group_performance.dart", "repo_id": "flutter", "token_count": 1668 }
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. import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'package:flutter_devicelab/framework/framework.dart'; import 'package:flutter_devicel...
flutter/dev/devicelab/bin/tasks/flutter_gallery_v2_chrome_run_test.dart/0
{ "file_path": "flutter/dev/devicelab/bin/tasks/flutter_gallery_v2_chrome_run_test.dart", "repo_id": "flutter", "token_count": 1249 }
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 'dart:io'; import 'package:meta/meta.dart'; import 'package:process/process.dart'; @immutable class RunningProcessInfo { const RunningProcessInf...
flutter/dev/devicelab/lib/framework/running_processes.dart/0
{ "file_path": "flutter/dev/devicelab/lib/framework/running_processes.dart", "repo_id": "flutter", "token_count": 2867 }
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 '../framework/devices.dart'; import '../framework/framework.dart'; import '../framework/talkback.dart'; import '../framework/task_result.dart'; impo...
flutter/dev/devicelab/lib/tasks/integration_tests.dart/0
{ "file_path": "flutter/dev/devicelab/lib/tasks/integration_tests.dart", "repo_id": "flutter", "token_count": 2724 }
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:convert' show jsonDecode; // JSON Event samples taken from running an instrumented version of the // integration tests of this package that d...
flutter/dev/devicelab/test/framework/browser_test_json_samples.dart/0
{ "file_path": "flutter/dev/devicelab/test/framework/browser_test_json_samples.dart", "repo_id": "flutter", "token_count": 1111 }
510
window.ApiSurveyDocs = function(apiPages) { var url = window.location.href; var fragments = url.split('/'); if (fragments == null || fragments.length == 0) { return; } var classFragment = fragments[fragments.length -1]; if (classFragment == null) { return; } var apiDocClassFragments = classFragm...
flutter/dev/docs/assets/api_survey.js/0
{ "file_path": "flutter/dev/docs/assets/api_survey.js", "repo_id": "flutter", "token_count": 336 }
511
name: platform_integration environment: sdk: '>=3.2.0-0 <4.0.0'
flutter/dev/docs/platform_integration/pubspec.yaml/0
{ "file_path": "flutter/dev/docs/platform_integration/pubspec.yaml", "repo_id": "flutter", "token_count": 33 }
512
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-REPLACEME-all.zip
flutter/dev/integration_tests/android_host_app_v2_embedding/gradle/wrapper/gradle-wrapper.properties/0
{ "file_path": "flutter/dev/integration_tests/android_host_app_v2_embedding/gradle/wrapper/gradle-wrapper.properties", "repo_id": "flutter", "token_count": 73 }
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:io' show Platform; import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'src/basic_messaging.dart';...
flutter/dev/integration_tests/channels/lib/main.dart/0
{ "file_path": "flutter/dev/integration_tests/channels/lib/main.dart", "repo_id": "flutter", "token_count": 2759 }
514
#!/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. mkdir customassets curl https://raw.githubusercontent.com/flutter/goldens/0fbd6c5d30ec714ffefd63b47910aee7debd2e7e/dev/integration_tests/a...
flutter/dev/integration_tests/deferred_components_test/download_assets.sh/0
{ "file_path": "flutter/dev/integration_tests/deferred_components_test/download_assets.sh", "repo_id": "flutter", "token_count": 295 }
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 "AppDelegate.h" #import "GeneratedPluginRegistrant.h" @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunc...
flutter/dev/integration_tests/flavors/ios/Runner/AppDelegate.m/0
{ "file_path": "flutter/dev/integration_tests/flavors/ios/Runner/AppDelegate.m", "repo_id": "flutter", "token_count": 281 }
516
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>$(DEVELOPMENT_LANGUAGE)</string> <key>CFBundleDisplayName</key> <string>$(PRODUCT_NAME)</string> <k...
flutter/dev/integration_tests/flavors/macos/Runner/Info.plist/0
{ "file_path": "flutter/dev/integration_tests/flavors/macos/Runner/Info.plist", "repo_id": "flutter", "token_count": 477 }
517
// Copyright 2014 The Flutter Authors. All rights 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/demo.dart'; class CupertinoProgressIndicatorDemo extends StatelessWidget { const Cuperti...
flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_activity_indicator_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_activity_indicator_demo.dart", "repo_id": "flutter", "token_count": 333 }
518
// Copyright 2014 The Flutter Authors. All rights 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 NavigationIconView { NavigationIconView({ required Widget icon, ...
flutter/dev/integration_tests/flutter_gallery/lib/demo/material/bottom_navigation_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/bottom_navigation_demo.dart", "repo_id": "flutter", "token_count": 2855 }
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. export 'backdrop_demo.dart'; export 'banner_demo.dart'; export 'bottom_app_bar_demo.dart'; export 'bottom_navigation_demo.dart'; export 'buttons_demo.dart'...
flutter/dev/integration_tests/flutter_gallery/lib/demo/material/material.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/material.dart", "repo_id": "flutter", "token_count": 494 }
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/material.dart'; import '../../gallery/demo.dart'; const String _introText = 'Tooltips are short identifying messages that brief...
flutter/dev/integration_tests/flutter_gallery/lib/demo/material/tooltip_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/tooltip_demo.dart", "repo_id": "flutter", "token_count": 1328 }
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 'package:flutter/material.dart'; import '../model/product.dart'; import 'product_card.dart'; class TwoProductCardColumn extends StatelessWidget { ...
flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/supplemental/product_columns.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/supplemental/product_columns.dart", "repo_id": "flutter", "token_count": 974 }
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. // This code is not runnable, it contains code snippets displayed in the Gallery. import 'package:flutter/material.dart'; class ButtonsDemo { void setS...
flutter/dev/integration_tests/flutter_gallery/lib/gallery/example_code.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/lib/gallery/example_code.dart", "repo_id": "flutter", "token_count": 1957 }
523
// Copyright 2014 The Flutter Authors. All rights 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/demo/calculator/logic.dart'; import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; void main() { test('Test o...
flutter/dev/integration_tests/flutter_gallery/test/calculator/logic.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/test/calculator/logic.dart", "repo_id": "flutter", "token_count": 1201 }
524
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_gallery/gallery/app.d...
flutter/dev/integration_tests/flutter_gallery/test/smoke_test.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/test/smoke_test.dart", "repo_id": "flutter", "token_count": 2662 }
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. // See //dev/devicelab/bin/tasks/flutter_gallery__memory_nav.dart import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; import ...
flutter/dev/integration_tests/flutter_gallery/test_memory/back_button.dart/0
{ "file_path": "flutter/dev/integration_tests/flutter_gallery/test_memory/back_button.dart", "repo_id": "flutter", "token_count": 367 }
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 "AppDelegate.h" #import "MainViewController.h" @implementation GREYHostApplicationDistantObject (AppDelegate) - (NSNotificationCenter *)notificat...
flutter/dev/integration_tests/ios_add2app_life_cycle/ios_add2app/AppDelegate.m/0
{ "file_path": "flutter/dev/integration_tests/ios_add2app_life_cycle/ios_add2app/AppDelegate.m", "repo_id": "flutter", "token_count": 347 }
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. // // ExtensionDelegate.swift // watch Extension // // Created by Georg Wechslberger on 08.04.20. // import WatchKit class ExtensionDelegate: NSObject...
flutter/dev/integration_tests/ios_app_with_extensions/ios/watch Extension/ExtensionDelegate.swift/0
{ "file_path": "flutter/dev/integration_tests/ios_app_with_extensions/ios/watch Extension/ExtensionDelegate.swift", "repo_id": "flutter", "token_count": 1055 }
528
<?xml version="1.0" encoding="UTF-8"?> <Workspace version = "1.0"> <FileRef location = "group:Host.xcodeproj"> </FileRef> <FileRef location = "group:Pods/Pods.xcodeproj"> </FileRef> </Workspace>
flutter/dev/integration_tests/ios_host_app/Host.xcworkspace/contents.xcworkspacedata/0
{ "file_path": "flutter/dev/integration_tests/ios_host_app/Host.xcworkspace/contents.xcworkspacedata", "repo_id": "flutter", "token_count": 103 }
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 <UIKit/UIKit.h> @protocol NativeViewControllerDelegate /// Triggered when the increment button from the NativeViewController is tapped. -(void)did...
flutter/dev/integration_tests/ios_host_app/Host/NativeViewController.h/0
{ "file_path": "flutter/dev/integration_tests/ios_host_app/Host/NativeViewController.h", "repo_id": "flutter", "token_count": 182 }
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 "ViewFactory.h" @interface PlatformView: NSObject<FlutterPlatformView> @property (strong, nonatomic) UIView *platformView; @end @implementation...
flutter/dev/integration_tests/ios_platform_view_tests/ios/Runner/ViewFactory.m/0
{ "file_path": "flutter/dev/integration_tests/ios_platform_view_tests/ios/Runner/ViewFactory.m", "repo_id": "flutter", "token_count": 251 }
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/cupertino.dart'; import 'package:flutter/material.dart'; import '../../gallery_localizations.dart'; // BEGIN cupertinoSearchTextFi...
flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_search_text_field_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_search_text_field_demo.dart", "repo_id": "flutter", "token_count": 1295 }
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 '../../gallery_localizations.dart'; // BEGIN tooltipDemo class TooltipDemo extends StatelessWidget { con...
flutter/dev/integration_tests/new_gallery/lib/demos/material/tooltip_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/tooltip_demo.dart", "repo_id": "flutter", "token_count": 644 }
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 'dart:collection'; import 'package:collection/collection.dart'; import 'package:flutter/material.dart'; import 'package:flutter_localized_locales/f...
flutter/dev/integration_tests/new_gallery/lib/pages/settings.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/pages/settings.dart", "repo_id": "flutter", "token_count": 6636 }
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 '../../../data/gallery_options.dart'; import '../../../gallery_localizations.dart'; import 'formatters.dart...
flutter/dev/integration_tests/new_gallery/lib/studies/crane/model/destination.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/crane/model/destination.dart", "repo_id": "flutter", "token_count": 990 }
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 'package:flutter/material.dart'; import '../../data/gallery_options.dart'; import '../../gallery_localizations.dart'; import '../../layout/adaptive...
flutter/dev/integration_tests/new_gallery/lib/studies/rally/home.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/rally/home.dart", "repo_id": "flutter", "token_count": 5189 }
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 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../../layout/adaptive.dart'; import 'mail_card_preview.dart'; imp...
flutter/dev/integration_tests/new_gallery/lib/studies/reply/mailbox_body.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/reply/mailbox_body.dart", "repo_id": "flutter", "token_count": 2786 }
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/widgets.dart'; import '../../../gallery_localizations.dart'; import 'product.dart'; class ProductsRepository { static List<Produ...
flutter/dev/integration_tests/new_gallery/lib/studies/shrine/model/products_repository.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/model/products_repository.dart", "repo_id": "flutter", "token_count": 5109 }
538
package com.example.non_nullable import io.flutter.embedding.android.FlutterActivity class MainActivity : FlutterActivity()
flutter/dev/integration_tests/non_nullable/android/app/src/main/kotlin/com/example/non_nullable/MainActivity.kt/0
{ "file_path": "flutter/dev/integration_tests/non_nullable/android/app/src/main/kotlin/com/example/non_nullable/MainActivity.kt", "repo_id": "flutter", "token_count": 36 }
539
#include "Generated.xcconfig"
flutter/dev/integration_tests/platform_interaction/ios/Flutter/Debug.xcconfig/0
{ "file_path": "flutter/dev/integration_tests/platform_interaction/ios/Flutter/Debug.xcconfig", "repo_id": "flutter", "token_count": 12 }
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. plugins { id "com.android.application" id "kotlin-android" id "dev.flutter.flutter-gradle-plugin" } android { namespace "com.yourcompany.i...
flutter/dev/integration_tests/ui/android/app/build.gradle/0
{ "file_path": "flutter/dev/integration_tests/ui/android/app/build.gradle", "repo_id": "flutter", "token_count": 377 }
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_driver/flutter_driver.dart'; import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; void main() { late FlutterDriver dr...
flutter/dev/integration_tests/ui/test_driver/commands_debug_paint_test.dart/0
{ "file_path": "flutter/dev/integration_tests/ui/test_driver/commands_debug_paint_test.dart", "repo_id": "flutter", "token_count": 196 }
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:html' as html; import 'package:flutter/material.dart'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const ...
flutter/dev/integration_tests/web_e2e_tests/lib/scroll_wheel_main.dart/0
{ "file_path": "flutter/dev/integration_tests/web_e2e_tests/lib/scroll_wheel_main.dart", "repo_id": "flutter", "token_count": 1188 }
543
# Windows start up test This test verifies that Flutter draws a frame before the Windows app is shown.
flutter/dev/integration_tests/windows_startup_test/README.md/0
{ "file_path": "flutter/dev/integration_tests/windows_startup_test/README.md", "repo_id": "flutter", "token_count": 24 }
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/material.dart'; class AnimatedIconsTestApp extends StatelessWidget { const AnimatedIconsTestApp({super.key}); @override Wid...
flutter/dev/manual_tests/lib/animated_icons.dart/0
{ "file_path": "flutter/dev/manual_tests/lib/animated_icons.dart", "repo_id": "flutter", "token_count": 1014 }
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 'dart:io'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:manual_tests/card_collection.da...
flutter/dev/manual_tests/test/card_collection_test.dart/0
{ "file_path": "flutter/dev/manual_tests/test/card_collection_test.dart", "repo_id": "flutter", "token_count": 577 }
546
# Dartdoc Samples and Snippets The [snippets] tool uses the files in the `skeletons` directory to inject code blocks generated from `{@tool dartpad}`, `{@tool sample}`, and `{@tool snippet}` sections found in doc comments into the API docs. [snippets]: https://github.com/flutter/assets-for-api-docs/tree/master/packag...
flutter/dev/snippets/config/README.md/0
{ "file_path": "flutter/dev/snippets/config/README.md", "repo_id": "flutter", "token_count": 105 }
547
{ "version": "v0_206", "md.comp.bottom-app-bar.container.color": "surfaceContainer", "md.comp.bottom-app-bar.container.elevation": "md.sys.elevation.level2", "md.comp.bottom-app-bar.container.height": 80.0, "md.comp.bottom-app-bar.container.shape": "md.sys.shape.corner.none" }
flutter/dev/tools/gen_defaults/data/bottom_app_bar.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/bottom_app_bar.json", "repo_id": "flutter", "token_count": 117 }
548
{ "version": "v0_206", "md.sys.color.background": "md.ref.palette.neutral98", "md.sys.color.error": "md.ref.palette.error40", "md.sys.color.error-container": "md.ref.palette.error90", "md.sys.color.inverse-on-surface": "md.ref.palette.neutral95", "md.sys.color.inverse-primary": "md.ref.palette.primary80", ...
flutter/dev/tools/gen_defaults/data/color_light.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/color_light.json", "repo_id": "flutter", "token_count": 1267 }
549
{ "version": "v0_206", "md.comp.list.divider.leading-space": 16.0, "md.comp.list.divider.trailing-space": 16.0, "md.comp.list.focus.indicator.color": "secondary", "md.comp.list.focus.indicator.outline.offset": "md.sys.state.focus-indicator.inner-offset", "md.comp.list.focus.indicator.thickness": "md.sys.st...
flutter/dev/tools/gen_defaults/data/list.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/list.json", "repo_id": "flutter", "token_count": 1886 }
550
{ "version": "v0_206", "md.comp.sheet.bottom.docked.container.color": "surfaceContainerLow", "md.comp.sheet.bottom.docked.container.shape": "md.sys.shape.corner.extra-large.top", "md.comp.sheet.bottom.docked.drag-handle.color": "onSurfaceVariant", "md.comp.sheet.bottom.docked.drag-handle.height": 4.0, "md....
flutter/dev/tools/gen_defaults/data/sheet_bottom.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/sheet_bottom.json", "repo_id": "flutter", "token_count": 347 }
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 'template.dart'; class BadgeTemplate extends TokenTemplate { const BadgeTemplate(super.blockName, super.fileName, super.tokens, { super.color...
flutter/dev/tools/gen_defaults/lib/badge_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/badge_template.dart", "repo_id": "flutter", "token_count": 370 }
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 'template.dart'; class IconButtonTemplate extends TokenTemplate { const IconButtonTemplate(this.tokenGroup, super.blockName, super.fileName, supe...
flutter/dev/tools/gen_defaults/lib/icon_button_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/icon_button_template.dart", "repo_id": "flutter", "token_count": 4253 }
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 'template.dart'; class SnackbarTemplate extends TokenTemplate { const SnackbarTemplate( this.tokenGroup, super.blockName, super.fileName, s...
flutter/dev/tools/gen_defaults/lib/snackbar_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/snackbar_template.dart", "repo_id": "flutter", "token_count": 752 }
554
{ "Add": ["PLUS"], "Again": ["AGAIN"], "AltLeft": ["ALT_LEFT"], "AltRight": ["ALT_RIGHT"], "AppSwitch": ["APP_SWITCH"], "ArrowDown": ["DPAD_DOWN"], "ArrowLeft": ["DPAD_LEFT"], "ArrowRight": ["DPAD_RIGHT"], "ArrowUp": ["DPAD_UP"], "Asterisk": ["STAR"], "At": ["AT"], "AudioVolumeDown": ["VOLUME_DO...
flutter/dev/tools/gen_keycodes/data/android_key_name_to_name.json/0
{ "file_path": "flutter/dev/tools/gen_keycodes/data/android_key_name_to_name.json", "repo_id": "flutter", "token_count": 3656 }
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. // DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT // This file is generated by dev/tools/gen_keycodes/bin/gen_keycodes.dart and // should not be edited directly...
flutter/dev/tools/gen_keycodes/data/keyboard_maps.tmpl/0
{ "file_path": "flutter/dev/tools/gen_keycodes/data/keyboard_maps.tmpl", "repo_id": "flutter", "token_count": 2258 }
556
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'logical_key_data.dart'; import 'physical_key_data.dart'; String _injectDictionary(String template, Map<String, String> dictiona...
flutter/dev/tools/gen_keycodes/lib/base_code_gen.dart/0
{ "file_path": "flutter/dev/tools/gen_keycodes/lib/base_code_gen.dart", "repo_id": "flutter", "token_count": 548 }
557
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'dart:io'; import 'package:gen_keycodes/android_code_gen.dart'; import 'package:gen_keycodes/base_code_gen.dart'; import 'pa...
flutter/dev/tools/gen_keycodes/test/gen_keycodes_test.dart/0
{ "file_path": "flutter/dev/tools/gen_keycodes/test/gen_keycodes_test.dart", "repo_id": "flutter", "token_count": 2382 }
558
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:test/test.dart'; import '../update_icons.dart'; Map<String, String> codepointsA = <String, String>{ 'airplane': '111', 'boat': '222',...
flutter/dev/tools/test/update_icons_test.dart/0
{ "file_path": "flutter/dev/tools/test/update_icons_test.dart", "repo_id": "flutter", "token_count": 1372 }
559
<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, 19.0 L 48.0, 29.0 L 0, 29.0 Z " fill="#000000" /> </svg>
flutter/dev/tools/vitool/test_assets/horizontal_bar.svg/0
{ "file_path": "flutter/dev/tools/vitool/test_assets/horizontal_bar.svg", "repo_id": "flutter", "token_count": 92 }
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:async'; import 'dart:convert' show jsonEncode; import 'dart:developer' as developer; import 'dart:ui' as ui; import 'package:flutter/widgets....
flutter/dev/tracing_tests/test/image_painting_event_test.dart/0
{ "file_path": "flutter/dev/tracing_tests/test/image_painting_event_test.dart", "repo_id": "flutter", "token_count": 1494 }
561
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// An example of [AnimationController] and [SlideTransition]. // Occupies the same width as the widest single di...
flutter/examples/api/lib/animation/animation_controller/animated_digit.0.dart/0
{ "file_path": "flutter/examples/api/lib/animation/animation_controller/animated_digit.0.dart", "repo_id": "flutter", "token_count": 2364 }
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/cupertino.dart'; /// Flutter code sample for [CupertinoPageScaffold]. void main() => runApp(const PageScaffoldApp()); class Page...
flutter/examples/api/lib/cupertino/page_scaffold/cupertino_page_scaffold.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/page_scaffold/cupertino_page_scaffold.0.dart", "repo_id": "flutter", "token_count": 680 }
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/cupertino.dart'; /// Flutter code sample for [CupertinoTabScaffold]. void main() => runApp(const TabScaffoldApp()); class TabSca...
flutter/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_scaffold.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_scaffold.0.dart", "repo_id": "flutter", "token_count": 1424 }
564
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [SliverAppBar.medium]. void main() { runApp(const AppBarMediumApp()); } class AppB...
flutter/examples/api/lib/material/app_bar/sliver_app_bar.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/app_bar/sliver_app_bar.2.dart", "repo_id": "flutter", "token_count": 776 }
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/material.dart'; /// Flutter code sample for [ColorScheme]. const Widget divider = SizedBox(height: 10); void main() => runApp(co...
flutter/examples/api/lib/material/color_scheme/color_scheme.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/color_scheme/color_scheme.0.dart", "repo_id": "flutter", "token_count": 5052 }
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 [showDialog]. void main() => runApp(const ShowDialogExampleApp()); class ShowDialogE...
flutter/examples/api/lib/material/dialog/show_dialog.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/dialog/show_dialog.0.dart", "repo_id": "flutter", "token_count": 919 }
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 [ExpansionPanelList.ExpansionPanelList.radio]. void main() => runApp(const ExpansionP...
flutter/examples/api/lib/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart", "repo_id": "flutter", "token_count": 961 }
568