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.inspector;
import javax.swing.tree.DefaultMutableTreeNode;
public class TreeUtils {
public static DiagnosticsNode maybeGetDia... | flutter-intellij/flutter-idea/src/io/flutter/inspector/TreeUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/TreeUtils.java",
"repo_id": "flutter-intellij",
"token_count": 176
} | 486 |
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="io.flutter.module.settings.FlutterCreateParams">
<grid id="27dc6" binding="mainPanel" layout-manager="GridLayoutManager" row-count="2" column-count="3" same-size-horizontally="false" same-size-vert... | flutter-intellij/flutter-idea/src/io/flutter/module/settings/FlutterCreateParams.form/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/module/settings/FlutterCreateParams.form",
"repo_id": "flutter-intellij",
"token_count": 1113
} | 487 |
/*
* 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.preview;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Maps;
import com.google.common.collect... | flutter-intellij/flutter-idea/src/io/flutter/preview/PreviewView.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/preview/PreviewView.java",
"repo_id": "flutter-intellij",
"token_count": 10844
} | 488 |
/*
* Copyright 2016 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;
import com.intellij.execution.configuration.EnvironmentVariablesTextFieldWithBrowseButton;
import com.intellij.openapi.opti... | flutter-intellij/flutter-idea/src/io/flutter/run/FlutterConfigurationEditorForm.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/FlutterConfigurationEditorForm.java",
"repo_id": "flutter-intellij",
"token_count": 823
} | 489 |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | flutter-intellij/flutter-idea/src/io/flutter/run/SdkAttachConfig.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/SdkAttachConfig.java",
"repo_id": "flutter-intellij",
"token_count": 1721
} | 490 |
/*
* 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.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
impo... | flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/BazelTestRunner.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/BazelTestRunner.java",
"repo_id": "flutter-intellij",
"token_count": 4394
} | 491 |
/*
* 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.run.coverage;
import com.intellij.coverage.BaseCoverageSuite;
import com.intellij.coverage.CoverageEngine;
import com.intellij.c... | flutter-intellij/flutter-idea/src/io/flutter/run/coverage/FlutterCoverageSuite.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/coverage/FlutterCoverageSuite.java",
"repo_id": "flutter-intellij",
"token_count": 489
} | 492 |
/*
* 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.sdk;
import com.google.common.collect.ImmutableList;
import com.intellij.execution.ExecutionException;
import com.intellij.execu... | flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterCommand.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterCommand.java",
"repo_id": "flutter-intellij",
"token_count": 3443
} | 493 |
/*
* Copyright 2016 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.settings;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.ide.util.PropertiesComponent;
import com.i... | flutter-intellij/flutter-idea/src/io/flutter/settings/FlutterSettings.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/settings/FlutterSettings.java",
"repo_id": "flutter-intellij",
"token_count": 4007
} | 494 |
/*
* 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.utils;
import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import jav... | flutter-intellij/flutter-idea/src/io/flutter/utils/ElementIO.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/ElementIO.java",
"repo_id": "flutter-intellij",
"token_count": 412
} | 495 |
/*
* 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.utils;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.List;
public class ThreadUtil {
... | flutter-intellij/flutter-idea/src/io/flutter/utils/ThreadUtil.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/ThreadUtil.java",
"repo_id": "flutter-intellij",
"token_count": 567
} | 496 |
/*
* 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.utils.math;
import java.util.Arrays;
/**
* 4D column vector.
* <p>
* This class is ported from the Vector4 class in the Dart... | flutter-intellij/flutter-idea/src/io/flutter/utils/math/Vector4.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/math/Vector4.java",
"repo_id": "flutter-intellij",
"token_count": 6801
} | 497 |
/*
* 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.view;
import com.intellij.ui.JBColor;
import com.intellij.ui.LoadingNode;
import com.intellij.util.ui.JBUI;
import com.intellij.... | flutter-intellij/flutter-idea/src/io/flutter/view/InspectorColoredTreeCellRenderer.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/InspectorColoredTreeCellRenderer.java",
"repo_id": "flutter-intellij",
"token_count": 1833
} | 498 |
/*
* 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.
*/
package io.flutter.vmService;
import com.google.gson.JsonObject;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.op... | flutter-intellij/flutter-idea/src/io/flutter/vmService/DisplayRefreshRateManager.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/DisplayRefreshRateManager.java",
"repo_id": "flutter-intellij",
"token_count": 1988
} | 499 |
package io.flutter.vmService.frame;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.testFramework.LightVirtualFile;
import com.intellij.ui.ColoredTextContainer;
import com.intellij.ui.SimpleTextAttributes;
import com.intellij.util.SmartList;
import com.intellij... | flutter-intellij/flutter-idea/src/io/flutter/vmService/frame/DartVmServiceStackFrame.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/frame/DartVmServiceStackFrame.java",
"repo_id": "flutter-intellij",
"token_count": 2722
} | 500 |
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.android.facet;
import com.android.SdkConstants;
import com.android.tools.idea.gradle.project.Info;
import com.intellij.facet.FacetType;
import com.intellij.... | flutter-intellij/flutter-idea/src/org/jetbrains/android/facet/AndroidFrameworkDetector.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/org/jetbrains/android/facet/AndroidFrameworkDetector.java",
"repo_id": "flutter-intellij",
"token_count": 1330
} | 501 |
/*
* 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.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij... | flutter-intellij/flutter-idea/testSrc/integration/io/flutter/testing/FlutterTestUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/integration/io/flutter/testing/FlutterTestUtils.java",
"repo_id": "flutter-intellij",
"token_count": 1335
} | 502 |
package io.flutter.devtools;
import io.flutter.bazel.WorkspaceCache;
import io.flutter.sdk.FlutterSdkUtil;
import io.flutter.sdk.FlutterSdkVersion;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class DevTools... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/devtools/DevToolsUrlTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/devtools/DevToolsUrlTest.java",
"repo_id": "flutter-intellij",
"token_count": 2005
} | 503 |
/*
* 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.run.daemon;
import com.google.common.base.Joiner;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import org.jun... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/daemon/DaemonEventTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/daemon/DaemonEventTest.java",
"repo_id": "flutter-intellij",
"token_count": 2222
} | 504 |
/*
* 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.utils;
import com.google.common.collect.ImmutableSet;
import com.intellij.openapi.vfs.VirtualFile;
import io.flutter.testing.Tes... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/FileWatchTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/FileWatchTest.java",
"repo_id": "flutter-intellij",
"token_count": 452
} | 505 |
/*
* 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/VmServiceListener.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/VmServiceListener.java",
"repo_id": "flutter-intellij",
"token_count": 306
} | 506 |
/*
* 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/BoundField.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/BoundField.java",
"repo_id": "flutter-intellij",
"token_count": 648
} | 507 |
/*
* 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/CpuSamples.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/CpuSamples.java",
"repo_id": "flutter-intellij",
"token_count": 896
} | 508 |
/*
* 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/LibraryRef.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/LibraryRef.java",
"repo_id": "flutter-intellij",
"token_count": 367
} | 509 |
/*
* 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/SourceReportRange.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/SourceReportRange.java",
"repo_id": "flutter-intellij",
"token_count": 1234
} | 510 |
/*
* 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;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.startup.StartupActivity;
import io.flutter.android.And... | flutter-intellij/flutter-studio/src/io/flutter/FlutterStudioStartupActivity.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/FlutterStudioStartupActivity.java",
"repo_id": "flutter-intellij",
"token_count": 471
} | 511 |
/*
* 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.
*/
package io.flutter.utils;
import com.android.tools.idea.gradle.dsl.model.BuildModelContext;
import com.android.tools.idea.gradle.project.model.Grad... | flutter-intellij/flutter-studio/src/io/flutter/utils/AndroidLocationProvider.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/utils/AndroidLocationProvider.java",
"repo_id": "flutter-intellij",
"token_count": 526
} | 512 |
/*
* 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.newProjectWizard;
import static com.google.common.collect.Lists.newArrayList;
import co... | flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/newProjectWizard/NewFlutterProjectWizardFixture.java/0 | {
"file_path": "flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/newProjectWizard/NewFlutterProjectWizardFixture.java",
"repo_id": "flutter-intellij",
"token_count": 1290
} | 513 |
name: flutter_intellij
version: 0.1.0
environment:
sdk: '>=3.0.0-0.0.dev <4.0.0'
dependencies:
args: any
path: any
dev_dependencies:
grinder: ^0.9.0
http: ^1.1.2
lints: ^3.0.0
meta: any
| flutter-intellij/pubspec.yaml/0 | {
"file_path": "flutter-intellij/pubspec.yaml",
"repo_id": "flutter-intellij",
"token_count": 106
} | 514 |
# Generated file - do not edit.
# suppress inspection "UnusedProperty" for whole file
activeBlue=ff007aff
activeBlue.darkColor=ff0a84ff
activeBlue.darkElevatedColor=ff0a84ff
activeBlue.darkHighContrastColor=ff409cff
activeBlue.darkHighContrastElevatedColor=ff409cff
activeBlue.elevatedColor=ff007aff
activeBlue.highCon... | flutter-intellij/resources/flutter/colors/cupertino.properties/0 | {
"file_path": "flutter-intellij/resources/flutter/colors/cupertino.properties",
"repo_id": "flutter-intellij",
"token_count": 4501
} | 515 |
fonts:
- icons: FontAwesomeIcons
- family: FontAwesomeBrands
fonts:
- asset: fonts/fa-brands-400.ttf
class: IconDataBrands
- family: FontAwesomeRegular
fonts:
- asset: fonts/fa-icon-400.ttf
class: IconDataRegular
- family: FontAwesomeSolid
fonts:
- asset: fonts/fa-s... | flutter-intellij/resources/iconAssetMaps/FontAwesomeIcons/asset_map.yaml/0 | {
"file_path": "flutter-intellij/resources/iconAssetMaps/FontAwesomeIcons/asset_map.yaml",
"repo_id": "flutter-intellij",
"token_count": 154
} | 516 |
# Changelog
## 0.0.1
- Initial version
| flutter-intellij/tool/plugin/CHANGELOG.md/0 | {
"file_path": "flutter-intellij/tool/plugin/CHANGELOG.md",
"repo_id": "flutter-intellij",
"token_count": 18
} | 517 |
e2e09d9fba1187f8d6aafaa34d4172f56f1ffb72
| flutter/bin/internal/openssl.version/0 | {
"file_path": "flutter/bin/internal/openssl.version",
"repo_id": "flutter",
"token_count": 29
} | 518 |
package com.example.a11y_assessments
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity()
| flutter/dev/a11y_assessments/android/app/src/main/kotlin/com/example/a11y_assessments/MainActivity.kt/0 | {
"file_path": "flutter/dev/a11y_assessments/android/app/src/main/kotlin/com/example/a11y_assessments/MainActivity.kt",
"repo_id": "flutter",
"token_count": 39
} | 519 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'use_cases.dart';
class SliderUseCase extends UseCase {
@override
String get name => 'Slider';
@ov... | flutter/dev/a11y_assessments/lib/use_cases/slider.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/lib/use_cases/slider.dart",
"repo_id": "flutter",
"token_count": 475
} | 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:a11y_assessments/use_cases/slider.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import '... | flutter/dev/a11y_assessments/test/slider_test.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/test/slider_test.dart",
"repo_id": "flutter",
"token_count": 256
} | 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.
// This test is a use case of flutter/flutter#60796
// the test should be run as:
// flutter drive -t test/using_array.dart --driver test_driver/scrolling_... | flutter/dev/benchmarks/complex_layout/test/measure_scroll_smoothness.dart/0 | {
"file_path": "flutter/dev/benchmarks/complex_layout/test/measure_scroll_smoothness.dart",
"repo_id": "flutter",
"token_count": 3165
} | 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.
import 'package:flutter/material.dart';
class CullOpacityPage extends StatefulWidget {
const CullOpacityPage({super.key});
@override
State<Stateful... | flutter/dev/benchmarks/macrobenchmarks/lib/src/cull_opacity.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/cull_opacity.dart",
"repo_id": "flutter",
"token_count": 587
} | 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 'dart:ui';
import 'package:flutter/material.dart';
class PostBackdropFilterPage extends StatefulWidget {
const PostBackdropFilterPage({super.key... | flutter/dev/benchmarks/macrobenchmarks/lib/src/post_backdrop_filter.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/post_backdrop_filter.dart",
"repo_id": "flutter",
"token_count": 1748
} | 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:ui';
import 'recorder.dart';
import 'test_data.dart';
/// The height of each row.
const double kRowHeight = 20.0;
/// Number of rows.
const... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_dynamic_clip_on_static_picture.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_dynamic_clip_on_static_picture.dart",
"repo_id": "flutter",
"token_count": 1344
} | 525 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import 'recorder.dart';
/// Creates a [Wrap] inside a ListView.
///
/// Tests large number ... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_wrapbox_scroll.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_wrapbox_scroll.dart",
"repo_id": "flutter",
"token_count": 1958
} | 526 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_driver/flutter_driver.dart';
import 'package:macrobenchmarks/common.dart';
import 'util.dart';
void main() {
macroPerfTest(
... | flutter/dev/benchmarks/macrobenchmarks/test_driver/picture_cache_perf_test.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/test_driver/picture_cache_perf_test.dart",
"repo_id": "flutter",
"token_count": 377
} | 527 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/animation.dart';
import '../common.dart';
const int _kNumIters = 10000;
void _testCurve(Curve curve, {required String name, requ... | flutter/dev/benchmarks/microbenchmarks/lib/geometry/curves_bench.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/geometry/curves_bench.dart",
"repo_id": "flutter",
"token_count": 630
} | 528 |
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the... | flutter/dev/benchmarks/multiple_flutters/android/gradle.properties/0 | {
"file_path": "flutter/dev/benchmarks/multiple_flutters/android/gradle.properties",
"repo_id": "flutter",
"token_count": 346
} | 529 |
# platform_views_layout
## Scrolling benchmark
To run the scrolling benchmark on a device:
```
flutter drive --profile test_driver/scroll_perf.dart
```
Results should be in the file `build/platform_views_scroll_perf.timeline_summary.json`.
More detailed logs should be in `build/platform_views_scroll_perf.timeline.... | flutter/dev/benchmarks/platform_views_layout/README.md/0 | {
"file_path": "flutter/dev/benchmarks/platform_views_layout/README.md",
"repo_id": "flutter",
"token_count": 163
} | 530 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering... | flutter/dev/benchmarks/platform_views_layout_hybrid_composition/lib/android_platform_view.dart/0 | {
"file_path": "flutter/dev/benchmarks/platform_views_layout_hybrid_composition/lib/android_platform_view.dart",
"repo_id": "flutter",
"token_count": 563
} | 531 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'stock_arrow.dart';
import 'stock_data.dart';
typedef StockRowActionCallback = void Function(Stock stock);... | flutter/dev/benchmarks/test_apps/stocks/lib/stock_row.dart/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/stock_row.dart",
"repo_id": "flutter",
"token_count": 1350
} | 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 'dart:convert';
import 'dart:core' hide print;
import 'dart:io' hide exit;
import 'dart:typed_data';
import 'package:analyzer/dart/analysis/feature... | flutter/dev/bots/analyze.dart/0 | {
"file_path": "flutter/dev/bots/analyze.dart",
"repo_id": "flutter",
"token_count": 37559
} | 533 |
// THIS FILE HAS NO LICENSE.
// IT IS PART OF A TEST FOR MISSING LICENSES.
| flutter/dev/bots/test/analyze-test-input/root/packages/foo/foo.dart/0 | {
"file_path": "flutter/dev/bots/test/analyze-test-input/root/packages/foo/foo.dart",
"repo_id": "flutter",
"token_count": 24
} | 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 'dart:convert';
import 'dart:io' show ProcessResult;
import 'dart:typed_data';
import 'package:file/file.dart';
import 'package:file/memory.dart';
... | flutter/dev/bots/test/prepare_package_test.dart/0 | {
"file_path": "flutter/dev/bots/test/prepare_package_test.dart",
"repo_id": "flutter",
"token_count": 17734
} | 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:conductor_core/src/proto/conductor_state.pb.dart' as pb;
import 'package:conductor_core/src/state.dart';
import 'package:file/file.dart';
i... | flutter/dev/conductor/core/test/state_test.dart/0 | {
"file_path": "flutter/dev/conductor/core/test/state_test.dart",
"repo_id": "flutter",
"token_count": 813
} | 536 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'dart:typed_data';
import 'package:collection/collection.dart';
import 'package:flutter_devicelab/framework/devices.dart';
import... | flutter/dev/devicelab/bin/tasks/flavors_test_ios.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/flavors_test_ios.dart",
"repo_id": "flutter",
"token_count": 1178
} | 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_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/f... | flutter/dev/devicelab/bin/tasks/large_image_changer_perf_ios.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/large_image_changer_perf_ios.dart",
"repo_id": "flutter",
"token_count": 373
} | 538 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/framework/ios.dart';
import 'package:flutter_devicelab/frame... | flutter/dev/devicelab/bin/tasks/native_ui_tests_macos.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/native_ui_tests_macos.dart",
"repo_id": "flutter",
"token_count": 447
} | 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 'dart:convert';
import 'dart:io';
import 'package:collection/collection.dart';
import 'package:metrics_center/metrics_center.dart';
/// Authentica... | flutter/dev/devicelab/lib/framework/metrics_center.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/framework/metrics_center.dart",
"repo_id": "flutter",
"token_count": 2210
} | 540 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'dart:io';
import 'dart:math' as math;
import '../framework/devices.dart';
import '../framework/framework.dart';
import '../... | flutter/dev/devicelab/lib/tasks/gallery.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/tasks/gallery.dart",
"repo_id": "flutter",
"token_count": 5820
} | 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:test/test.dart';
export 'package:test/test.dart' hide isInstanceOf;
/// A matcher that compares the type of the actual value to the type ... | flutter/dev/devicelab/test/common.dart/0 | {
"file_path": "flutter/dev/devicelab/test/common.dart",
"repo_id": "flutter",
"token_count": 113
} | 542 |
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-ND4LWWZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
| flutter/dev/docs/analytics-footer.html/0 | {
"file_path": "flutter/dev/docs/analytics-footer.html",
"repo_id": "flutter",
"token_count": 83
} | 543 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// The name of the route containing the text field tests.
const String textFieldRoute = 'textField';
/// The string supplied to the [ValueKey] for the no... | flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/text_field_constants.dart/0 | {
"file_path": "flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/text_field_constants.dart",
"repo_id": "flutter",
"token_count": 159
} | 544 |
# Integration test for touch events on embedded Android views
This test verifies that the synthesized motion events that get to embedded
Android view are equal to the motion events that originally hit the FlutterView.
The test app's Android code listens to MotionEvents that get to FlutterView and
to an embedded Andro... | flutter/dev/integration_tests/android_views/README.md/0 | {
"file_path": "flutter/dev/integration_tests/android_views/README.md",
"repo_id": "flutter",
"token_count": 378
} | 545 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_driver/driver_extension.dart';
import 'motion_events_page.dart';
import 'page.dart';
impor... | flutter/dev/integration_tests/android_views/lib/main.dart/0 | {
"file_path": "flutter/dev/integration_tests/android_views/lib/main.dart",
"repo_id": "flutter",
"token_count": 454
} | 546 |
<?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>Channels</string>
<key>CFBu... | flutter/dev/integration_tests/channels/ios/Runner/Info.plist/0 | {
"file_path": "flutter/dev/integration_tests/channels/ios/Runner/Info.plist",
"repo_id": "flutter",
"token_count": 646
} | 547 |
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.android.tools.build:aapt2:4.1.3-6503028
| flutter/dev/integration_tests/deferred_components_test/android/app/gradle/dependency-locks/_internal_aapt2_binary.lockfile/0 | {
"file_path": "flutter/dev/integration_tests/deferred_components_test/android/app/gradle/dependency-locks/_internal_aapt2_binary.lockfile",
"repo_id": "flutter",
"token_count": 61
} | 548 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
include ':app', ':component1'
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
assert loc... | flutter/dev/integration_tests/deferred_components_test/android/settings.gradle/0 | {
"file_path": "flutter/dev/integration_tests/deferred_components_test/android/settings.gradle",
"repo_id": "flutter",
"token_count": 189
} | 549 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class _ContactCategory extends StatelessWidget {
const _ContactCategory(... | flutter/dev/integration_tests/flutter_gallery/lib/demo/contacts_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/contacts_demo.dart",
"repo_id": "flutter",
"token_count": 7621
} | 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 '../../gallery/demo.dart';
enum BannerDemoAction {
reset,
showMultipleActions,
showLeading,
}
class... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/banner_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/banner_demo.dart",
"repo_id": "flutter",
"token_count": 1466
} | 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 'package:collection/collection.dart' show lowerBound;
import 'package:flutter/material.dart';
import 'package:flutter/semantics.dart';
import '../... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/leave_behind_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/leave_behind_demo.dart",
"repo_id": "flutter",
"token_count": 4000
} | 552 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
const String _explanatoryText =
"When the Scaffold's floating action button c... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/tabs_fab_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/tabs_fab_demo.dart",
"repo_id": "flutter",
"token_count": 1948
} | 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:ui' show lerpDouble;
import 'package:flutter/material.dart';
class CutCornersBorder extends OutlineInputBorder {
const CutCornersBorder({
... | flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/supplemental/cut_corners_border.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/supplemental/cut_corners_border.dart",
"repo_id": "flutter",
"token_count": 1547
} | 554 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import 'demos.dart';
imp... | flutter/dev/integration_tests/flutter_gallery/lib/gallery/demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/gallery/demo.dart",
"repo_id": "flutter",
"token_count": 3308
} | 555 |
name: flutter_gallery
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
collection: 1.18.0
device_info: 2.0.3
intl: 0.19.0
connectivity: 3.0.6
string_scanner: 1.2.0
url_launcher: 6.2.5
cupertino_icons: 1.0.6
video_player: 2.8.3
scoped_model: 2.0.0
shrine_images: 2.0.... | flutter/dev/integration_tests/flutter_gallery/pubspec.yaml/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/pubspec.yaml",
"repo_id": "flutter",
"token_count": 6538
} | 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 '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/pesto_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test/pesto_test.dart",
"repo_id": "flutter",
"token_count": 804
} | 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' show JsonEncoder, json;
import 'package:file/file.dart';
import 'package:file/local.dart';
import 'package:flutter_driver/flutter_dr... | flutter/dev/integration_tests/flutter_gallery/test_driver/transitions_perf_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test_driver/transitions_perf_test.dart",
"repo_id": "flutter",
"token_count": 3125
} | 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 "TextFieldFactory.h"
@interface PlatformTextField: NSObject<FlutterPlatformView>
@property (strong, nonatomic) UITextField *textField;
@end
@im... | flutter/dev/integration_tests/ios_platform_view_tests/ios/Runner/TextFieldFactory.m/0 | {
"file_path": "flutter/dev/integration_tests/ios_platform_view_tests/ios/Runner/TextFieldFactory.m",
"repo_id": "flutter",
"token_count": 256
} | 559 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery_localizations.dart';
import 'material_demo_types.dart';
class ChipDemo extends StatelessWidg... | flutter/dev/integration_tests/new_gallery/lib/demos/material/chip_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/chip_demo.dart",
"repo_id": "flutter",
"token_count": 4196
} | 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:flutter/material.dart';
import '../../gallery_localizations.dart';
import 'material_demo_types.dart';
class TabsDemo extends StatelessWidg... | flutter/dev/integration_tests/new_gallery/lib/demos/material/tabs_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/tabs_demo.dart",
"repo_id": "flutter",
"token_count": 1971
} | 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:dual_screen/dual_screen.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/ser... | flutter/dev/integration_tests/new_gallery/lib/pages/demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/pages/demo.dart",
"repo_id": "flutter",
"token_count": 11435
} | 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/material.dart';
import '../../layout/adaptive.dart';
import '../../layout/highlight_focus.dart';
import '../../layout/image_placeho... | flutter/dev/integration_tests/new_gallery/lib/studies/crane/item_cards.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/crane/item_cards.dart",
"repo_id": "flutter",
"token_count": 1904
} | 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:math' as math;
import 'package:animations/animations.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
... | flutter/dev/integration_tests/new_gallery/lib/studies/rally/finance.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/rally/finance.dart",
"repo_id": "flutter",
"token_count": 7062
} | 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:animations/animations.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:provider/pro... | flutter/dev/integration_tests/new_gallery/lib/studies/reply/mail_card_preview.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/reply/mail_card_preview.dart",
"repo_id": "flutter",
"token_count": 5402
} | 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:scoped_model/scoped_model.dart';
import 'product.dart';
import 'products_repository.dart';
double _salesTaxRate = 0.06;
double _shippingC... | flutter/dev/integration_tests/new_gallery/lib/studies/shrine/model/app_state_model.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/model/app_state_model.dart",
"repo_id": "flutter",
"token_count": 1198
} | 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';
import '../../data/gallery_options.dart';
import '../../gallery_localizations.dart';
import 'home.dart';
import 'r... | flutter/dev/integration_tests/new_gallery/lib/studies/starter/app.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/starter/app.dart",
"repo_id": "flutter",
"token_count": 804
} | 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/widgets.dart';
import 'package:flutter_driver/driver_extension.dart';
/// This application displays text passed through a --dart-d... | flutter/dev/integration_tests/ui/lib/defines.dart/0 | {
"file_path": "flutter/dev/integration_tests/ui/lib/defines.dart",
"repo_id": "flutter",
"token_count": 191
} | 568 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:html' as html;
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:meta/dart2js.dart';
// Tests... | flutter/dev/integration_tests/web/lib/framework_stack_trace.dart/0 | {
"file_path": "flutter/dev/integration_tests/web/lib/framework_stack_trace.dart",
"repo_id": "flutter",
"token_count": 751
} | 569 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@ove... | flutter/dev/integration_tests/web_e2e_tests/lib/profile_diagnostics_main.dart/0 | {
"file_path": "flutter/dev/integration_tests/web_e2e_tests/lib/profile_diagnostics_main.dart",
"repo_id": "flutter",
"token_count": 185
} | 570 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
in... | flutter/dev/manual_tests/lib/text.dart/0 | {
"file_path": "flutter/dev/manual_tests/lib/text.dart",
"repo_id": "flutter",
"token_count": 46392
} | 571 |
{
"version": "v0_206",
"md.comp.badge.color": "error",
"md.comp.badge.large.color": "error",
"md.comp.badge.large.label-text.color": "onError",
"md.comp.badge.large.label-text.text-style": "labelSmall",
"md.comp.badge.large.shape": "md.sys.shape.corner.full",
"md.comp.badge.large.size": 16.0,
"md.comp.... | flutter/dev/tools/gen_defaults/data/badge.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/badge.json",
"repo_id": "flutter",
"token_count": 176
} | 572 |
{
"version": "v0_206",
"md.comp.suggestion-chip.container.height": 32.0,
"md.comp.suggestion-chip.container.shape": "md.sys.shape.corner.small",
"md.comp.suggestion-chip.disabled.label-text.color": "onSurface",
"md.comp.suggestion-chip.disabled.label-text.opacity": 0.38,
"md.comp.suggestion-chip.dragged.co... | flutter/dev/tools/gen_defaults/data/chip_suggestion.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/chip_suggestion.json",
"repo_id": "flutter",
"token_count": 1334
} | 573 |
{
"version": "v0_206",
"md.comp.filled-tonal-icon-button.container.color": "secondaryContainer",
"md.comp.filled-tonal-icon-button.container.height": 40.0,
"md.comp.filled-tonal-icon-button.container.shape": "md.sys.shape.corner.full",
"md.comp.filled-tonal-icon-button.container.width": 40.0,
"md.comp.fill... | flutter/dev/tools/gen_defaults/data/icon_button_filled_tonal.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/icon_button_filled_tonal.json",
"repo_id": "flutter",
"token_count": 1208
} | 574 |
{
"version": "v0_206",
"md.comp.outlined-segmented-button.container.height": 40.0,
"md.comp.outlined-segmented-button.disabled.icon.color": "onSurface",
"md.comp.outlined-segmented-button.disabled.icon.opacity": 0.38,
"md.comp.outlined-segmented-button.disabled.label-text.color": "onSurface",
"md.comp.outl... | flutter/dev/tools/gen_defaults/data/segmented_button_outlined.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/segmented_button_outlined.json",
"repo_id": "flutter",
"token_count": 1288
} | 575 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'template.dart';
class ActionChipTemplate extends TokenTemplate {
const ActionChipTemplate(super.blockName, super.fileName, super.tokens, {
s... | flutter/dev/tools/gen_defaults/lib/action_chip_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/action_chip_template.dart",
"repo_id": "flutter",
"token_count": 1415
} | 576 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'template.dart';
class FABTemplate extends TokenTemplate {
const FABTemplate(super.blockName, super.fileName, super.tokens, {
super.colorSche... | flutter/dev/tools/gen_defaults/lib/fab_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/fab_template.dart",
"repo_id": "flutter",
"token_count": 1367
} | 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 'template.dart';
class SegmentedButtonTemplate extends TokenTemplate {
const SegmentedButtonTemplate(this.tokenGroup, super.blockName, super.file... | flutter/dev/tools/gen_defaults/lib/segmented_button_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/segmented_button_template.dart",
"repo_id": "flutter",
"token_count": 2433
} | 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 'dart:convert';
import 'dart:io' hide Platform;
import 'package:args/args.dart';
import 'package:gen_keycodes/android_code_gen.dart';
import 'packa... | flutter/dev/tools/gen_keycodes/bin/gen_keycodes.dart/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/bin/gen_keycodes.dart",
"repo_id": "flutter",
"token_count": 4112
} | 579 |
package io.flutter.util;
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
// This file is generated by
// flutter/flutter:dev/tools/gen_keycodes/bin/gen_keycodes.dart and should not
// be edited directly.
//
// Edit the template
// flutter/flutter:dev/tools/gen_keycodes/data/key_codes_java.tmpl
// instead.
//
// See flutt... | flutter/dev/tools/gen_keycodes/data/key_codes_java.tmpl/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/data/key_codes_java.tmpl",
"repo_id": "flutter",
"token_count": 200
} | 580 |
{
"ControlRight": "ControlRight",
"AltRight": "AltRight",
"Numpad1": "Numpad1",
"Numpad2": "Numpad2",
"Numpad3": "Numpad3",
"Numpad4": "Numpad4",
"Numpad5": "Numpad5",
"Numpad6": "Numpad6",
"Numpad7": "Numpad7",
"Numpad8": "Numpad8",
"Numpad9": "Numpad9",
"Numpad0": "Numpad0",
"NumpadAdd": "Nu... | flutter/dev/tools/gen_keycodes/data/windows_scancode_logical_map.json/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/data/windows_scancode_logical_map.json",
"repo_id": "flutter",
"token_count": 262
} | 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:path/path.dart' as path;
import 'base_code_gen.dart';
import 'constants.dart';
import 'logical_key_data.dart';
import 'physical_key_data.d... | flutter/dev/tools/gen_keycodes/lib/windows_code_gen.dart/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/lib/windows_code_gen.dart",
"repo_id": "flutter",
"token_count": 1371
} | 582 |
#!/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.
set -e
# Update this URL to get another version of the Gradle wrapper.
# If the AOSP folks have changed the layout of their templates, yo... | flutter/dev/tools/repackage_gradle_wrapper.sh/0 | {
"file_path": "flutter/dev/tools/repackage_gradle_wrapper.sh",
"repo_id": "flutter",
"token_count": 1024
} | 583 |
<svg id="svg_build_00" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" >
</svg>
| flutter/dev/tools/vitool/test_assets/empty_svg_1_48x48.svg/0 | {
"file_path": "flutter/dev/tools/vitool/test_assets/empty_svg_1_48x48.svg",
"repo_id": "flutter",
"token_count": 46
} | 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 'dart:developer' as developer;
import 'package:flutter_test/flutter_test.dart';
import 'package:vm_service/vm_service.dart';
import 'package:vm_ser... | flutter/dev/tracing_tests/test/default_streams_test.dart/0 | {
"file_path": "flutter/dev/tracing_tests/test/default_streams_test.dart",
"repo_id": "flutter",
"token_count": 417
} | 585 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.