text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
name: gen_web_keyboard_keymap
description: Generates keyboard layouts for Web from external sources.
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
args: any
http: any
path: any
meta: any
dependency_overrides:
args:
path: ../../../third_party/dart/third_party/pkg/args
async:
path: ../../../... | engine/tools/gen_web_locale_keymap/pubspec.yaml/0 | {
"file_path": "engine/tools/gen_web_locale_keymap/pubspec.yaml",
"repo_id": "engine",
"token_count": 448
} | 471 |
#!/bin/sh
# 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.
YELLOW='[33m'
RED='[31m'
NC='[0m'
BOLD='[1m'
echo "${BOLD}${RED}Warning:${NC} ${BOLD}Pre-push checks are not enabled!${NC}"
echo "${YELLOW}${BOL... | engine/tools/githooks/windows/pre-push/0 | {
"file_path": "engine/tools/githooks/windows/pre-push",
"repo_id": "engine",
"token_count": 154
} | 472 |
// 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.
import 'dart:io' as io;
import 'package:meta/meta.dart';
import 'package:path/path.dart' as p;
import 'package:source_span/source_span.dart';
/// Represe... | engine/tools/header_guard_check/lib/src/header_file.dart/0 | {
"file_path": "engine/tools/header_guard_check/lib/src/header_file.dart",
"repo_id": "engine",
"token_count": 3940
} | 473 |
Copyright (C) The Internet Society (2002). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without rest... | engine/tools/licenses/data/ietf/0 | {
"file_path": "engine/tools/licenses/data/ietf",
"repo_id": "engine",
"token_count": 309
} | 474 |
// 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.
// ignore_for_file: use_raw_strings, prefer_interpolation_to_compose_strings
import 'dart:core' hide RegExp;
import 'regexp_debug.dart';
// COMMON PATTE... | engine/tools/licenses/lib/patterns.dart/0 | {
"file_path": "engine/tools/licenses/lib/patterns.dart",
"repo_id": "engine",
"token_count": 26168
} | 475 |
// 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.
/// This is a library for parsing the Engine CI configurations that live under
/// flutter/ci/builders. They describe how CI builds, tests, archives, and
/... | engine/tools/pkg/engine_build_configs/lib/engine_build_configs.dart/0 | {
"file_path": "engine/tools/pkg/engine_build_configs/lib/engine_build_configs.dart",
"repo_id": "engine",
"token_count": 300
} | 476 |
// 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.
import 'dart:io' as io show Directory, File, stdout;
import 'package:path/path.dart' as path;
import 'package:process/process.dart';
import 'package:proce... | engine/tools/pkg/git_repo_tools/lib/git_repo_tools.dart/0 | {
"file_path": "engine/tools/pkg/git_repo_tools/lib/git_repo_tools.dart",
"repo_id": "engine",
"token_count": 1807
} | 477 |
// 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.
#ifndef FLUTTER_VULKAN_PROCS_VULKAN_HANDLE_H_
#define FLUTTER_VULKAN_PROCS_VULKAN_HANDLE_H_
#include <functional>
#include "flutter/fml/logging.h"
#inclu... | engine/vulkan/procs/vulkan_handle.h/0 | {
"file_path": "engine/vulkan/procs/vulkan_handle.h",
"repo_id": "engine",
"token_count": 773
} | 478 |
// 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.
#include "vulkan_image.h"
#include "flutter/vulkan/procs/vulkan_proc_table.h"
#include "vulkan_command_buffer.h"
namespace vulkan {
VulkanImage::VulkanI... | engine/vulkan/vulkan_image.cc/0 | {
"file_path": "engine/vulkan/vulkan_image.cc",
"repo_id": "engine",
"token_count": 885
} | 479 |
// 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.
#ifndef FLUTTER_VULKAN_VULKAN_UTILITIES_H_
#define FLUTTER_VULKAN_VULKAN_UTILITIES_H_
#include <string>
#include <vector>
#include "flutter/fml/macros.h"... | engine/vulkan/vulkan_utilities.h/0 | {
"file_path": "engine/vulkan/vulkan_utilities.h",
"repo_id": "engine",
"token_count": 364
} | 480 |
// 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.
// ignore_for_file: avoid_dynamic_calls
@JS()
library test.host;
import 'dart:async';
import 'dart:convert';
import 'dart:js_interop';
import 'package:s... | engine/web_sdk/web_engine_tester/lib/static/host.dart/0 | {
"file_path": "engine/web_sdk/web_engine_tester/lib/static/host.dart",
"repo_id": "engine",
"token_count": 4187
} | 481 |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="libraries-with-intellij-classes">
<option name="intellijApiContainingLibraries">
<list>
<LibraryCoordinatesState>
<option name="artifactId" value="ideaIU" />
<option name="groupId" value="com.jetbrains.... | flutter-intellij/.idea/libraries-with-intellij-classes.xml/0 | {
"file_path": "flutter-intellij/.idea/libraries-with-intellij-classes.xml",
"repo_id": "flutter-intellij",
"token_count": 1275
} | 482 |
# Code of conduct
When contributing code to the `flutter-intellij` project, please observe
Flutter's [code of conduct](https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md).
| flutter-intellij/CODE_OF_CONDUCT.md/0 | {
"file_path": "flutter-intellij/CODE_OF_CONDUCT.md",
"repo_id": "flutter-intellij",
"token_count": 61
} | 483 |
/*
* 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;
import com.intellij.AbstractBundle;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import o... | flutter-intellij/flutter-idea/src/io/flutter/FlutterBundle.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/FlutterBundle.java",
"repo_id": "flutter-intellij",
"token_count": 365
} | 484 |
/*
* 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.actions;
import com.intellij.openapi.actionSystem.ActionUpdateThread;
import com.intellij.openapi.actionSystem.AnActionEvent;
im... | flutter-intellij/flutter-idea/src/io/flutter/actions/FlutterAppAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/FlutterAppAction.java",
"repo_id": "flutter-intellij",
"token_count": 1113
} | 485 |
/*
* 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.actions;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.GeneralCommandLine;
impo... | flutter-intellij/flutter-idea/src/io/flutter/actions/OpenInAppCodeAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/OpenInAppCodeAction.java",
"repo_id": "flutter-intellij",
"token_count": 1547
} | 486 |
/*
* 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.analytics;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com... | flutter-intellij/flutter-idea/src/io/flutter/analytics/Analytics.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/analytics/Analytics.java",
"repo_id": "flutter-intellij",
"token_count": 3971
} | 487 |
/*
* 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.console;
import com.intellij.execution.ConsoleFolding;
import com.intellij.openapi.project.Project;
import io.flutter.settings.F... | flutter-intellij/flutter-idea/src/io/flutter/console/FlutterConsoleExceptionFolding.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/console/FlutterConsoleExceptionFolding.java",
"repo_id": "flutter-intellij",
"token_count": 465
} | 488 |
/*
* 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.google.common.collect.HashMultimap;
import com.google.common.collect.SetMultimap;
import com.intellij.openapi... | flutter-intellij/flutter-idea/src/io/flutter/editor/EditorEventServiceBase.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/EditorEventServiceBase.java",
"repo_id": "flutter-intellij",
"token_count": 839
} | 489 |
/*
* 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.editor;
import com.intellij.AppTopics;
import com.intellij.application.options.CodeStyle;
import com.intellij.openapi.applicatio... | flutter-intellij/flutter-idea/src/io/flutter/editor/FlutterSaveActionsManager.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/FlutterSaveActionsManager.java",
"repo_id": "flutter-intellij",
"token_count": 2635
} | 490 |
/*
* 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.intellij.application.options.editor.EditorOptionsListener;
import com.intellij.codeHighlighting.Pass;
import ... | flutter-intellij/flutter-idea/src/io/flutter/editor/WidgetIndentsHighlightingPassFactory.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/WidgetIndentsHighlightingPassFactory.java",
"repo_id": "flutter-intellij",
"token_count": 4271
} | 491 |
/*
* 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.inspector;
import com.google.gson.JsonObject;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Log... | flutter-intellij/flutter-idea/src/io/flutter/inspector/EvalOnDartLibrary.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/EvalOnDartLibrary.java",
"repo_id": "flutter-intellij",
"token_count": 4292
} | 492 |
/*
* 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 com.intellij.openapi.Disposable;
import com.intellij.ui.components.JBScrollBar;
import gnu.trove.THashSet;
imp... | flutter-intellij/flutter-idea/src/io/flutter/inspector/TreeScrollAnimator.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/TreeScrollAnimator.java",
"repo_id": "flutter-intellij",
"token_count": 6317
} | 493 |
/*
* 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.module.settings;
import com.intellij.ide.util.projectWizard.SettingsStep;
import com.intellij.openapi.ui.DialogPanel;
import com... | flutter-intellij/flutter-idea/src/io/flutter/module/settings/FlutterCreateAdditionalSettingsFields.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/module/settings/FlutterCreateAdditionalSettingsFields.java",
"repo_id": "flutter-intellij",
"token_count": 3168
} | 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.perf;
import com.google.common.collect.LinkedListMultimap;
import com.google.common.collect.Multimap;
import com.intellij.openap... | flutter-intellij/flutter-idea/src/io/flutter/perf/FilePerfInfo.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/FilePerfInfo.java",
"repo_id": "flutter-intellij",
"token_count": 814
} | 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.perf;
import com.google.gson.JsonObject;
import com.intellij.openapi.fileEditor.FileEditor;
import com.intellij.openapi.util.Dis... | flutter-intellij/flutter-idea/src/io/flutter/perf/VmServiceWidgetPerfProvider.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/VmServiceWidgetPerfProvider.java",
"repo_id": "flutter-intellij",
"token_count": 2089
} | 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.preview;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.actionS... | flutter-intellij/flutter-idea/src/io/flutter/preview/PreviewArea.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/preview/PreviewArea.java",
"repo_id": "flutter-intellij",
"token_count": 1977
} | 497 |
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="io.flutter.run.FlutterConfigurationEditorForm">
<grid id="27dc6" binding="myMainPanel" default-binding="true" layout-manager="GridLayoutManager" row-count="11" column-count="2" same-size-horizontal... | flutter-intellij/flutter-idea/src/io/flutter/run/FlutterConfigurationEditorForm.form/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/FlutterConfigurationEditorForm.form",
"repo_id": "flutter-intellij",
"token_count": 3311
} | 498 |
# Debugger Architecture Overview
## `io.flutter.run`
* `LaunchState` - launches a Flutter app in "machine" mode so that it
[sends and receives JSON messages](https://github.com/flutter/flutter/wiki/The-flutter-daemon-mode).
* `LaunchState.Runner` - abstract class for a way of running a Flutter app (either using a ... | flutter-intellij/flutter-idea/src/io/flutter/run/README.md/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/README.md",
"repo_id": "flutter-intellij",
"token_count": 585
} | 499 |
/*
* 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.execution.ExecutionException;
import com.intellij.execution.Executor;
import com.intellij.exe... | flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/BazelTestLaunchState.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/BazelTestLaunchState.java",
"repo_id": "flutter-intellij",
"token_count": 1452
} | 500 |
/*
* 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.CoverageEngine;
import com.intellij.coverage.CoverageRunner;
import com.intellij.cove... | flutter-intellij/flutter-idea/src/io/flutter/run/coverage/FlutterCoverageRunner.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/coverage/FlutterCoverageRunner.java",
"repo_id": "flutter-intellij",
"token_count": 649
} | 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.run.test;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.i... | flutter-intellij/flutter-idea/src/io/flutter/run/test/FlutterTestEventsConverter.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/test/FlutterTestEventsConverter.java",
"repo_id": "flutter-intellij",
"token_count": 1680
} | 502 |
/*
* 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.sdk;
import com.google.common.collect.ImmutableSet;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.p... | flutter-intellij/flutter-idea/src/io/flutter/sdk/AndroidEmulatorManager.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/sdk/AndroidEmulatorManager.java",
"repo_id": "flutter-intellij",
"token_count": 1271
} | 503 |
/*
* 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.sdk;
import com.intellij.execution.configurations.GeneralCommandLine;
import com.intellij.execution.process.OSProcessUtil;
impor... | flutter-intellij/flutter-idea/src/io/flutter/sdk/XcodeUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/sdk/XcodeUtils.java",
"repo_id": "flutter-intellij",
"token_count": 898
} | 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.intellij.openapi.util.text.StringUtil;
import com.intellij.ui.ColorUtil;
import com.intellij.ui.LayeredIcon;
i... | flutter-intellij/flutter-idea/src/io/flutter/utils/CustomIconMaker.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/CustomIconMaker.java",
"repo_id": "flutter-intellij",
"token_count": 1639
} | 505 |
/*
* 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.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.GeneralCommandLine;
import... | flutter-intellij/flutter-idea/src/io/flutter/utils/SystemUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/SystemUtils.java",
"repo_id": "flutter-intellij",
"token_count": 680
} | 506 |
/*
* 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;
/**
* This class is ported from the Vector3 class in the Dart vector_math
* package. The... | flutter-intellij/flutter-idea/src/io/flutter/utils/math/Vector3.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/math/Vector3.java",
"repo_id": "flutter-intellij",
"token_count": 8098
} | 507 |
/*
* 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.table.JBTable;
import org.jetbrains.annotations.NotNull;
import ja... | flutter-intellij/flutter-idea/src/io/flutter/view/HighlightedTable.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/HighlightedTable.java",
"repo_id": "flutter-intellij",
"token_count": 939
} | 508 |
package io.flutter.vmService;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.Ref;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.util.concurrency.Semaphore;
import com.intellij.xdebugger.XExpression;
imp... | flutter-intellij/flutter-idea/src/io/flutter/vmService/DartVmServiceListener.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/DartVmServiceListener.java",
"repo_id": "flutter-intellij",
"token_count": 3868
} | 509 |
package io.flutter.vmService.frame;
import com.intellij.icons.AllIcons;
import com.intellij.xdebugger.frame.XExecutionStack;
import com.intellij.xdebugger.frame.XStackFrame;
import io.flutter.vmService.DartVmServiceDebugProcess;
import org.dartlang.vm.service.element.Frame;
import org.dartlang.vm.service.element.Insta... | flutter-intellij/flutter-idea/src/io/flutter/vmService/frame/DartVmServiceExecutionStack.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/frame/DartVmServiceExecutionStack.java",
"repo_id": "flutter-intellij",
"token_count": 1125
} | 510 |
/*
* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*
* This file has been automatically generated. Please do not edit it manually.
* To regenerate the... | flutter-intellij/flutter-idea/src/org/dartlang/analysis/server/protocol/RequestErrorCode.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/org/dartlang/analysis/server/protocol/RequestErrorCode.java",
"repo_id": "flutter-intellij",
"token_count": 2353
} | 511 |
/*
* 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.module.Module;
import com.jetbrains.lang.dart.util.... | flutter-intellij/flutter-idea/testSrc/integration/io/flutter/testing/FlutterModuleFixture.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/integration/io/flutter/testing/FlutterModuleFixture.java",
"repo_id": "flutter-intellij",
"token_count": 574
} | 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 io.flutter.dart;
import com.intellij.psi.PsiElement;
import com.intellij.psi.impl.source.tree.LeafPsiElement;
import com.intellij.psi.util... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/dart/DartSyntaxTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/dart/DartSyntaxTest.java",
"repo_id": "flutter-intellij",
"token_count": 1416
} | 513 |
/*
* 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.collect.ImmutableMap;
import com.google.gson.JsonObject;
import io.flutter.utils.JsonUtils;... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/daemon/DaemonApiTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/daemon/DaemonApiTest.java",
"repo_id": "flutter-intellij",
"token_count": 1445
} | 514 |
/*
* 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 com.google.common.collect.ImmutableList;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/EventStreamTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/EventStreamTest.java",
"repo_id": "flutter-intellij",
"token_count": 2755
} | 515 |
/*
* 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/VmServiceBase.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/VmServiceBase.java",
"repo_id": "flutter-intellij",
"token_count": 7275
} | 516 |
/*
* 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/AllocationProfile.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/AllocationProfile.java",
"repo_id": "flutter-intellij",
"token_count": 648
} | 517 |
/*
* 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/CpuSample.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/CpuSample.java",
"repo_id": "flutter-intellij",
"token_count": 1008
} | 518 |
/*
* 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/Frame.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Frame.java",
"repo_id": "flutter-intellij",
"token_count": 1082
} | 519 |
/*
* 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/LibraryDependency.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/LibraryDependency.java",
"repo_id": "flutter-intellij",
"token_count": 636
} | 520 |
/*
* 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/Protocol.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Protocol.java",
"repo_id": "flutter-intellij",
"token_count": 400
} | 521 |
/*
* 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/Version.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Version.java",
"repo_id": "flutter-intellij",
"token_count": 383
} | 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;
import com.intellij.openapi.application.ApplicationInfo;
import com.intellij.openapi.ui.Messages;
public class FlutterStudioIn... | flutter-intellij/flutter-studio/src/io/flutter/FlutterStudioInitializer.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/FlutterStudioInitializer.java",
"repo_id": "flutter-intellij",
"token_count": 296
} | 523 |
/*
* 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;
//import static com.android.tools.idea.gradle.project.importing.GradleProjectImporter.ANDROID_PROJECT_TYPE;
import stati... | flutter-intellij/flutter-studio/src/io/flutter/utils/AddToAppUtils.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/utils/AddToAppUtils.java",
"repo_id": "flutter-intellij",
"token_count": 2848
} | 524 |
/*
* 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.android.tools.idea.tests.gui.framework.GuiTests.find... | flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/newProjectWizard/NewFlutterModuleWizardFixture.java/0 | {
"file_path": "flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/newProjectWizard/NewFlutterModuleWizardFixture.java",
"repo_id": "flutter-intellij",
"token_count": 1023
} | 525 |
{
"list": [
{
"channel": "stable",
"comments": "IntelliJ 2023.2, Android Studio Iguana 2023.2",
"name": "2023.2",
"version": "2023.2",
"isUnitTestTarget": "false",
"ideaProduct": "android-studio",
"ideaVersion": "2023.2.1.23",
"baseVersion": "232.10072.27",
"a... | flutter-intellij/product-matrix.json/0 | {
"file_path": "flutter-intellij/product-matrix.json",
"repo_id": "flutter-intellij",
"token_count": 448
} | 526 |
{
"activeBlue": "ff007aff",
"activeBlue.darkColor": "ff0a84ff",
"activeBlue.darkElevatedColor": "ff0a84ff",
"activeBlue.darkHighContrastColor": "ff409cff",
"activeBlue.darkHighContrastElevatedColor": "ff409cff",
"activeBlue.elevatedColor": "ff007aff",
"activeBlue.highContrastColor": "ff0040dd",
"activeBlue.high... | flutter-intellij/resources/flutter/colors/cupertino.json/0 | {
"file_path": "flutter-intellij/resources/flutter/colors/cupertino.json",
"repo_id": "flutter-intellij",
"token_count": 5717
} | 527 |
{
"frameworkVersion": "3.1.0",
"channel": "beta",
"repositoryUrl": "https://github.com/flutter/flutter",
"frameworkRevision": "bcea432bce54a83306b3c00a7ad0ed98f777348d",
"frameworkCommitDate": "2022-05-26 09:05:34 -0700",
"engineRevision": "44e5b38ee83a1282981a30abc08ffcf6cd0e44bd",
"dartSdkVersion": "2.1... | flutter-intellij/resources/flutter/version.json/0 | {
"file_path": "flutter-intellij/resources/flutter/version.json",
"repo_id": "flutter-intellij",
"token_count": 178
} | 528 |
<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M5 15H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zM12 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3... | flutter-intellij/resources/icons/preview/center.svg/0 | {
"file_path": "flutter-intellij/resources/icons/preview/center.svg",
"repo_id": "flutter-intellij",
"token_count": 235
} | 529 |
#!/bin/bash
source ./tool/kokoro/setup.sh
setup
(cd flutter-idea/testData/sample_tests; echo "dart pub get `pwd`"; dart pub get --no-precompile)
echo "kokoro test start"
./bin/plugin test
echo "kokoro test finished"
| flutter-intellij/tool/kokoro/test.sh/0 | {
"file_path": "flutter-intellij/tool/kokoro/test.sh",
"repo_id": "flutter-intellij",
"token_count": 82
} | 530 |
# Describes the targets run in continuous integration environment.
#
# Flutter infra uses this file to generate a checklist of tasks to be performed
# for every commit.
#
# The recipes mentioned below refer to those in this repo:
# https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/
#
# The "flutter_d... | flutter/.ci.yaml/0 | {
"file_path": "flutter/.ci.yaml",
"repo_id": "flutter",
"token_count": 82990
} | 531 |
@ECHO off
REM Copyright 2014 The Flutter Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.
REM ---------------------------------- NOTE ----------------------------------
REM
REM Please keep the logic in this file consistent with the ... | flutter/bin/dart.bat/0 | {
"file_path": "flutter/bin/dart.bat",
"repo_id": "flutter",
"token_count": 403
} | 532 |
flutter_infra_release/flutter/fonts/3012db47f3130e62f7cc0beabff968a33cbec8d8/fonts.zip
| flutter/bin/internal/material_fonts.version/0 | {
"file_path": "flutter/bin/internal/material_fonts.version",
"repo_id": "flutter",
"token_count": 44
} | 533 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'use_cases.dart';
class RadioListTileUseCase extends UseCase {
@override
String get name => 'RadioLis... | flutter/dev/a11y_assessments/lib/use_cases/radio_list_tile.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/lib/use_cases/radio_list_tile.dart",
"repo_id": "flutter",
"token_count": 571
} | 534 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| flutter/dev/a11y_assessments/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "flutter/dev/a11y_assessments/macos/Runner/Configs/Release.xcconfig",
"repo_id": "flutter",
"token_count": 32
} | 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:a11y_assessments/use_cases/radio_list_tile.dart';
import 'package:flutter_test/flutter_test.dart';
import 'test_utils.dart';
void main() ... | flutter/dev/a11y_assessments/test/radio_list_tile_test.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/test/radio_list_tile_test.dart",
"repo_id": "flutter",
"token_count": 187
} | 536 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('Exception handling in test harness... | flutter/dev/automated_tests/integration_test/exception_handling_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/integration_test/exception_handling_test.dart",
"repo_id": "flutter",
"token_count": 228
} | 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 'dart:math';
import 'package:flutter/material.dart';
// Based on https://github.com/eseidelGoogle/bezier_perf/blob/master/lib/main.dart
class Cubi... | flutter/dev/benchmarks/macrobenchmarks/lib/src/cubic_bezier.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/cubic_bezier.dart",
"repo_id": "flutter",
"token_count": 4610
} | 538 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
class PictureCacheComplexityScoringPage extends StatelessWidget {
const PictureCacheComplexityScoringPage({super... | flutter/dev/benchmarks/macrobenchmarks/lib/src/picture_cache_complexity_scoring.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/picture_cache_complexity_scoring.dart",
"repo_id": "flutter",
"token_count": 675
} | 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:ui';
import 'recorder.dart';
/// Repeatedly paints a grid of rectangles.
///
/// Measures the performance of the `drawRect` operation.
class... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_draw_rect.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_draw_rect.dart",
"repo_id": "flutter",
"token_count": 1204
} | 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:math' as math;
import 'dart:ui';
import 'recorder.dart';
import 'test_data.dart';
/// Draws 9 screens worth of text in a 3x3 grid with only ... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_text_out_of_picture_bounds.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_text_out_of_picture_bounds.dart",
"repo_id": "flutter",
"token_count": 1679
} | 541 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_driver/flutter_driver.dart';
import 'package:macrobenchmarks/common.dart';
import 'util.dart';
void main() {
macroPerfTest(
... | flutter/dev/benchmarks/macrobenchmarks/test_driver/picture_cache_complexity_scoring_perf_test.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/test_driver/picture_cache_complexity_scoring_perf_test.dart",
"repo_id": "flutter",
"token_count": 393
} | 542 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import '../common.dart';
const int _kNumIterations = 10000;
void main() {
assert(false,
"Don't run ben... | flutter/dev/benchmarks/microbenchmarks/lib/foundation/timeline_bench.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/foundation/timeline_bench.dart",
"repo_id": "flutter",
"token_count": 518
} | 543 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui;
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import '../common.dart';
const List<Str... | flutter/dev/benchmarks/microbenchmarks/lib/ui/image_bench.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/ui/image_bench.dart",
"repo_id": "flutter",
"token_count": 1834
} | 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.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.7.10"
rep... | flutter/dev/benchmarks/multiple_flutters/android/build.gradle/0 | {
"file_path": "flutter/dev/benchmarks/multiple_flutters/android/build.gradle",
"repo_id": "flutter",
"token_count": 300
} | 545 |
# platform_views_layout_hybrid_composition
## 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_hybrid_composition.timeline_summary.json`.
More detailed logs should be in `buil... | flutter/dev/benchmarks/platform_views_layout_hybrid_composition/README.md/0 | {
"file_path": "flutter/dev/benchmarks/platform_views_layout_hybrid_composition/README.md",
"repo_id": "flutter",
"token_count": 180
} | 546 |
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-Notification@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-Notification@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idio... | flutter/dev/benchmarks/test_apps/stocks/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
"repo_id": "flutter",
"token_count": 1277
} | 547 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'stock_data.dart';
import 'stock_row.dart';
class StockList extends StatelessWidget {
const StockList({
... | flutter/dev/benchmarks/test_apps/stocks/lib/stock_list.dart/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/stock_list.dart",
"repo_id": "flutter",
"token_count": 379
} | 548 |
include: ../analysis_options.yaml
linter:
rules:
avoid_js_rounded_ints: false # CLI code doesn't need to worry about JS issues
| flutter/dev/bots/analysis_options.yaml/0 | {
"file_path": "flutter/dev/bots/analysis_options.yaml",
"repo_id": "flutter",
"token_count": 44
} | 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 'dart:async';
import 'dart:convert';
import 'dart:io' hide Platform;
import 'package:platform/platform.dart' show LocalPlatform, Platform;
import '... | flutter/dev/bots/prepare_package/process_runner.dart/0 | {
"file_path": "flutter/dev/bots/prepare_package/process_runner.dart",
"repo_id": "flutter",
"token_count": 1367
} | 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.
@Deprecated(
'This is the reason and what you should use instead. '
'This feature was deprecated after v1.2.3.'
)
void test1() { }
@Deprecated(
'Mis... | flutter/dev/bots/test/analyze-test-input/root/packages/foo/deprecation.dart/0 | {
"file_path": "flutter/dev/bots/test/analyze-test-input/root/packages/foo/deprecation.dart",
"repo_id": "flutter",
"token_count": 790
} | 551 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:file/memory.dart';
import 'package:platform/platform.dart';
import '../../../packages/flutter_tools/test/src/fake_proce... | flutter/dev/bots/test/post_process_docs_test.dart/0 | {
"file_path": "flutter/dev/bots/test/post_process_docs_test.dart",
"repo_id": "flutter",
"token_count": 2188
} | 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.
// See: https://github.com/flutter/flutter/wiki/Release-process
export 'src/candidates.dart';
export 'src/clean.dart';
export 'src/git.dart';
export 'src/... | flutter/dev/conductor/core/lib/conductor_core.dart/0 | {
"file_path": "flutter/dev/conductor/core/lib/conductor_core.dart",
"repo_id": "flutter",
"token_count": 189
} | 553 |
syntax = "proto3";
package conductor_state;
// A git remote
message Remote {
string name = 1;
string url = 2;
}
enum ReleasePhase {
// Release was started with `conductor start` and repositories cloned.
APPLY_ENGINE_CHERRYPICKS = 0;
// Verify engine CI is green before opening framework PR.
VERIFY_ENGINE... | flutter/dev/conductor/core/lib/src/proto/conductor_state.proto/0 | {
"file_path": "flutter/dev/conductor/core/lib/src/proto/conductor_state.proto",
"repo_id": "flutter",
"token_count": 1024
} | 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 'dart:convert' show jsonDecode;
import 'package:args/command_runner.dart';
import 'package:conductor_core/src/proto/conductor_state.pb.dart' as pb;... | flutter/dev/conductor/core/test/start_test.dart/0 | {
"file_path": "flutter/dev/conductor/core/test/start_test.dart",
"repo_id": "flutter",
"token_count": 18125
} | 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:io' show File;
import 'dart:typed_data';
import 'package:collection/collection.dart';
import 'package:flutter_devicelab/framework/devices.dar... | flutter/dev/devicelab/bin/tasks/flavors_test.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/flavors_test.dart",
"repo_id": "flutter",
"token_count": 1165
} | 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_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/f... | flutter/dev/devicelab/bin/tasks/native_platform_view_ui_tests_ios.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/native_platform_view_ui_tests_ios.dart",
"repo_id": "flutter",
"token_count": 634
} | 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:async';
import 'dart:convert';
import 'dart:io';
import 'package:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab... | flutter/dev/devicelab/bin/tasks/routing_test.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/routing_test.dart",
"repo_id": "flutter",
"token_count": 1567
} | 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.
/// Creates a situation when the test framework was not properly initialized.
///
/// By not calling `task()` the VM service extension is not registered an... | flutter/dev/devicelab/bin/tasks/smoke_test_setup_failure.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/smoke_test_setup_failure.dart",
"repo_id": "flutter",
"token_count": 168
} | 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 'dart:convert';
import 'dart:io';
import 'package:path/path.dart' as path;
import 'host_agent.dart';
import 'utils.dart';
typedef SimulatorFuncti... | flutter/dev/devicelab/lib/framework/ios.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/framework/ios.dart",
"repo_id": "flutter",
"token_count": 2803
} | 560 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:path/path.dart' as path;
import '../framework/task_result.dart';
import '../framework/utils.dart';
/// Run each benchm... | flutter/dev/devicelab/lib/tasks/flutter_tool_startup.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/tasks/flutter_tool_startup.dart",
"repo_id": "flutter",
"token_count": 1830
} | 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:async';
import 'dart:convert';
import 'dart:io';
import 'package:file/file.dart';
import 'package:file/memory.dart';
import 'package:flutter_... | flutter/dev/devicelab/test/cocoon_test.dart/0 | {
"file_path": "flutter/dev/devicelab/test/cocoon_test.dart",
"repo_id": "flutter",
"token_count": 5798
} | 562 |
analyzer:
exclude:
- 'lib/**'
| flutter/dev/docs/analysis_options.yaml/0 | {
"file_path": "flutter/dev/docs/analysis_options.yaml",
"repo_id": "flutter",
"token_count": 17
} | 563 |
package com.example.abstract_method_smoke_test
import android.content.Context
import android.graphics.Color
import android.view.View
import android.view.inputmethod.InputMethodManager
import androidx.annotation.NonNull
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine... | flutter/dev/integration_tests/abstract_method_smoke_test/android/app/src/main/kotlin/com/example/abstract_method_smoke_test/MainActivity.kt/0 | {
"file_path": "flutter/dev/integration_tests/abstract_method_smoke_test/android/app/src/main/kotlin/com/example/abstract_method_smoke_test/MainActivity.kt",
"repo_id": "flutter",
"token_count": 1037
} | 564 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'popup_constants.dart';
export 'popup_constants.dart';
/// A page with a popup menu, a dropdown menu, and... | flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/popup_page.dart/0 | {
"file_path": "flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/popup_page.dart",
"repo_id": "flutter",
"token_count": 2203
} | 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.
plugins {
id "com.android.application"
id "dev.flutter.flutter-gradle-plugin"
id "kotlin-android"
}
def localProperties = new Properties()
def... | flutter/dev/integration_tests/deferred_components_test/android/app/build.gradle/0 | {
"file_path": "flutter/dev/integration_tests/deferred_components_test/android/app/build.gradle",
"repo_id": "flutter",
"token_count": 905
} | 566 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| flutter/dev/integration_tests/flavors/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "flutter/dev/integration_tests/flavors/macos/Runner/Configs/Release.xcconfig",
"repo_id": "flutter",
"token_count": 32
} | 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.
package io.flutter.demo.gallery;
import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterActivity;
import io.flutter.embedding.engi... | flutter/dev/integration_tests/flutter_gallery/android/app/src/main/java/io/flutter/demo/gallery/MainActivity.java/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/android/app/src/main/java/io/flutter/demo/gallery/MainActivity.java",
"repo_id": "flutter",
"token_count": 252
} | 568 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
const double kColorItemHeight = 48.0;
class Palette {
Palette({ this.name, this.primary, this.accent, this.thre... | flutter/dev/integration_tests/flutter_gallery/lib/demo/colors_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/colors_demo.dart",
"repo_id": "flutter",
"token_count": 2036
} | 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 'dart:math' as math;
import 'package:flutter/material.dart';
// This demo displays one Category at a time. The backdrop show a list
// of all of t... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/backdrop_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/backdrop_demo.dart",
"repo_id": "flutter",
"token_count": 5277
} | 570 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.