text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
/*
* Copyright 2019 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.editor;
import com.google.common.base.Joiner;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.A... | flutter-intellij/flutter-idea/src/io/flutter/editor/PropertyEditorPanel.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/PropertyEditorPanel.java",
"repo_id": "flutter-intellij",
"token_count": 10706
} | 600 |
/*
* 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;
/**
* The various priority levels used to filter which diagnostics are shown and
* omitted.
* <p>
* Trees of Flut... | flutter-intellij/flutter-idea/src/io/flutter/inspector/DiagnosticLevel.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/DiagnosticLevel.java",
"repo_id": "flutter-intellij",
"token_count": 875
} | 601 |
/*
* 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.intellij.xdebugger.XSourcePosition;
import com.intellij.xdebugger.frame.XNavigatable;
import com.intellij.... | flutter-intellij/flutter-idea/src/io/flutter/inspector/JumpToSourceAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/JumpToSourceAction.java",
"repo_id": "flutter-intellij",
"token_count": 371
} | 602 |
/*
* 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.logging;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.openapi.util.text.StringUtil;
import io.flu... | flutter-intellij/flutter-idea/src/io/flutter/logging/FlutterErrorHelper.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/logging/FlutterErrorHelper.java",
"repo_id": "flutter-intellij",
"token_count": 987
} | 603 |
/*
* 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.intellij.openapi.editor.Document;
import com.intellij.openapi.fileEditor.FileDocumentManager;
import com.intell... | flutter-intellij/flutter-idea/src/io/flutter/perf/DocumentFileLocationMapper.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/DocumentFileLocationMapper.java",
"repo_id": "flutter-intellij",
"token_count": 1229
} | 604 |
/*
* 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.base.Objects;
import io.flutter.inspector.DiagnosticsNode;
import javax.swing.*;
import java.uti... | flutter-intellij/flutter-idea/src/io/flutter/perf/PerfTipRule.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/PerfTipRule.java",
"repo_id": "flutter-intellij",
"token_count": 2234
} | 605 |
/*
* 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.performance;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.util.Disposer;
import com.intellij.ui.ScrollPan... | flutter-intellij/flutter-idea/src/io/flutter/performance/WidgetPerfSummary.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/performance/WidgetPerfSummary.java",
"repo_id": "flutter-intellij",
"token_count": 826
} | 606 |
/*
* 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.pub;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleManager;
import com.intellij.openapi.pr... | flutter-intellij/flutter-idea/src/io/flutter/pub/PubRootCache.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/pub/PubRootCache.java",
"repo_id": "flutter-intellij",
"token_count": 958
} | 607 |
/*
* 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/BazelTestConfig.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/BazelTestConfig.java",
"repo_id": "flutter-intellij",
"token_count": 770
} | 608 |
/*
* 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.run.common;
import com.intellij.icons.AllIcons;
import com.intellij.psi.PsiElement;
import org.apache.commons.lang3.StringUtils;... | flutter-intellij/flutter-idea/src/io/flutter/run/common/TestType.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/common/TestType.java",
"repo_id": "flutter-intellij",
"token_count": 558
} | 609 |
/*
* 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.daemon;
import com.google.common.base.Stopwatch;
import com.google.gson.JsonObject;
import com.intellij.execution.ExecutionE... | flutter-intellij/flutter-idea/src/io/flutter/run/daemon/FlutterApp.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/daemon/FlutterApp.java",
"repo_id": "flutter-intellij",
"token_count": 10900
} | 610 |
/*
* Copyright 2019 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.samples;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.util.TextRange;
import com.intellij.openapi.ut... | flutter-intellij/flutter-idea/src/io/flutter/samples/DartDocumentUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/samples/DartDocumentUtils.java",
"repo_id": "flutter-intellij",
"token_count": 762
} | 611 |
/*
* 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.sdk;
import com.google.common.annotations.VisibleForTesting;
import com.google.gson.JsonArray;
import com.google.gson.JsonElemen... | flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterSdkUtil.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterSdkUtil.java",
"repo_id": "flutter-intellij",
"token_count": 5222
} | 612 |
/*
* 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.intellij.icons.AllIcons;
import icons.FlutterIcons;
import org.jetbrains.annotations.NotNull;
import javax.sw... | flutter-intellij/flutter-idea/src/io/flutter/utils/AnimatedIcon.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/AnimatedIcon.java",
"repo_id": "flutter-intellij",
"token_count": 2222
} | 613 |
/*
* 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 com.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.GeneralCommandLine;
import... | flutter-intellij/flutter-idea/src/io/flutter/utils/MostlySilentColoredProcessHandler.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/MostlySilentColoredProcessHandler.java",
"repo_id": "flutter-intellij",
"token_count": 886
} | 614 |
/*
* 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.animation;
/**
* A curve that is 0.0 until it hits the threshold, then it jumps to 1.0.
* <p>
* https://flutter.github.... | flutter-intellij/flutter-idea/src/io/flutter/utils/animation/Threshold.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/animation/Threshold.java",
"repo_id": "flutter-intellij",
"token_count": 325
} | 615 |
/*
* 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.view;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.openapi.application.ApplicationManager;
import com.i... | flutter-intellij/flutter-idea/src/io/flutter/view/FlutterViewFactory.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/FlutterViewFactory.java",
"repo_id": "flutter-intellij",
"token_count": 744
} | 616 |
/*
* 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.openapi.Disposable;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openap... | flutter-intellij/flutter-idea/src/io/flutter/view/TogglePlatformAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/TogglePlatformAction.java",
"repo_id": "flutter-intellij",
"token_count": 1980
} | 617 |
package io.flutter.vmService;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import com.google.common.net.PercentEscaper;
import com.google.gson.JsonObject;
import com.intellij.execution.ui.ConsoleViewContentType;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.appli... | flutter-intellij/flutter-idea/src/io/flutter/vmService/VmServiceWrapper.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/VmServiceWrapper.java",
"repo_id": "flutter-intellij",
"token_count": 16454
} | 618 |
/*
* 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/FlutterWidgetPropertyEditor.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/org/dartlang/analysis/server/protocol/FlutterWidgetPropertyEditor.java",
"repo_id": "flutter-intellij",
"token_count": 1400
} | 619 |
/*
* 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.
*/
import'package:test/test.dart';
/// Test data for test line marker tests.
/// The outline for this file is pretty-printed in simple_outline.txt.
/... | flutter-intellij/flutter-idea/testData/sample_tests/test/simple_test.dart/0 | {
"file_path": "flutter-intellij/flutter-idea/testData/sample_tests/test/simple_test.dart",
"repo_id": "flutter-intellij",
"token_count": 243
} | 620 |
/*
* 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.bazel;
import com.intellij.openapi.vfs.VirtualFile;
import io.flutter.testing.ProjectFixture;
import io.flutter.testing.TestDir;... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/bazel/PluginConfigTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/bazel/PluginConfigTest.java",
"repo_id": "flutter-intellij",
"token_count": 267
} | 621 |
/*
* 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.logging;
import com.intellij.execution.filters.Filter;
import com.intellij.execution.filters.HyperlinkInfo;
import com.intellij.... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/logging/FlutterConsoleLogManagerTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/logging/FlutterConsoleLogManagerTest.java",
"repo_id": "flutter-intellij",
"token_count": 3755
} | 622 |
/*
* 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.run.bazelTest;
import com.intellij.execution.actions.ConfigurationContext;
import com.intellij.execution.configurations.Configur... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/bazelTest/BazelTestConfigProducerTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/bazelTest/BazelTestConfigProducerTest.java",
"repo_id": "flutter-intellij",
"token_count": 2769
} | 623 |
/*
* 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;
/**
* Static methods useful in tests that work with JSON.
*/
public class JsonTesting {
private JsonTesting() {}
... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/testing/JsonTesting.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/testing/JsonTesting.java",
"repo_id": "flutter-intellij",
"token_count": 314
} | 624 |
package com.jetbrains.lang.dart.util;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.PathManager;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.roots.impl.libraries.ApplicationLibraryTable;
import com.... | flutter-intellij/flutter-idea/third_party/intellij-plugins-dart/testSrc/com/jetbrains/lang/dart/util/DartTestUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/intellij-plugins-dart/testSrc/com/jetbrains/lang/dart/util/DartTestUtils.java",
"repo_id": "flutter-intellij",
"token_count": 1667
} | 625 |
/*
* 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/consumer/CpuSamplesConsumer.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/consumer/CpuSamplesConsumer.java",
"repo_id": "flutter-intellij",
"token_count": 261
} | 626 |
/*
* 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/IsolateFlag.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/IsolateFlag.java",
"repo_id": "flutter-intellij",
"token_count": 371
} | 627 |
/*
* 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/Parameter.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Parameter.java",
"repo_id": "flutter-intellij",
"token_count": 506
} | 628 |
<?xml version="1.0" encoding="UTF-8"?>
<module type="PLUGIN_MODULE" version="4">
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/resources/META-INF/plugin.xml" />
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DI... | flutter-intellij/flutter-intellij-community.iml/0 | {
"file_path": "flutter-intellij/flutter-intellij-community.iml",
"repo_id": "flutter-intellij",
"token_count": 4517
} | 629 |
/*
* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package com.android.tools.idea.tests.gui.framework.fixture;
import static com.android.tools.idea.gradle.util.BuildMode.ASSEMBLE;
import static com.... | flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/IdeaFrameFixture.java/0 | {
"file_path": "flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/IdeaFrameFixture.java",
"repo_id": "flutter-intellij",
"token_count": 9860
} | 630 |
#!/bin/bash
# This script should execute after a commit.
date
echo "Automatic build started"
# Fail on any error.
set -e
# Display commands being run. Only do this while debugging and be careful
# that no confidential information is displayed.
# set -x
# Code under repo is checked out to ${KOKORO_ARTIFACTS_DIR}/git... | flutter-intellij/kokoro/macos_external/kokoro_build.sh/0 | {
"file_path": "flutter-intellij/kokoro/macos_external/kokoro_build.sh",
"repo_id": "flutter-intellij",
"token_count": 157
} | 631 |
<?xml version="1.0"?>
<!--
* 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.
-->
<!-- TODO Fill this out! -->
<tutorialBundle
icon="icons/flutter_13.png"
logo="icons/flutter_13.png"
name="Flutter... | flutter-intellij/resources/flutter-news-assistant.xml/0 | {
"file_path": "flutter-intellij/resources/flutter-news-assistant.xml",
"repo_id": "flutter-intellij",
"token_count": 795
} | 632 |
// 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.
import 'dart:io';
import 'package:grinder/grinder.dart';
import 'package:http/http.dart' as http;
void main(List<String> args) => grind(args);
@Task('C... | flutter-intellij/tool/grind.dart/0 | {
"file_path": "flutter-intellij/tool/grind.dart",
"repo_id": "flutter-intellij",
"token_count": 1027
} | 633 |
// 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.
import 'dart:async';
import 'dart:io';
import 'package:args/command_runner.dart';
import 'build_spec.dart';
import 'globals.dart';
import 'util.dart';
cla... | flutter-intellij/tool/plugin/lib/runner.dart/0 | {
"file_path": "flutter-intellij/tool/plugin/lib/runner.dart",
"repo_id": "flutter-intellij",
"token_count": 1517
} | 634 |
Google hereby grants to you a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this
section) patent license to make, have made, use, offer to sell, sell,
import, transfer, and otherwise run, modify and propagate the contents
of this implementation, where such license applie... | flutter/PATENT_GRANT/0 | {
"file_path": "flutter/PATENT_GRANT",
"repo_id": "flutter",
"token_count": 229
} | 635 |
flutter_infra_release/gradle-wrapper/fd5c1f2c013565a3bea56ada6df9d2b8e96d56aa/gradle-wrapper.tgz
| flutter/bin/internal/gradle_wrapper.version/0 | {
"file_path": "flutter/bin/internal/gradle_wrapper.version",
"repo_id": "flutter",
"token_count": 50
} | 636 |
# a11y_assessments
An application to conduct accessibility assessments.
| flutter/dev/a11y_assessments/README.md/0 | {
"file_path": "flutter/dev/a11y_assessments/README.md",
"repo_id": "flutter",
"token_count": 18
} | 637 |
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
... | flutter/dev/a11y_assessments/android/app/src/profile/AndroidManifest.xml/0 | {
"file_path": "flutter/dev/a11y_assessments/android/app/src/profile/AndroidManifest.xml",
"repo_id": "flutter",
"token_count": 158
} | 638 |
// Copyright 2014 The Flutter 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 CheckBoxListTile extends UseCase {
@override
String get name => 'CheckBoxList... | flutter/dev/a11y_assessments/lib/use_cases/check_box_list_tile.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/lib/use_cases/check_box_list_tile.dart",
"repo_id": "flutter",
"token_count": 621
} | 639 |
// Copyright 2014 The Flutter 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_MY_APPLICATION_H_
#define FLUTTER_MY_APPLICATION_H_
#include <gtk/gtk.h>
G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICAT... | flutter/dev/a11y_assessments/linux/my_application.h/0 | {
"file_path": "flutter/dev/a11y_assessments/linux/my_application.h",
"repo_id": "flutter",
"token_count": 204
} | 640 |
// Copyright 2014 The Flutter 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/check_box_list_tile.dart';
import 'package:flutter_test/flutter_test.dart';
import 'test_utils.dart';
void mai... | flutter/dev/a11y_assessments/test/check_box_list_tile_test.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/test/check_box_list_tile_test.dart",
"repo_id": "flutter",
"token_count": 195
} | 641 |
// Copyright 2014 The Flutter 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_test/flutter_test.dart';
void main() {
testWidgets('Rendering Error', (WidgetTester teste... | flutter/dev/automated_tests/flutter_test/package_assets_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/flutter_test/package_assets_test.dart",
"repo_id": "flutter",
"token_count": 199
} | 642 |
// Copyright 2014 The Flutter 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' hide TypeMatcher, isInstanceOf;
void main() {
// This test must start on Line 11 or the test
// "flutter test should r... | flutter/dev/automated_tests/flutter_test/uri_format_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/flutter_test/uri_format_test.dart",
"repo_id": "flutter",
"token_count": 176
} | 643 |
// Copyright 2014 The Flutter 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/scheduler.dart' show timeDilation;
enum ScrollMode { complex, tile }
class ComplexLayoutA... | flutter/dev/benchmarks/complex_layout/lib/src/app.dart/0 | {
"file_path": "flutter/dev/benchmarks/complex_layout/lib/src/app.dart",
"repo_id": "flutter",
"token_count": 10191
} | 644 |
// Copyright 2014 The Flutter 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 BackdropFilterPage extends StatefulWidget {
const BackdropFilterPage({super.key});
@... | flutter/dev/benchmarks/macrobenchmarks/lib/src/backdrop_filter.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/backdrop_filter.dart",
"repo_id": "flutter",
"token_count": 1866
} | 645 |
// Copyright 2014 The Flutter 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 ColumnOfText extends StatefulWidget {
const ColumnOfText({super.key});
@override
State<ColumnOfText> ... | flutter/dev/benchmarks/macrobenchmarks/lib/src/list_text_layout.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/list_text_layout.dart",
"repo_id": "flutter",
"token_count": 846
} | 646 |
// Copyright 2014 The Flutter 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 'recorder.dart';
/// Measures how expensive it is to construct material checkboxes.
///
/// Creates a 10x1... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_build_material_checkbox.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_build_material_checkbox.dart",
"repo_id": "flutter",
"token_count": 563
} | 647 |
// Copyright 2014 The Flutter 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';
// The code below was generated by modify several parts of the engine
// May 2020 and running Flutter Gallery.
late PathFillType gFillT... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_paths_recording.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_paths_recording.dart",
"repo_id": "flutter",
"token_count": 62314
} | 648 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
Future<void> main() async {
const S... | flutter/dev/benchmarks/macrobenchmarks/test_driver/animated_image_test.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/test_driver/animated_image_test.dart",
"repo_id": "flutter",
"token_count": 243
} | 649 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
Future<void> main() async {
const S... | flutter/dev/benchmarks/macrobenchmarks/test_driver/large_image_changer_test.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/test_driver/large_image_changer_test.dart",
"repo_id": "flutter",
"token_count": 484
} | 650 |
{{flutter_js}}
{{flutter_build_config}}
_flutter.loader.load({
config: {
// Use the local CanvasKit bundle instead of the CDN to reduce test flakiness.
canvasKitBaseUrl: "/canvaskit/",
},
}); | flutter/dev/benchmarks/macrobenchmarks/web/flutter_bootstrap.js/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/web/flutter_bootstrap.js",
"repo_id": "flutter",
"token_count": 74
} | 651 |
#include "Generated.xcconfig"
| flutter/dev/benchmarks/microbenchmarks/ios/Flutter/Release.xcconfig/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/ios/Flutter/Release.xcconfig",
"repo_id": "flutter",
"token_count": 12
} | 652 |
// Copyright 2014 The Flutter 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' show clampDouble;
import '../common.dart';
const int _kBatchSize = 100000;
const int _kNumIterations = 1000;
vo... | flutter/dev/benchmarks/microbenchmarks/lib/foundation/clamp.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/foundation/clamp.dart",
"repo_id": "flutter",
"token_count": 897
} | 653 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
import '../common.dart';... | flutter/dev/benchmarks/microbenchmarks/lib/layout/text_intrinsic_bench.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/layout/text_intrinsic_bench.dart",
"repo_id": "flutter",
"token_count": 724
} | 654 |
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
... | flutter/dev/benchmarks/multiple_flutters/android/app/src/main/res/drawable/ic_launcher_background.xml/0 | {
"file_path": "flutter/dev/benchmarks/multiple_flutters/android/app/src/main/res/drawable/ic_launcher_background.xml",
"repo_id": "flutter",
"token_count": 2664
} | 655 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
void main() {
group('scrolling perf... | flutter/dev/benchmarks/platform_views_layout/test_driver/scroll_perf_non_intersecting_test.dart/0 | {
"file_path": "flutter/dev/benchmarks/platform_views_layout/test_driver/scroll_perf_non_intersecting_test.dart",
"repo_id": "flutter",
"token_count": 804
} | 656 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewC... | flutter/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/Base.lproj/LaunchScreen.storyboard/0 | {
"file_path": "flutter/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/Base.lproj/LaunchScreen.storyboard",
"repo_id": "flutter",
"token_count": 768
} | 657 |
{
"title": "Acciones",
"market": "MERCADO",
"portfolio": "CARTERA"
}
| flutter/dev/benchmarks/test_apps/stocks/lib/i18n/stocks_es.arb/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/i18n/stocks_es.arb",
"repo_id": "flutter",
"token_count": 36
} | 658 |
// Copyright 2014 The Flutter 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:intl/intl.dart';
import 'package:meta/meta.dart';
import 'package:path/path.dart' as path;
import... | flutter/dev/bots/post_process_docs.dart/0 | {
"file_path": "flutter/dev/bots/post_process_docs.dart",
"repo_id": "flutter",
"token_count": 1882
} | 659 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
void main(List<String> args) {
String type = '';
if (args[0] == '--material') {
type = 'material';
}
if (args[0] == '--cupertino') {
type =... | flutter/dev/bots/test/analyze-test-input/root/dev/tools/localization/bin/gen_localizations.dart/0 | {
"file_path": "flutter/dev/bots/test/analyze-test-input/root/dev/tools/localization/bin/gen_localizations.dart",
"repo_id": "flutter",
"token_count": 192
} | 660 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// we ignore these so that the format of the strings below matches what package:test prints, to make maintenance easier
// ignore_for_file: use_raw_strings... | flutter/dev/bots/test/analyze_snippet_code_test.dart/0 | {
"file_path": "flutter/dev/bots/test/analyze_snippet_code_test.dart",
"repo_id": "flutter",
"token_count": 2323
} | 661 |
#!/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 -euo pipefail
# Needed because if it is set, cd may print the path it changed to.
unset CDPATH
# On Mac OS, readlink -f doesn't work... | flutter/dev/conductor/bin/packages_autoroller/0 | {
"file_path": "flutter/dev/conductor/bin/packages_autoroller",
"repo_id": "flutter",
"token_count": 586
} | 662 |
#!/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.
# //flutter/dev/tools/lib/proto
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# Ensure dart-sdk is cached
"$DIR/.... | flutter/dev/conductor/core/lib/src/proto/compile_proto.sh/0 | {
"file_path": "flutter/dev/conductor/core/lib/src/proto/compile_proto.sh",
"repo_id": "flutter",
"token_count": 473
} | 663 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:args/args.dart';
import 'package:conductor_core/src/stdio.dart';
import 'package:test/test.dart';
export 'package:test/fake.dart';
export ... | flutter/dev/conductor/core/test/common.dart/0 | {
"file_path": "flutter/dev/conductor/core/test/common.dart",
"repo_id": "flutter",
"token_count": 1015
} | 664 |
# Flutter DeviceLab
DeviceLab is a physical lab that tests Flutter on real devices.
This package contains the code for the test framework and tests. More generally
the tests are referred to as "tasks" in the API, but since we primarily use it
for testing, this document refers to them as "tests".
Current statuses for... | flutter/dev/devicelab/README.md/0 | {
"file_path": "flutter/dev/devicelab/README.md",
"repo_id": "flutter",
"token_count": 3174
} | 665 |
// Copyright 2014 The Flutter 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/utils.dart';
import 'package:flutter_devicelab/tas... | flutter/dev/devicelab/bin/tasks/hello_world__memory.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/hello_world__memory.dart",
"repo_id": "flutter",
"token_count": 404
} | 666 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:typed_data';
import 'package:flutter_devicelab/framework/framework.dart';
impor... | flutter/dev/devicelab/bin/tasks/module_test_ios.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/module_test_ios.dart",
"repo_id": "flutter",
"token_count": 11249
} | 667 |
// Copyright 2014 The Flutter 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/tasks/plugin_tests.dart';
Future<void> main() async {
awa... | flutter/dev/devicelab/bin/tasks/plugin_test_macos.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/plugin_test_macos.dart",
"repo_id": "flutter",
"token_count": 274
} | 668 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert' show JsonEncoder, LineSplitter, json, utf8;
import 'dart:io' as io;
import 'dart:math' as math;
import 'package... | flutter/dev/devicelab/lib/framework/browser.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/framework/browser.dart",
"repo_id": "flutter",
"token_count": 8014
} | 669 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../framework/devices.dart';
import '../framework/framework.dart';
import '../framework/task_result.dart';
import '../framework/utils.dart';
TaskFu... | flutter/dev/devicelab/lib/tasks/android_verified_input_test.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/tasks/android_verified_input_test.dart",
"repo_id": "flutter",
"token_count": 602
} | 670 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert' show json;
import 'dart:io' as io;
import 'package:logging/logging.dart';
import 'package:path/path.dart' as pa... | flutter/dev/devicelab/lib/tasks/web_benchmarks.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/tasks/web_benchmarks.dart",
"repo_id": "flutter",
"token_count": 3693
} | 671 |
// Copyright 2014 The Flutter 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_devicelab/framework/runner.dart';
import 'package:flutter_devicelab/framework/task_result.dart';
import '../... | flutter/dev/devicelab/test/tasks/build_test_task_test.dart/0 | {
"file_path": "flutter/dev/devicelab/test/tasks/build_test_task_test.dart",
"repo_id": "flutter",
"token_count": 1118
} | 672 |
{
"rules": {
".read": false,
".write": false
}
}
| flutter/dev/docs/firebase_rules.json/0 | {
"file_path": "flutter/dev/docs/firebase_rules.json",
"repo_id": "flutter",
"token_count": 30
} | 673 |
name: forbidden_from_release_tests
publish_to: 'none'
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
args: 2.4.2
file: 7.0.0
package_config: 2.1.0
path: 1.9.0
process: 5.0.2
vm_snapshot_analysis: 0.7.6
collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --forc... | flutter/dev/forbidden_from_release_tests/pubspec.yaml/0 | {
"file_path": "flutter/dev/forbidden_from_release_tests/pubspec.yaml",
"repo_id": "flutter",
"token_count": 227
} | 674 |
// Copyright 2014 The Flutter 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';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
... | flutter/dev/integration_tests/abstract_method_smoke_test/lib/main.dart/0 | {
"file_path": "flutter/dev/integration_tests/abstract_method_smoke_test/lib/main.dart",
"repo_id": "flutter",
"token_count": 611
} | 675 |
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android_embedding_v2_smoke_test">
<!-- ${applicationName}... | flutter/dev/integration_tests/android_embedding_v2_smoke_test/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "flutter/dev/integration_tests/android_embedding_v2_smoke_test/android/app/src/main/AndroidManifest.xml",
"repo_id": "flutter",
"token_count": 856
} | 676 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// The name of the route containing the test suite.
const String selectionControlsRoute = 'controls';
/// The string supplied to the [ValueKey] for the e... | flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/controls_constants.dart/0 | {
"file_path": "flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/controls_constants.dart",
"repo_id": "flutter",
"token_count": 335
} | 677 |
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
| flutter/dev/integration_tests/android_views/android/gradle.properties/0 | {
"file_path": "flutter/dev/integration_tests/android_views/android/gradle.properties",
"repo_id": "flutter",
"token_count": 54
} | 678 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localProperti... | flutter/dev/integration_tests/deferred_components_test/android/component1/build.gradle/0 | {
"file_path": "flutter/dev/integration_tests/deferred_components_test/android/component1/build.gradle",
"repo_id": "flutter",
"token_count": 532
} | 679 |
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.externalui">
<uses-permission android:name="android.permi... | flutter/dev/integration_tests/external_textures/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "flutter/dev/integration_tests/external_textures/android/app/src/main/AndroidManifest.xml",
"repo_id": "flutter",
"token_count": 730
} | 680 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is auto generated.
// To update all the build.gradle files in the Flutter repo,
// See dev/tools/bin/generate_gradle_lockfiles.dart.
allproje... | flutter/dev/integration_tests/flavors/android/build.gradle/0 | {
"file_path": "flutter/dev/integration_tests/flavors/android/build.gradle",
"repo_id": "flutter",
"token_count": 329
} | 681 |
// Copyright 2014 The Flutter 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 Cocoa
import FlutterMacOS
@NSApplicationMain
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClose... | flutter/dev/integration_tests/flavors/macos/Runner/AppDelegate.swift/0 | {
"file_path": "flutter/dev/integration_tests/flavors/macos/Runner/AppDelegate.swift",
"repo_id": "flutter",
"token_count": 106
} | 682 |
include: ../../analysis_options.yaml
analyzer:
exclude:
- build/**
| flutter/dev/integration_tests/flutter_gallery/analysis_options.yaml/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/analysis_options.yaml",
"repo_id": "flutter",
"token_count": 28
} | 683 |
#include "Generated.xcconfig"
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
| flutter/dev/integration_tests/flutter_gallery/ios/Flutter/Release.xcconfig/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/ios/Flutter/Release.xcconfig",
"repo_id": "flutter",
"token_count": 41
} | 684 |
// Copyright 2014 The Flutter 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 'sections.dart';
const double kSectionIndicatorWidth = 32.0;
// The card for a single section. Displays t... | flutter/dev/integration_tests/flutter_gallery/lib/demo/animation/widgets.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/animation/widgets.dart",
"repo_id": "flutter",
"token_count": 1677
} | 685 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import '../../gallery/demo.dart';
class CupertinoSwitchDemo extends StatefulWidget {
const CupertinoSwitchDemo... | flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_switch_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_switch_demo.dart",
"repo_id": "flutter",
"token_count": 1662
} | 686 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
class ElevationDemo extends StatefulWidget {
const ElevationDemo({super.key})... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/elevation_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/elevation_demo.dart",
"repo_id": "flutter",
"token_count": 848
} | 687 |
// Copyright 2014 The Flutter 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 TabsDemoStyle {
iconsAndText,
iconsOnly,
textOnly
}
class _Page {
... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/scrollable_tabs_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/scrollable_tabs_demo.dart",
"repo_id": "flutter",
"token_count": 2886
} | 688 |
// Copyright 2014 The Flutter 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 'colors.dart';
class LoginPage extends StatefulWidget {
const LoginPage({super.key});
@override
Sta... | flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/login.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/login.dart",
"repo_id": "flutter",
"token_count": 2333
} | 689 |
// Copyright 2014 The Flutter 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 TextStyleItem extends StatelessWidget {
const TextStyleItem({
super.key,
required this.name,
r... | flutter/dev/integration_tests/flutter_gallery/lib/demo/typography_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/typography_demo.dart",
"repo_id": "flutter",
"token_count": 1210
} | 690 |
// Copyright 2014 The Flutter 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:url_launcher/url_launcher.dart';
typedef UpdateUrlFetcher = Future<String?> Function();
class Up... | flutter/dev/integration_tests/flutter_gallery/lib/gallery/updater.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/gallery/updater.dart",
"repo_id": "flutter",
"token_count": 779
} | 691 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_gallery/demo/material/text_form_field_demo.dart';
import 'package:flutter_test/flutter_test... | flutter/dev/integration_tests/flutter_gallery/test/demo/material/text_form_field_demo_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test/demo/material/text_form_field_demo_test.dart",
"repo_id": "flutter",
"token_count": 866
} | 692 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
void main() {
group('scrolling perf... | flutter/dev/integration_tests/flutter_gallery/test_driver/scroll_perf_web_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test_driver/scroll_perf_web_test.dart",
"repo_id": "flutter",
"token_count": 476
} | 693 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localProperti... | flutter/dev/integration_tests/gradle_deprecated_settings/android/app/build.gradle/0 | {
"file_path": "flutter/dev/integration_tests/gradle_deprecated_settings/android/app/build.gradle",
"repo_id": "flutter",
"token_count": 438
} | 694 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter_driver/driver_extension.dart';
typedef DriverHandler = Future<String> Function();
/// Wraps a flutter drive... | flutter/dev/integration_tests/hybrid_android_views/lib/future_data_handler.dart/0 | {
"file_path": "flutter/dev/integration_tests/hybrid_android_views/lib/future_data_handler.dart",
"repo_id": "flutter",
"token_count": 388
} | 695 |
name: ios_add2app_life_cycle_flutter
description: A new flutter module project.
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder numbe... | flutter/dev/integration_tests/ios_add2app_life_cycle/flutterapp/pubspec.yaml/0 | {
"file_path": "flutter/dev/integration_tests/ios_add2app_life_cycle/flutterapp/pubspec.yaml",
"repo_id": "flutter",
"token_count": 1721
} | 696 |
{
"images" : [
{
"idiom" : "watch",
"scale" : "2x",
"screen-width" : "<=145"
},
{
"idiom" : "watch",
"scale" : "2x",
"screen-width" : ">161"
},
{
"idiom" : "watch",
"scale" : "2x",
"screen-width" : ">145"
},
{
"idiom" : "watch",
... | flutter/dev/integration_tests/ios_app_with_extensions/ios/watch Extension/Assets.xcassets/Complication.complicationset/Graphic Bezel.imageset/Contents.json/0 | {
"file_path": "flutter/dev/integration_tests/ios_app_with_extensions/ios/watch Extension/Assets.xcassets/Complication.complicationset/Graphic Bezel.imageset/Contents.json",
"repo_id": "flutter",
"token_count": 261
} | 697 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Flutter/Flutter.h>
#import "DualFlutterViewController.h"
@interface DualFlutterViewController ()
@end
@implementation DualFlutterViewControlle... | flutter/dev/integration_tests/ios_host_app/Host/DualFlutterViewController.m/0 | {
"file_path": "flutter/dev/integration_tests/ios_host_app/Host/DualFlutterViewController.m",
"repo_id": "flutter",
"token_count": 682
} | 698 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@import XCTest;
static const CGFloat kStandardTimeOut = 60.0;
@interface XCUIElement(Test)
@property (nonatomic, readonly) BOOL flt_hasKeyboardFocus;
- (... | flutter/dev/integration_tests/ios_platform_view_tests/ios/PlatformViewUITests/PlatformViewUITests.m/0 | {
"file_path": "flutter/dev/integration_tests/ios_platform_view_tests/ios/PlatformViewUITests/PlatformViewUITests.m",
"repo_id": "flutter",
"token_count": 1144
} | 699 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.