text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
/*
* 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.run.bazelTest;
import com.intellij.util.xmlb.XmlSerializer;
import org.jdom.Element;
import org.junit.Test;
import java.util.Se... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/bazelTest/BazelTestFieldsTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/bazelTest/BazelTestFieldsTest.java",
"repo_id": "flutter-intellij",
"token_count": 1114
} | 522 |
/*
* 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.testing;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.vfs.VirtualFile;
import com.int... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/testing/TestDir.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/testing/TestDir.java",
"repo_id": "flutter-intellij",
"token_count": 703
} | 523 |
/*
* Copyright (c) 2017, 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/RemoteServiceCompleter.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/RemoteServiceCompleter.java",
"repo_id": "flutter-intellij",
"token_count": 326
} | 524 |
/*
* 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/Context.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Context.java",
"repo_id": "flutter-intellij",
"token_count": 644
} | 525 |
/*
* 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/FieldRef.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/FieldRef.java",
"repo_id": "flutter-intellij",
"token_count": 852
} | 526 |
/*
* 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/IsolateGroupRef.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/IsolateGroupRef.java",
"repo_id": "flutter-intellij",
"token_count": 518
} | 527 |
/*
* 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/SourceLocation.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/SourceLocation.java",
"repo_id": "flutter-intellij",
"token_count": 584
} | 528 |
/*
* 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.
*/
repositories {
mavenCentral()
maven {
url=uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
plugins {
id("java")
i... | flutter-intellij/flutter-studio/build.gradle.kts/0 | {
"file_path": "flutter-intellij/flutter-studio/build.gradle.kts",
"repo_id": "flutter-intellij",
"token_count": 1145
} | 529 |
/*
* 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.editor;
import com.android.tools.idea.ui.resourcechooser.colorpicker2.ColorPickerBuilder;
import com.intellij.openapi.ui.popup.B... | flutter-intellij/flutter-studio/src/io/flutter/editor/AndroidStudioColorPickerProvider.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/editor/AndroidStudioColorPickerProvider.java",
"repo_id": "flutter-intellij",
"token_count": 1143
} | 530 |
/*
* 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 com.android.tools.idea.tests.gui.framework.fixture;
import javax.swing.JMenuItem;
import org.fest.swing.core.Robot;
import org.fest.swing.f... | flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/MenuItemFixture.java/0 | {
"file_path": "flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/MenuItemFixture.java",
"repo_id": "flutter-intellij",
"token_count": 326
} | 531 |
#!/bin/bash
# This should execute as a presubmit.
# Fail on any error.
set -e
# Display commands being run. Only do this while debugging and be careful
# that no confidential information is displayed.
# set -x
# Code under repo is checked out to ${KOKORO_ARTIFACTS_DIR}/github.
# The final directory name in this pat... | flutter-intellij/kokoro/macos_external/kokoro_test.sh/0 | {
"file_path": "flutter-intellij/kokoro/macos_external/kokoro_test.sh",
"repo_id": "flutter-intellij",
"token_count": 203
} | 532 |
{
"flutter": {
"version": "3.1.0",
"channel": "beta"
},
"widgets": [
{
"name": "AboutDialog",
"parent": "StatelessWidget",
"library": "material",
"description": "An about box. This is a dialog box with the application's icon, name, version number, and copyright, plus a button t... | flutter-intellij/resources/flutter/catalog/widgets.json/0 | {
"file_path": "flutter-intellij/resources/flutter/catalog/widgets.json",
"repo_id": "flutter-intellij",
"token_count": 35251
} | 533 |
#!/bin/bash
source ./tool/kokoro/setup.sh
setup
echo "kokoro build start"
./bin/plugin make --channel=dev
echo "kokoro build finished"
echo "kokoro deploy start"
./bin/plugin deploy --channel=dev
echo "kokoro deploy finished"
| flutter-intellij/tool/kokoro/deploy.sh/0 | {
"file_path": "flutter-intellij/tool/kokoro/deploy.sh",
"repo_id": "flutter-intellij",
"token_count": 77
} | 534 |
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/bin" isTestSource="false" />
<sourceFolder url="file://... | flutter-intellij/tool/plugin/plugin.iml/0 | {
"file_path": "flutter-intellij/tool/plugin/plugin.iml",
"repo_id": "flutter-intellij",
"token_count": 335
} | 535 |
# Below is a list of Flutter team members' GitHub handles who are
# test owners of this repository.
#
# These owners are mainly team leaders and their sub-teams. Please feel
# free to claim ownership by adding your handle to corresponding tests.
#
# This file will be used as a reference when new flaky bugs are filed an... | flutter/TESTOWNERS/0 | {
"file_path": "flutter/TESTOWNERS",
"repo_id": "flutter",
"token_count": 11136
} | 536 |
2ba8188ed97d8b05670845e5b5954e2fe0f54784
| flutter/bin/internal/libimobiledevice.version/0 | {
"file_path": "flutter/bin/internal/libimobiledevice.version",
"repo_id": "flutter",
"token_count": 27
} | 537 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'use_cases.dart';
class DialogUseCase extends UseCase {
@override
String get name => 'Dialog';
@ov... | flutter/dev/a11y_assessments/lib/use_cases/dialog.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/lib/use_cases/dialog.dart",
"repo_id": "flutter",
"token_count": 1098
} | 538 |
#include "ephemeral/Flutter-Generated.xcconfig"
| flutter/dev/a11y_assessments/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "flutter/dev/a11y_assessments/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "flutter",
"token_count": 19
} | 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:a11y_assessments/use_cases/dialog.dart';
import 'package:flutter_test/flutter_test.dart';
import 'test_utils.dart';
void main() {
testW... | flutter/dev/a11y_assessments/test/dialog_test.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/test/dialog_test.dart",
"repo_id": "flutter",
"token_count": 358
} | 540 |
This is a fake package for use by automated testing.
For example, the `flutter_tools` package uses this to test `flutter test`.
| flutter/dev/automated_tests/README.md/0 | {
"file_path": "flutter/dev/automated_tests/README.md",
"repo_id": "flutter",
"token_count": 33
} | 541 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('Rendering Error', (WidgetTester test... | flutter/dev/automated_tests/flutter_test/print_correct_local_widget_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/flutter_test/print_correct_local_widget_test.dart",
"repo_id": "flutter",
"token_count": 783
} | 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.
// this is a test to make sure our tests consider syntax errors to be failures
// see //flutter/dev/bots/test.dart
The challenge: demand satisfaction
If t... | flutter/dev/automated_tests/test_smoke_test/syntax_error_test.broken_dart/0 | {
"file_path": "flutter/dev/automated_tests/test_smoke_test/syntax_error_test.broken_dart",
"repo_id": "flutter",
"token_count": 92
} | 543 |
{
"images":[
{
"idiom":"iphone",
"size":"29x29",
"scale":"1x",
"filename":"Icon-App-29x29@1x.png"
},
{
"idiom":"iphone",
"size":"29x29",
"scale":"2x",
"filename":"Icon-App-29x29@2x.png"
},... | flutter/dev/benchmarks/complex_layout/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json/0 | {
"file_path": "flutter/dev/benchmarks/complex_layout/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
"repo_id": "flutter",
"token_count": 1799
} | 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 'dart:ui' as ui;
import 'package:flutter/material.dart';
// This tests whether the Opacity layer raster cache works with color filters.
// See htt... | flutter/dev/benchmarks/macrobenchmarks/lib/src/color_filter_and_fade.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/color_filter_and_fade.dart",
"repo_id": "flutter",
"token_count": 2033
} | 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:math';
import 'package:flutter/material.dart';
import '../common.dart';
// Various tests to verify that the opacity layer propagates the op... | flutter/dev/benchmarks/macrobenchmarks/lib/src/opacity_peephole.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/opacity_peephole.dart",
"repo_id": "flutter",
"token_count": 8016
} | 546 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'recorder.dart';
/// Repeatedly paints a grid of rectangles where each rectangle is drawn in its
/// own [Picture].
///
/// Meas... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_child_layers.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_child_layers.dart",
"repo_id": "flutter",
"token_count": 1089
} | 547 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:ui_web' as ui_web;
import 'package:flutter/material.dart';
import 'package:web/web.dart' as web;
import 'recorder.dart'... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_platform_view_infinite_scroll.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_platform_view_infinite_scroll.dart",
"repo_id": "flutter",
"token_count": 1125
} | 548 |
# microbenchmarks
To run these benchmarks on a device, first run `flutter logs' in one
window to see the device logs, then, in a different window, run any of
these:
```
flutter run --release lib/gestures/velocity_tracker_bench.dart
flutter run --release lib/gestures/gesture_detector_bench.dart
flutter run --release l... | flutter/dev/benchmarks/microbenchmarks/README.md/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/README.md",
"repo_id": "flutter",
"token_count": 227
} | 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/services.dart' show PlatformAssetBundle;
import 'package:flutter/widgets.dart';
import '../common.dart';
const int _kBatchSize = ... | flutter/dev/benchmarks/microbenchmarks/lib/foundation/platform_asset_bundle.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/foundation/platform_asset_bundle.dart",
"repo_id": "flutter",
"token_count": 533
} | 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';
import 'package:flutter_test/flutter_test.dart';
import 'package:stocks/main.dart' as stocks;
import 'package:stock... | flutter/dev/benchmarks/microbenchmarks/lib/stocks/build_bench.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/stocks/build_bench.dart",
"repo_id": "flutter",
"token_count": 832
} | 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 "AppDelegate.h"
@import Flutter;
#import "GeneratedPluginRegistrant.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)applicati... | flutter/dev/benchmarks/platform_channels_benchmarks/ios/Runner/AppDelegate.m/0 | {
"file_path": "flutter/dev/benchmarks/platform_channels_benchmarks/ios/Runner/AppDelegate.m",
"repo_id": "flutter",
"token_count": 596
} | 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 <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@interface DummyPlatformView : NSObject <FlutterPlatformView>
- (instancetype)initWithFrame:(CGRect)... | flutter/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/DummyPlatformView.h/0 | {
"file_path": "flutter/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/DummyPlatformView.h",
"repo_id": "flutter",
"token_count": 262
} | 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 StockArrowPainter extends CustomPainter {
StockArrowPainter({
required th... | flutter/dev/benchmarks/test_apps/stocks/lib/stock_arrow.dart/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/stock_arrow.dart",
"repo_id": "flutter",
"token_count": 960
} | 554 |
# Flutter's Build Infrastructure
This directory exists to support building Flutter on our build infrastructure.
Flutter build results are available at:
* https://flutter-dashboard.appspot.com/#/build
- Aggregate dashboard of the separate CI systems used by Flutter.
* https://cirrus-ci.com/github/flutter/flutter/mas... | flutter/dev/bots/README.md/0 | {
"file_path": "flutter/dev/bots/README.md",
"repo_id": "flutter",
"token_count": 2702
} | 555 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'dart:io' show stderr;
import 'dart:typed_data';
import 'package:convert/convert.dart';
import 'package:crypto/crypto.dart';... | flutter/dev/bots/prepare_package/archive_creator.dart/0 | {
"file_path": "flutter/dev/bots/prepare_package/archive_creator.dart",
"repo_id": "flutter",
"token_count": 7364
} | 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 '../../foo/stopwatch_external_lib.dart' as externallib;
typedef ExternalStopwatchConstructor = externallib.MyStopwatch Function();
class Stopwatch... | flutter/dev/bots/test/analyze-test-input/root/packages/flutter/lib/stopwatch.dart/0 | {
"file_path": "flutter/dev/bots/test/analyze-test-input/root/packages/flutter/lib/stopwatch.dart",
"repo_id": "flutter",
"token_count": 843
} | 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:io';
import 'package:file/file.dart';
import 'package:file/memory.dart';
import 'package:path/path.dart' as path;
import '../check_code_samp... | flutter/dev/bots/test/check_code_samples_test.dart/0 | {
"file_path": "flutter/dev/bots/test/check_code_samples_test.dart",
"repo_id": "flutter",
"token_count": 3907
} | 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.
// See: https://github.com/flutter/flutter/wiki/Release-process
import 'dart:io' as io;
import 'package:args/command_runner.dart';
import 'package:conduc... | flutter/dev/conductor/core/bin/cli.dart/0 | {
"file_path": "flutter/dev/conductor/core/bin/cli.dart",
"repo_id": "flutter",
"token_count": 970
} | 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.
//
// Generated code. Do not modify.
// source: conductor_state.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides, camel_case_types
// ign... | flutter/dev/conductor/core/lib/src/proto/conductor_state.pbenum.dart/0 | {
"file_path": "flutter/dev/conductor/core/lib/src/proto/conductor_state.pbenum.dart",
"repo_id": "flutter",
"token_count": 1305
} | 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 'package:args/command_runner.dart';
import 'package:conductor_core/src/git.dart';
import 'package:conductor_core/src/globals.dart';
import 'package:... | flutter/dev/conductor/core/test/next_test.dart/0 | {
"file_path": "flutter/dev/conductor/core/test/next_test.dart",
"repo_id": "flutter",
"token_count": 17553
} | 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 'dart:convert';
import 'dart:io';
import 'package:args/args.dart';
import 'package:flutter_devicelab/framework/ab.dart';
import 'package:flutter_de... | flutter/dev/devicelab/bin/run.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/run.dart",
"repo_id": "flutter",
"token_count": 4706
} | 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_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/f... | flutter/dev/devicelab/bin/tasks/flutter_gallery__transition_perf_with_semantics.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/flutter_gallery__transition_perf_with_semantics.dart",
"repo_id": "flutter",
"token_count": 636
} | 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 'dart:async' show Completer, StreamSubscription;
import 'dart:io' show Directory, Process;
import 'package:flutter_devicelab/framework/devices.dart... | flutter/dev/devicelab/bin/tasks/hello_world_impeller.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/hello_world_impeller.dart",
"repo_id": "flutter",
"token_count": 1066
} | 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:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/framework/task_result.dart';
import 'pack... | flutter/dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart",
"repo_id": "flutter",
"token_count": 686
} | 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_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/f... | flutter/dev/devicelab/bin/tasks/smoke_test_build_test.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/smoke_test_build_test.dart",
"repo_id": "flutter",
"token_count": 373
} | 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 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:math' as math;
import 'package:path/path.dart' as path;
import 'package:retry/r... | flutter/dev/devicelab/lib/framework/devices.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/framework/devices.dart",
"repo_id": "flutter",
"token_count": 14151
} | 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 'dart:io';
import 'package:args/args.dart';
import '../framework/devices.dart';
import '../framework/task_result.dart';
import '../framework/utils... | flutter/dev/devicelab/lib/tasks/build_test_task.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/tasks/build_test_task.dart",
"repo_id": "flutter",
"token_count": 1211
} | 568 |
name: flutter_devicelab
description: Flutter continuous integration performance and correctness tests.
homepage: https://github.com/flutter/flutter
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
archive: 3.3.2
args: 2.4.2
file: 7.0.0
http: 0.13.6
logging: 1.2.0
meta: 1.12.0
metrics_center: 1.0.13
... | flutter/dev/devicelab/pubspec.yaml/0 | {
"file_path": "flutter/dev/devicelab/pubspec.yaml",
"repo_id": "flutter",
"token_count": 1817
} | 569 |
<link rel="search" type="application/opensearchdescription+xml" title="Flutter API" href="/opensearch.xml"/>
| flutter/dev/docs/opensearch.html/0 | {
"file_path": "flutter/dev/docs/opensearch.html",
"repo_id": "flutter",
"token_count": 32
} | 570 |
# Android custom host app
Android 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.
Used by the `module_custom_host_app_name_test.dart` device lab test.
| flutter/dev/integration_tests/android_custom_host_app/README.md/0 | {
"file_path": "flutter/dev/integration_tests/android_custom_host_app/README.md",
"repo_id": "flutter",
"token_count": 74
} | 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. -->
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:... | flutter/dev/integration_tests/android_embedding_v2_smoke_test/android/app/src/main/res/drawable/launch_background.xml/0 | {
"file_path": "flutter/dev/integration_tests/android_embedding_v2_smoke_test/android/app/src/main/res/drawable/launch_background.xml",
"repo_id": "flutter",
"token_count": 193
} | 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.
/// The name of the route containing the test suite.
const String headingsRoute = 'headings';
/// The string supplied to the [ValueKey] for the app bar ti... | flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/headings_constants.dart/0 | {
"file_path": "flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/headings_constants.dart",
"repo_id": "flutter",
"token_count": 134
} | 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.
package io.flutter.integration.android_verified_input;
import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterActivity;
import io.... | flutter/dev/integration_tests/android_verified_input/android/app/src/main/java/io/flutter/integration/android_verified_input/MainActivity.java/0 | {
"file_path": "flutter/dev/integration_tests/android_verified_input/android/app/src/main/java/io/flutter/integration/android_verified_input/MainActivity.java",
"repo_id": "flutter",
"token_count": 303
} | 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 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_driver/driver_extension.dart';... | flutter/dev/integration_tests/android_verified_input/lib/main.dart/0 | {
"file_path": "flutter/dev/integration_tests/android_verified_input/lib/main.dart",
"repo_id": "flutter",
"token_count": 774
} | 575 |
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
| flutter/dev/integration_tests/channels/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json/0 | {
"file_path": "flutter/dev/integration_tests/channels/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
"repo_id": "flutter",
"token_count": 36
} | 576 |
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
android.enableR8=true
android.experimental.enableNewResourceShrinker=true
| flutter/dev/integration_tests/deferred_components_test/android/gradle.properties/0 | {
"file_path": "flutter/dev/integration_tests/deferred_components_test/android/gradle.properties",
"repo_id": "flutter",
"token_count": 76
} | 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 "AppDelegate.h"
@interface AppDelegate ()
@property (atomic) uint64_t textureId;
@property (atomic) int framesProduced;
@property (atomic) i... | flutter/dev/integration_tests/external_textures/ios/Runner/AppDelegate.m/0 | {
"file_path": "flutter/dev/integration_tests/external_textures/ios/Runner/AppDelegate.m",
"repo_id": "flutter",
"token_count": 1182
} | 578 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'logic.dart';
class Calculator extends StatefulWidget {
const Calculator({super.key});
@override
St... | flutter/dev/integration_tests/flutter_gallery/lib/demo/calculator/home.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/calculator/home.dart",
"repo_id": "flutter",
"token_count": 3230
} | 579 |
# Fortnightly
A Flutter sample app based on the Material study Fortnightly (a hypothetical, online newspaper.) It
showcases print-quality, custom typography, Material Theming, and text-heavy UI design and layout.
For info on the Fortnightly Material Study, see: https://material.io/design/material-studies/fortnightly.... | flutter/dev/integration_tests/flutter_gallery/lib/demo/fortnightly/README.md/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/fortnightly/README.md",
"repo_id": "flutter",
"token_count": 588
} | 580 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
class ExpansionTileListDemo extends StatelessWidget {
const ExpansionTileList... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/expansion_tile_list_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/expansion_tile_list_demo.dart",
"repo_id": "flutter",
"token_count": 594
} | 581 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
const String _checkboxText =
'Checkboxes allow the user to select multiple op... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/selection_controls_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/selection_controls_demo.dart",
"repo_id": "flutter",
"token_count": 3158
} | 582 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
enum Category {
all,
accessories,
clothing,
home,
}
class Product {
const Product({
required this.category,
required this.id,
requir... | flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/model/product.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/model/product.dart",
"repo_id": "flutter",
"token_count": 205
} | 583 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Demos for which timeline data will be collected using
// FlutterDriver.traceAction().
//
// Warning: The number of tests executed with timeline collecti... | flutter/dev/integration_tests/flutter_gallery/lib/demo_lists.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo_lists.dart",
"repo_id": "flutter",
"token_count": 503
} | 584 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'gallery/home.dart';
import 'main.dart' as other_main;
// This main chain-calls main.dart's main. This file is used for publishing
// the gallery a... | flutter/dev/integration_tests/flutter_gallery/lib/main_publish.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/main_publish.dart",
"repo_id": "flutter",
"token_count": 127
} | 585 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_gallery/gallery/app.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
... | flutter/dev/integration_tests/flutter_gallery/test/example_code_display_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test/example_code_display_test.dart",
"repo_id": "flutter",
"token_count": 493
} | 586 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_gallery/demo_lists.dart';
import 'package:flutter_g... | flutter/dev/integration_tests/flutter_gallery/test_driver/transitions_perf_e2e.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test_driver/transitions_perf_e2e.dart",
"repo_id": "flutter",
"token_count": 755
} | 587 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.integration.platformviews;
import android.annotation.TargetApi;
import android.os.Build;
import android.view.MotionEvent;
import java.... | flutter/dev/integration_tests/hybrid_android_views/android/app/src/main/java/io/flutter/integration/androidviews/MotionEventCodec.java/0 | {
"file_path": "flutter/dev/integration_tests/hybrid_android_views/android/app/src/main/java/io/flutter/integration/androidviews/MotionEventCodec.java",
"repo_id": "flutter",
"token_count": 2209
} | 588 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:collection/collection.dart';
// Android MotionEvent actions for which a pointer index is encoded in the
// unmasked action code.
const Lis... | flutter/dev/integration_tests/hybrid_android_views/lib/motion_event_diff.dart/0 | {
"file_path": "flutter/dev/integration_tests/hybrid_android_views/lib/motion_event_diff.dart",
"repo_id": "flutter",
"token_count": 1997
} | 589 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <EarlGreyTest/EarlGrey.h>
#import <XCTest/XCTest.h>
#import "AppDelegate.h"
#import "FullScreenViewController.h"
@interface FlutterTests : XCTest... | flutter/dev/integration_tests/ios_add2app_life_cycle/ios_add2appTests/IntegrationTests.m/0 | {
"file_path": "flutter/dev/integration_tests/ios_add2app_life_cycle/ios_add2appTests/IntegrationTests.m",
"repo_id": "flutter",
"token_count": 437
} | 590 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import XCTest;
@import os.log;
static const CGFloat kStandardTimeOut = 60.0;
@interface FlutterUITests : XCTestCase
@property (strong) XCUIApplication *... | flutter/dev/integration_tests/ios_host_app/FlutterUITests/FlutterUITests.m/0 | {
"file_path": "flutter/dev/integration_tests/ios_host_app/FlutterUITests/FlutterUITests.m",
"repo_id": "flutter",
"token_count": 2142
} | 591 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "FullScreenViewController.h"
@interface FullScreenViewController ()
@end
@implementation FullScreenViewController
-(void)viewWillAppear:(BOOL)a... | flutter/dev/integration_tests/ios_host_app/Host/FullScreenViewController.m/0 | {
"file_path": "flutter/dev/integration_tests/ios_host_app/Host/FullScreenViewController.m",
"repo_id": "flutter",
"token_count": 372
} | 592 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import '../../gallery_localizations.dart';
// BEGIN cupertinoButtonDemo
class CupertinoButtonDemo extends Statel... | flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_button_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_button_demo.dart",
"repo_id": "flutter",
"token_count": 839
} | 593 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery_localizations.dart';
import 'material_demo_types.dart';
// BEGIN progressIndicatorsDemo
cla... | flutter/dev/integration_tests/new_gallery/lib/demos/material/progress_indicator_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/progress_indicator_demo.dart",
"repo_id": "flutter",
"token_count": 1224
} | 594 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:dual_screen/dual_screen.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/sc... | flutter/dev/integration_tests/new_gallery/lib/main.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/main.dart",
"repo_id": "flutter",
"token_count": 1297
} | 595 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
const Color cranePurple700 = Color(0xFF720D5D);
const Color cranePurple800 = Color(0xFF5D1049);
const Color craneP... | flutter/dev/integration_tests/new_gallery/lib/studies/crane/colors.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/crane/colors.dart",
"repo_id": "flutter",
"token_count": 220
} | 596 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:flutter/material.dart';
import '../../../data/gallery_options.dart';
import '../../../layout/letter_spacing.d... | flutter/dev/integration_tests/new_gallery/lib/studies/rally/charts/pie_chart.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/rally/charts/pie_chart.dart",
"repo_id": "flutter",
"token_count": 3245
} | 597 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:animations/animations.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:neste... | flutter/dev/integration_tests/new_gallery/lib/studies/reply/app.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/reply/app.dart",
"repo_id": "flutter",
"token_count": 4520
} | 598 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
const Color shrinePink50 = Color(0xFFFEEAE6);
const Color shrinePink100 = Color(0xFFFEDBD0);
const Color shrinePin... | flutter/dev/integration_tests/new_gallery/lib/studies/shrine/colors.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/colors.dart",
"repo_id": "flutter",
"token_count": 207
} | 599 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:scoped_model/scoped_model.dart';
import '../../../gallery_localiz... | flutter/dev/integration_tests/new_gallery/lib/studies/shrine/supplemental/product_card.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/supplemental/product_card.dart",
"repo_id": "flutter",
"token_count": 1862
} | 600 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert' show json;
import 'dart:io' show sleep, stdout;
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart'... | flutter/dev/integration_tests/new_gallery/test_driver/transitions_perf_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/test_driver/transitions_perf_test.dart",
"repo_id": "flutter",
"token_count": 4537
} | 601 |
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="hIq-1... | flutter/dev/integration_tests/platform_interaction/ios/Runner/Base.lproj/Main.storyboard/0 | {
"file_path": "flutter/dev/integration_tests/platform_interaction/ios/Runner/Base.lproj/Main.storyboard",
"repo_id": "flutter",
"token_count": 1465
} | 602 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui;
import 'package:flutter_driver/driver_extension.dart';
// To use this test: "flutter drive --route '/smuggle-it' lib/route.dart"
... | flutter/dev/integration_tests/ui/lib/route.dart/0 | {
"file_path": "flutter/dev/integration_tests/ui/lib/route.dart",
"repo_id": "flutter",
"token_count": 148
} | 603 |
// Copyright 2014 The Flutter Authors. 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('flutter run t... | flutter/dev/integration_tests/ui/test_driver/route_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/ui/test_driver/route_test.dart",
"repo_id": "flutter",
"token_count": 267
} | 604 |
name: web_integration
description: Integration test for web compilation.
environment:
sdk: '>=3.2.0-0 <4.0.0'
flutter:
assets:
- lib/a.dart
- lib/b.dart
uses-material-design: true
dependencies:
flutter:
sdk: flutter
characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update... | flutter/dev/integration_tests/web/pubspec.yaml/0 | {
"file_path": "flutter/dev/integration_tests/web/pubspec.yaml",
"repo_id": "flutter",
"token_count": 292
} | 605 |
# wide_gamut_test
An integration test used for testing wide gamut color support in the engine.
## Local run
```sh
flutter create --platforms="ios" --no-overwrite .
flutter test integration_test/app_test.dart
```
| flutter/dev/integration_tests/wide_gamut_test/README.md/0 | {
"file_path": "flutter/dev/integration_tests/wide_gamut_test/README.md",
"repo_id": "flutter",
"token_count": 68
} | 606 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter_window.h"
#include <optional>
#include <mutex>
#include <dwmapi.h>
#include <flutter/method_channel.h>
#include <flutter/standard_metho... | flutter/dev/integration_tests/windows_startup_test/windows/runner/flutter_window.cpp/0 | {
"file_path": "flutter/dev/integration_tests/windows_startup_test/windows/runner/flutter_window.cpp",
"repo_id": "flutter",
"token_count": 2281
} | 607 |
// Copyright 2014 The Flutter Authors. 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';
void main() {
runApp(
const MaterialApp(
title: 'Menu Tester',... | flutter/dev/manual_tests/lib/menu_anchor.dart/0 | {
"file_path": "flutter/dev/manual_tests/lib/menu_anchor.dart",
"repo_id": "flutter",
"token_count": 12947
} | 608 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
void _validate(List<String> args) {
bool errors = false;
if (!File('bin/internal/engine.version').existsSync()) {
errors = true;... | flutter/dev/tools/find_engine_commit.dart/0 | {
"file_path": "flutter/dev/tools/find_engine_commit.dart",
"repo_id": "flutter",
"token_count": 1300
} | 609 |
{
"version": "v0_206",
"md.comp.checkbox.container.size": 18.0,
"md.comp.checkbox.error.focus.state-layer.color": "error",
"md.comp.checkbox.error.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
"md.comp.checkbox.error.hover.state-layer.color": "error",
"md.comp.checkbox.error.hover.s... | flutter/dev/tools/gen_defaults/data/checkbox.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/checkbox.json",
"repo_id": "flutter",
"token_count": 1641
} | 610 |
{
"version": "v0_206",
"md.comp.fab.primary.container.color": "primaryContainer",
"md.comp.fab.primary.container.elevation": "md.sys.elevation.level3",
"md.comp.fab.primary.container.height": 56.0,
"md.comp.fab.primary.container.shadow-color": "shadow",
"md.comp.fab.primary.container.shape": "md.sys.shape.... | flutter/dev/tools/gen_defaults/data/fab_primary.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/fab_primary.json",
"repo_id": "flutter",
"token_count": 754
} | 611 |
{
"version": "v0_206",
"md.comp.linear-progress-indicator.active-indicator.color": "primary",
"md.comp.linear-progress-indicator.active-indicator.height": 4.0,
"md.comp.linear-progress-indicator.active-indicator.shape": "md.sys.shape.corner.none",
"md.comp.linear-progress-indicator.four-color.active-indicato... | flutter/dev/tools/gen_defaults/data/progress_indicator_linear.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/progress_indicator_linear.json",
"repo_id": "flutter",
"token_count": 299
} | 612 |
{
"version": "v0_206",
"md.comp.top-app-bar.medium.container.color": "surface",
"md.comp.top-app-bar.medium.container.elevation": "md.sys.elevation.level0",
"md.comp.top-app-bar.medium.container.height": 112.0,
"md.comp.top-app-bar.medium.container.shape": "md.sys.shape.corner.none",
"md.comp.top-app-bar.m... | flutter/dev/tools/gen_defaults/data/top_app_bar_medium.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/top_app_bar_medium.json",
"repo_id": "flutter",
"token_count": 281
} | 613 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'template.dart';
class DialogTemplate extends TokenTemplate {
const DialogTemplate(super.blockName, super.fileName, super.tokens, {
super.col... | flutter/dev/tools/gen_defaults/lib/dialog_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/dialog_template.dart",
"repo_id": "flutter",
"token_count": 649
} | 614 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'template.dart';
class ProgressIndicatorTemplate extends TokenTemplate {
const ProgressIndicatorTemplate(super.blockName, super.fileName, super.t... | flutter/dev/tools/gen_defaults/lib/progress_indicator_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/progress_indicator_template.dart",
"repo_id": "flutter",
"token_count": 391
} | 615 |
Versions used, v1.0.0, v2.0.0
bar,
foo
| flutter/dev/tools/gen_defaults/test.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/test.json",
"repo_id": "flutter",
"token_count": 22
} | 616 |
{
"Numpad0": "NumpadInsert",
"Numpad1": "NumpadEnd",
"Numpad2": "NumpadDown",
"Numpad3": "NumpadPageDown",
"Numpad4": "NumpadLeft",
"Numpad6": "NumpadRight",
"Numpad7": "NumpadHome",
"Numpad8": "NumpadUp",
"Numpad9": "NumpadPageUp",
"NumpadPeriod": "NumpadDelete"
}
| flutter/dev/tools/gen_keycodes/data/gtk_numpad_shift.json/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/data/gtk_numpad_shift.json",
"repo_id": "flutter",
"token_count": 147
} | 617 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
// This file is generated by dev/tools/gen_keycodes/bin/gen_keycodes.dart and
// should not be edited directly... | flutter/dev/tools/gen_keycodes/data/web_key_map_dart.tmpl/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/data/web_key_map_dart.tmpl",
"repo_id": "flutter",
"token_count": 367
} | 618 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:path/path.dart' as path;
import 'base_code_gen.dart';
import 'logical_key_data.dart';
import 'physical_key_data.dart';
import 'utils.dart'... | flutter/dev/tools/gen_keycodes/lib/testing_key_codes_cc_gen.dart/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/lib/testing_key_codes_cc_gen.dart",
"repo_id": "flutter",
"token_count": 635
} | 619 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'dart:io';
import 'package:args/args.dart' as argslib;
import 'package:meta/meta.dart';
import 'language_subtag_registry.da... | flutter/dev/tools/localization/localizations_utils.dart/0 | {
"file_path": "flutter/dev/tools/localization/localizations_utils.dart",
"repo_id": "flutter",
"token_count": 5886
} | 620 |
<svg id="svg_build_00" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" >
<g if="group_2" transform="scale(0.5,0.5)">
<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" />
</g>
</svg>
| flutter/dev/tools/vitool/test_assets/bar_group_scale.svg/0 | {
"file_path": "flutter/dev/tools/vitool/test_assets/bar_group_scale.svg",
"repo_id": "flutter",
"token_count": 123
} | 621 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.