text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | flutter-intellij/flutter-studio/src/io/flutter/actions/OpenFlutterNewsSidePanelAction.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/actions/OpenFlutterNewsSidePanelAction.java",
"repo_id": "flutter-intellij",
"token_count": 2346
} | 471 |
name = "flutter-intellij"
org.gradle.parallel=true
org.gradle.jvmargs=-Xms1024m -Xmx4048m
javaVersion=17
androidVersion=233.13135.106
dartVersion=233.14888
flutterPluginVersion=SNAPSHOT
ide=android-studio
testing=false
buildSpec=2023.3
baseVersion=233.13135.103
smaliPlugin=com.android.tools.idea.smali
langPlugin=org.in... | flutter-intellij/gradle.properties/0 | {
"file_path": "flutter-intellij/gradle.properties",
"repo_id": "flutter-intellij",
"token_count": 159
} | 472 |
<idea-plugin>
<id>@PLUGINID@</id>
<name>Flutter</name>
<description>
<![CDATA[
<p>Support for developing Flutter applications. Flutter gives developers an easy and productive
way to build and deploy cross-platform, high-performance mobile apps for both Android and iOS.
Installing this plugin will ... | flutter-intellij/resources/META-INF/plugin_template.xml/0 | {
"file_path": "flutter-intellij/resources/META-INF/plugin_template.xml",
"repo_id": "flutter-intellij",
"token_count": 8260
} | 473 |
<templateSet group="Flutter">
<template name="stless" value="class $NAME$ extends StatelessWidget { const $NAME$({super.key}); @override Widget build(BuildContext context) { return const Placeholder($END$); } } " description="New Stateless widget" toReformat="false" toShor... | flutter-intellij/resources/liveTemplates/flutter_miscellaneous.xml/0 | {
"file_path": "flutter-intellij/resources/liveTemplates/flutter_miscellaneous.xml",
"repo_id": "flutter-intellij",
"token_count": 1473
} | 474 |
// Copyright 2017 The Chromium Authors. All rights reserved. Use of this source
// code is governed by a BSD-style license that can be found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'package:markdown/markdown.dart';
import 'util.dart';
class BuildSpec {
// Build targets
final String na... | flutter-intellij/tool/plugin/lib/build_spec.dart/0 | {
"file_path": "flutter-intellij/tool/plugin/lib/build_spec.dart",
"repo_id": "flutter-intellij",
"token_count": 1554
} | 475 |
# Below is a list of people and organizations that have contributed
# to the Flutter project. Names should be added to the list like so:
#
# Name/Organization <email address>
#
# Anyone who has contributed to the Flutter project in any way (not
# limited to submitting PRs) is welcome to submit a PR to add their
# nam... | flutter/AUTHORS/0 | {
"file_path": "flutter/AUTHORS",
"repo_id": "flutter",
"token_count": 1957
} | 476 |
c7d7d1a03f65a27be2eddb13d1f2b0c0e7a60ec6
| flutter/bin/internal/usbmuxd.version/0 | {
"file_path": "flutter/bin/internal/usbmuxd.version",
"repo_id": "flutter",
"token_count": 32
} | 477 |
// Copyright 2014 The Flutter 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
import XCTest
class RunnerTests: XCTestCase {
func testExample() {
// If you add code to the Runner application, c... | flutter/dev/a11y_assessments/macos/RunnerTests/RunnerTests.swift/0 | {
"file_path": "flutter/dev/a11y_assessments/macos/RunnerTests/RunnerTests.swift",
"repo_id": "flutter",
"token_count": 131
} | 478 |
// Copyright 2014 The Flutter 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_test/flutter_test.dart';
void main() {
testWidgets('included', (WidgetTester tester) async {
expect(2 + 2, 4);
}, tags: <S... | flutter/dev/automated_tests/flutter_test/filtering_tag_widget_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/flutter_test/filtering_tag_widget_test.dart",
"repo_id": "flutter",
"token_count": 161
} | 479 |
// Copyright 2014 The Flutter 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 system;
// this is a test to make sure our tests consider engine crashes to be failures
// see //flutter/dev/bots/test.dart
void main... | flutter/dev/automated_tests/test_smoke_test/crash2_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/test_smoke_test/crash2_test.dart",
"repo_id": "flutter",
"token_count": 120
} | 480 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
// Various tests to verify that animated image filtered layers do not
// dirty children ev... | flutter/dev/benchmarks/macrobenchmarks/lib/src/animated_complex_image_filtered.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/animated_complex_image_filtered.dart",
"repo_id": "flutter",
"token_count": 839
} | 481 |
// Copyright 2014 The Flutter 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 SlidersPage extends StatefulWidget {
const SlidersPage({super.key});
@override
Sta... | flutter/dev/benchmarks/macrobenchmarks/lib/src/sliders.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/sliders.dart",
"repo_id": "flutter",
"token_count": 698
} | 482 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:ui';
import 'package:flutter/gestures.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/scheduler.... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_mouse_region_grid_hover.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_mouse_region_grid_hover.dart",
"repo_id": "flutter",
"token_count": 2004
} | 483 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'pa... | flutter/dev/benchmarks/macrobenchmarks/test/util.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/test/util.dart",
"repo_id": "flutter",
"token_count": 1243
} | 484 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert' show JsonEncoder;
import 'package:file/file.dart';
import 'package:flutter_driver/flutter_driver.dart';
import 'package:macrobenchma... | flutter/dev/benchmarks/macrobenchmarks/test_driver/stack_size_perf_test.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/test_driver/stack_size_perf_test.dart",
"repo_id": "flutter",
"token_count": 451
} | 485 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import '../common.dart';
import 'apps/button_matrix_app.dart' as button_matrix;
const int _kNumWarmUpIte... | flutter/dev/benchmarks/microbenchmarks/lib/gestures/gesture_detector_bench.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/gestures/gesture_detector_bench.dart",
"repo_id": "flutter",
"token_count": 539
} | 486 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/semantics.dart';
import 'package:google_fonts/google_fonts.dart';
void main() => runApp(co... | flutter/dev/benchmarks/multiple_flutters/module/lib/main.dart/0 | {
"file_path": "flutter/dev/benchmarks/multiple_flutters/module/lib/main.dart",
"repo_id": "flutter",
"token_count": 2917
} | 487 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
void main() {
runApp(
const Pl... | flutter/dev/benchmarks/platform_views_layout/lib/main_ad_banners.dart/0 | {
"file_path": "flutter/dev/benchmarks/platform_views_layout/lib/main_ad_banners.dart",
"repo_id": "flutter",
"token_count": 824
} | 488 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// THE FOLLOWING FILES WERE GENERATED BY `flutter gen-l10n`.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/widge... | flutter/dev/benchmarks/test_apps/stocks/lib/i18n/stock_strings.dart/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/i18n/stock_strings.dart",
"repo_id": "flutter",
"token_count": 1527
} | 489 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:stocks/main.dart' as stocks;
import 'package:stock... | flutter/dev/benchmarks/test_apps/stocks/test/icon_color_test.dart/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/test/icon_color_test.dart",
"repo_id": "flutter",
"token_count": 1100
} | 490 |
// Copyright 2014 The Flutter 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 Directory;
import 'package:analyzer/dart/analysis/analysis_context.dart';
import 'package:analyzer/dart/analysis/analysis_context_co... | flutter/dev/bots/custom_rules/analyze.dart/0 | {
"file_path": "flutter/dev/bots/custom_rules/analyze.dart",
"repo_id": "flutter",
"token_count": 1627
} | 491 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.12
/// This is a dummy dart:ui package for the sample code analyzer tests to use.
library dart.ui;
/// Bla bla bla bla bla bla bla bla bla.
... | flutter/dev/bots/test/analyze-snippet-code-test-dart-ui/ui.dart/0 | {
"file_path": "flutter/dev/bots/test/analyze-snippet-code-test-dart-ui/ui.dart",
"repo_id": "flutter",
"token_count": 206
} | 492 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'dart:io';
class TestSpecs {
TestSpecs({
required this.path,
required this.startTime,
});
final String path;... | flutter/dev/bots/tool_subsharding.dart/0 | {
"file_path": "flutter/dev/bots/tool_subsharding.dart",
"repo_id": "flutter",
"token_count": 1144
} | 493 |
// Copyright 2014 The Flutter 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:process/process.dart';
import './globals.dart';
/// A wrapper around git process calls that can be mocked for unit tes... | flutter/dev/conductor/core/lib/src/git.dart/0 | {
"file_path": "flutter/dev/conductor/core/lib/src/git.dart",
"repo_id": "flutter",
"token_count": 1409
} | 494 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io' as io;
import 'package:meta/meta.dart';
/// An interface for presenting text output to the user.
///
/// Although this could have been s... | flutter/dev/conductor/core/lib/src/stdio.dart/0 | {
"file_path": "flutter/dev/conductor/core/lib/src/stdio.dart",
"repo_id": "flutter",
"token_count": 1171
} | 495 |
// Copyright 2014 The Flutter 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 'customer_test.dart';
Future<bool> runTests({
int repeat = 1,... | flutter/dev/customer_testing/lib/runner.dart/0 | {
"file_path": "flutter/dev/customer_testing/lib/runner.dart",
"repo_id": "flutter",
"token_count": 3208
} | 496 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:... | flutter/dev/devicelab/bin/tasks/complex_layout_semantics_perf.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/complex_layout_semantics_perf.dart",
"repo_id": "flutter",
"token_count": 565
} | 497 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:flutter_devicelab/framework/apk_utils.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'packag... | flutter/dev/devicelab/bin/tasks/gradle_desugar_classes_test.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/gradle_desugar_classes_test.dart",
"repo_id": "flutter",
"token_count": 701
} | 498 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'dart:io';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/framework/task_res... | flutter/dev/devicelab/bin/tasks/plugin_dependencies_test.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/plugin_dependencies_test.dart",
"repo_id": "flutter",
"token_count": 4320
} | 499 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'package:args/command_runner.dart';
import 'package:flutter_devicelab/command/test.dart';
import 'package:f... | flutter/dev/devicelab/bin/test_runner.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/test_runner.dart",
"repo_id": "flutter",
"token_count": 287
} | 500 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:math' as math;
import 'package:path/path.dart' as path;
import 'package:process... | flutter/dev/devicelab/lib/framework/utils.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/framework/utils.dart",
"repo_id": "flutter",
"token_count": 9754
} | 501 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert' show json;
import 'dart:io';
import 'package:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/... | flutter/dev/devicelab/test/perf_tests_test.dart/0 | {
"file_path": "flutter/dev/devicelab/test/perf_tests_test.dart",
"repo_id": "flutter",
"token_count": 2425
} | 502 |
/**
* Scripting for handling custom code snippets
*/
/**
* Shows the requested snippet, and stores the current state in visibleSnippet.
*/
function showSnippet(name, visibleSnippet) {
if (visibleSnippet == name) return;
if (visibleSnippet != null) {
var shown = document.getElementById(visibleSnippet);
... | flutter/dev/docs/assets/snippets.js/0 | {
"file_path": "flutter/dev/docs/assets/snippets.js",
"repo_id": "flutter",
"token_count": 1026
} | 503 |
<!-- Styles and scripting for handling custom code snippets -->
<link href="../assets/snippets.css" rel="stylesheet" type="text/css">
<script src="../assets/snippets.js"></script>
| flutter/dev/docs/snippets.html/0 | {
"file_path": "flutter/dev/docs/snippets.html",
"repo_id": "flutter",
"token_count": 53
} | 504 |
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
android.enableJetifier=true
android.useAndroidX=true
| flutter/dev/integration_tests/abstract_method_smoke_test/android/gradle.properties/0 | {
"file_path": "flutter/dev/integration_tests/abstract_method_smoke_test/android/gradle.properties",
"repo_id": "flutter",
"token_count": 54
} | 505 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// This library provides constants and matchers for testing the Android
/// accessibility implementation in a flutter driver environment.
library android_... | flutter/dev/integration_tests/android_semantics_testing/lib/android_semantics_testing.dart/0 | {
"file_path": "flutter/dev/integration_tests/android_semantics_testing/lib/android_semantics_testing.dart",
"repo_id": "flutter",
"token_count": 108
} | 506 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// A pair of values. Used for testing custom codecs.
class Pair {
Pair(this.left, this.right);
final dynamic left;
final dynamic right;
@overrid... | flutter/dev/integration_tests/channels/lib/src/pair.dart/0 | {
"file_path": "flutter/dev/integration_tests/channels/lib/src/pair.dart",
"repo_id": "flutter",
"token_count": 109
} | 507 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| flutter/dev/integration_tests/channels/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "flutter/dev/integration_tests/channels/macos/Runner/Configs/Release.xcconfig",
"repo_id": "flutter",
"token_count": 32
} | 508 |
#include "Generated.xcconfig"
| flutter/dev/integration_tests/external_textures/ios/Flutter/Release.xcconfig/0 | {
"file_path": "flutter/dev/integration_tests/external_textures/ios/Flutter/Release.xcconfig",
"repo_id": "flutter",
"token_count": 12
} | 509 |
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
version:
revision: "e0caf9ca0b7c592bd7b00d5413fae534738bb385"
channel: "[user-branch]"
project_type: app
# T... | flutter/dev/integration_tests/flavors/.metadata/0 | {
"file_path": "flutter/dev/integration_tests/flavors/.metadata",
"repo_id": "flutter",
"token_count": 370
} | 510 |
// Copyright 2014 The Flutter 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:flavors/main.dart' as app;
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integra... | flutter/dev/integration_tests/flavors/integration_test/integration_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flavors/integration_test/integration_test.dart",
"repo_id": "flutter",
"token_count": 248
} | 511 |
// Copyright 2014 The Flutter 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/cupertino.dart';
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
const Str... | flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_navigation_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_navigation_demo.dart",
"repo_id": "flutter",
"token_count": 15029
} | 512 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
const List<String> _defaultMaterialsA = <String>[
'poker',
'tortilla',
'f... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/chip_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/chip_demo.dart",
"repo_id": "flutter",
"token_count": 4480
} | 513 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
enum IndicatorType { overscroll, refresh }
class Overscr... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/overscroll_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/overscroll_demo.dart",
"repo_id": "flutter",
"token_count": 1119
} | 514 |
// Copyright 2014 The Flutter 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 'login.dart';
const Cubic _kAccelerateCurve = Cubic(0.548, 0.0, 0.757, 0.464);
const Cubic _kDecelerateCur... | flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/backdrop.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/backdrop.dart",
"repo_id": "flutter",
"token_count": 4771
} | 515 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
abstract final class GalleryIcons {
static const IconData tooltip = IconData(0xe900, fontFamily: 'GalleryIcons')... | flutter/dev/integration_tests/flutter_gallery/lib/gallery/icons.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/gallery/icons.dart",
"repo_id": "flutter",
"token_count": 1097
} | 516 |
// Copyright 2014 The Flutter 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/buttons_demo.dart';
import 'package:flutter_test/flutter_test.dart';
... | flutter/dev/integration_tests/flutter_gallery/test/demo/material/buttons_demo_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test/demo/material/buttons_demo_test.dart",
"repo_id": "flutter",
"token_count": 706
} | 517 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
void main() {
group('page transitio... | flutter/dev/integration_tests/flutter_gallery/test_driver/page_transitions_perf_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test_driver/page_transitions_perf_test.dart",
"repo_id": "flutter",
"token_count": 470
} | 518 |
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
if [ ! -f "./pubspec.yaml" ]; then
echo "ERROR: current directory must be the root of flutter_gallery package"
exit 1
fi
cd a... | flutter/dev/integration_tests/flutter_gallery/tool/run_instrumentation_test.sh/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/tool/run_instrumentation_test.sh",
"repo_id": "flutter",
"token_count": 184
} | 519 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This is the `settings.gradle` file that apps were created with until Flutter
// v1.22.0. This file has changed, so it must be migrated in existing proje... | flutter/dev/integration_tests/gradle_deprecated_settings/android/settings.gradle/0 | {
"file_path": "flutter/dev/integration_tests/gradle_deprecated_settings/android/settings.gradle",
"repo_id": "flutter",
"token_count": 269
} | 520 |
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
cd "$(dirname "$0")"
pushd flutterapp
../../../../bin/flutter build ios --debug --simulator --no-codesign
popd
pod install
xcru... | flutter/dev/integration_tests/ios_add2app_life_cycle/build_and_test.sh/0 | {
"file_path": "flutter/dev/integration_tests/ios_add2app_life_cycle/build_and_test.sh",
"repo_id": "flutter",
"token_count": 166
} | 521 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "AppDelegate.h"
#import "MainViewController.h"
@interface AppDelegate ()
@end
static NSString *_kReloadChannelName = @"reload";
@implementation... | flutter/dev/integration_tests/ios_host_app/Host/AppDelegate.m/0 | {
"file_path": "flutter/dev/integration_tests/ios_host_app/Host/AppDelegate.m",
"repo_id": "flutter",
"token_count": 466
} | 522 |
platform :ios, '12.0'
flutter_application_path = '../hello'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
target 'Host' do
install_all_flutter_pods flutter_application_path
end
target 'FlutterUITests' do
inherit! :search_paths
end
| flutter/dev/integration_tests/ios_host_app/Podfile/0 | {
"file_path": "flutter/dev/integration_tests/ios_host_app/Podfile",
"repo_id": "flutter",
"token_count": 98
} | 523 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Only put constants shared between files here.
import 'dart:typed_data';
// Height of the 'Gallery' header
const double galleryHeaderHeight = 64;
// T... | flutter/dev/integration_tests/new_gallery/lib/constants.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/constants.dart",
"repo_id": "flutter",
"token_count": 923
} | 524 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import '../../gallery_localizations.dart';
// BEGIN cupertinoSwitchDemo
class CupertinoSwitchDemo extends Statef... | flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_switch_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_switch_demo.dart",
"repo_id": "flutter",
"token_count": 1413
} | 525 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery_localizations.dart';
import 'material_demo_types.dart';
// BEGIN listDemo
class ListDemo e... | flutter/dev/integration_tests/new_gallery/lib/demos/material/list_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/list_demo.dart",
"repo_id": "flutter",
"token_count": 635
} | 526 |
{
"githubRepo": "{repoName} GitHub repository",
"@githubRepo": {
"description": "Represents a link to a GitHub repository.",
"placeholders": {
"repoName": {
"example": "Flutter Gallery"
}
}
},
"aboutDialogDescription": "To see the source code for this app, please visit the {repoL... | flutter/dev/integration_tests/new_gallery/lib/l10n/intl_en.arb/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/l10n/intl_en.arb",
"repo_id": "flutter",
"token_count": 42913
} | 527 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:collection';
import 'package:flutter/material.dart';
// Common constants between SlowMotionSetting and SettingsListItem.
final BorderRadius ... | flutter/dev/integration_tests/new_gallery/lib/pages/settings_list_item.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/pages/settings_list_item.dart",
"repo_id": "flutter",
"token_count": 5108
} | 528 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery_localizations.dart';
import 'backlayer.dart';
import 'header_form.dart';
class SleepForm ex... | flutter/dev/integration_tests/new_gallery/lib/studies/crane/sleep_form.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/crane/sleep_form.dart",
"repo_id": "flutter",
"token_count": 717
} | 529 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../../gallery_localizations.dart';
import '../charts/pie_chart.dart';
import '../data.dart';
import '..... | flutter/dev/integration_tests/new_gallery/lib/studies/rally/tabs/accounts.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/rally/tabs/accounts.dart",
"repo_id": "flutter",
"token_count": 444
} | 530 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
class ProfileAvatar extends StatelessWidget {
const ProfileAvatar({
super.key,
required this.avatar,
... | flutter/dev/integration_tests/new_gallery/lib/studies/reply/profile_avatar.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/reply/profile_avatar.dart",
"repo_id": "flutter",
"token_count": 370
} | 531 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
class Scrim extends StatelessWidget {
const Scrim({super.key, required this.controller});
final AnimationCont... | flutter/dev/integration_tests/new_gallery/lib/studies/shrine/scrim.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/scrim.dart",
"repo_id": "flutter",
"token_count": 647
} | 532 |
name: gallery
description: A resource to help developers evaluate and use Flutter.
repository: https://github.com/flutter/flutter/dev/integration_tests/new_gallery
version: 2.10.2+021002 # See README.md for details on versioning.
environment:
flutter: ^3.13.0
sdk: ^3.1.0
dependencies:
flutter:
sdk: flutter
... | flutter/dev/integration_tests/new_gallery/pubspec.yaml/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/pubspec.yaml",
"repo_id": "flutter",
"token_count": 7870
} | 533 |
#include "Generated.xcconfig"
| flutter/dev/integration_tests/non_nullable/ios/Flutter/Release.xcconfig/0 | {
"file_path": "flutter/dev/integration_tests/non_nullable/ios/Flutter/Release.xcconfig",
"repo_id": "flutter",
"token_count": 12
} | 534 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
void main() {
group('channel suite'... | flutter/dev/integration_tests/platform_interaction/test_driver/main_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/platform_interaction/test_driver/main_test.dart",
"repo_id": "flutter",
"token_count": 370
} | 535 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_driver/driver_extension.dart';
import 'keys.dart' as keys;
void main() {
enableFlutterD... | flutter/dev/integration_tests/ui/lib/keyboard_resize.dart/0 | {
"file_path": "flutter/dev/integration_tests/ui/lib/keyboard_resize.dart",
"repo_id": "flutter",
"token_count": 715
} | 536 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@overr... | flutter/dev/integration_tests/web_e2e_tests/lib/treeshaking_main.dart/0 | {
"file_path": "flutter/dev/integration_tests/web_e2e_tests/lib/treeshaking_main.dart",
"repo_id": "flutter",
"token_count": 344
} | 537 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart' show timeDilation;
final Map<int, Color> m2SwatchColors = <int, Color>{
... | flutter/dev/manual_tests/lib/density.dart/0 | {
"file_path": "flutter/dev/manual_tests/lib/density.dart",
"repo_id": "flutter",
"token_count": 11013
} | 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';
import 'package:flutter_test/flutter_test.dart';
import 'package:manual_tests/overlay_geometry.dart' as overlay_geo... | flutter/dev/manual_tests/test/overlay_geometry_test.dart/0 | {
"file_path": "flutter/dev/manual_tests/test/overlay_geometry_test.dart",
"repo_id": "flutter",
"token_count": 383
} | 539 |
{@inject-html}
<a name="{{id}}"></a>
<div class="snippet snippet-container anchor-container">
{{description}}
<a class="anchor-button-overlay anchor-button" title="Copy link to clipboard"
onmouseenter="fixHref(this, '{{id}}');" onclick="fixHref(this, '{{id}}'); copyStringToClipboard(this.href);"
href="#">
... | flutter/dev/snippets/config/skeletons/snippet.html/0 | {
"file_path": "flutter/dev/snippets/config/skeletons/snippet.html",
"repo_id": "flutter",
"token_count": 291
} | 540 |
{
"version": "v0_206",
"md.comp.filled-tonal-button.container.color": "secondaryContainer",
"md.comp.filled-tonal-button.container.elevation": "md.sys.elevation.level0",
"md.comp.filled-tonal-button.container.height": 40.0,
"md.comp.filled-tonal-button.container.shadow-color": "shadow",
"md.comp.filled-ton... | flutter/dev/tools/gen_defaults/data/button_filled_tonal.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/button_filled_tonal.json",
"repo_id": "flutter",
"token_count": 1026
} | 541 |
{
"version": "v0_206",
"md.comp.date-picker.modal.container.color": "surfaceContainerHigh",
"md.comp.date-picker.modal.container.elevation": "md.sys.elevation.level3",
"md.comp.date-picker.modal.container.height": 568.0,
"md.comp.date-picker.modal.container.shape": "md.sys.shape.corner.extra-large",
"md.co... | flutter/dev/tools/gen_defaults/data/date_picker_modal.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/date_picker_modal.json",
"repo_id": "flutter",
"token_count": 2423
} | 542 |
{
"version": "v0_206",
"md.comp.navigation-bar.active.focus.icon.color": "onSecondaryContainer",
"md.comp.navigation-bar.active.focus.label-text.color": "onSurface",
"md.comp.navigation-bar.active.focus.state-layer.color": "onSurface",
"md.comp.navigation-bar.active.hover.icon.color": "onSecondaryContainer",... | flutter/dev/tools/gen_defaults/data/navigation_bar.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/navigation_bar.json",
"repo_id": "flutter",
"token_count": 1054
} | 543 |
{
"version": "v0_206",
"md.sys.state.dragged.state-layer-opacity": 0.16,
"md.sys.state.focus.state-layer-opacity": 0.1,
"md.sys.state.hover.state-layer-opacity": 0.08,
"md.sys.state.pressed.state-layer-opacity": 0.1
}
| flutter/dev/tools/gen_defaults/data/state.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/state.json",
"repo_id": "flutter",
"token_count": 103
} | 544 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'template.dart';
class BottomSheetTemplate extends TokenTemplate {
const BottomSheetTemplate(
super.blockName,
super.fileName,
super.... | flutter/dev/tools/gen_defaults/lib/bottom_sheet_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/bottom_sheet_template.dart",
"repo_id": "flutter",
"token_count": 508
} | 545 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'template.dart';
class ListTileTemplate extends TokenTemplate {
const ListTileTemplate(super.blockName, super.fileName, super.tokens, {
super... | flutter/dev/tools/gen_defaults/lib/list_tile_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/list_tile_template.dart",
"repo_id": "flutter",
"token_count": 578
} | 546 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'template.dart';
class TabsTemplate extends TokenTemplate {
const TabsTemplate(super.blockName, super.fileName, super.tokens, {
super.colorSc... | flutter/dev/tools/gen_defaults/lib/tabs_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/tabs_template.dart",
"repo_id": "flutter",
"token_count": 2134
} | 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.
#include <map>
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
// This file is generated by
// flutter/flutter:dev/tools/gen_keycodes/bin/gen_keycodes.dart a... | flutter/dev/tools/gen_keycodes/data/fuchsia_keyboard_map_cc.tmpl/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/data/fuchsia_keyboard_map_cc.tmpl",
"repo_id": "flutter",
"token_count": 303
} | 548 |
// 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 <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#include "./KeyCodeMap_Internal.h"
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
// This file is ... | flutter/dev/tools/gen_keycodes/data/macos_key_code_map_cc.tmpl/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/data/macos_key_code_map_cc.tmpl",
"repo_id": "flutter",
"token_count": 416
} | 549 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:path/path.dart' as path;
import 'base_code_gen.dart';
import 'constants.dart';
import 'logical_key_data.dart';
import 'physical_key_data.d... | flutter/dev/tools/gen_keycodes/lib/gtk_code_gen.dart/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/lib/gtk_code_gen.dart",
"repo_id": "flutter",
"token_count": 2168
} | 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.
// This program generates getMaterialTranslation(), getCupertinoTranslation(),
// and getWidgetsTranslation() functions that look up the translations provi... | flutter/dev/tools/localization/bin/gen_localizations.dart/0 | {
"file_path": "flutter/dev/tools/localization/bin/gen_localizations.dart",
"repo_id": "flutter",
"token_count": 10248
} | 551 |
# vitool
This tool generates Dart files from frames described in SVG files that follow
the small subset of SVG described below.
This tool was crafted specifically to handle the assets for certain Material
design animations as created by the Google Material Design team, and is not
intended to be a general-purpose tool.... | flutter/dev/tools/vitool/README.md/0 | {
"file_path": "flutter/dev/tools/vitool/README.md",
"repo_id": "flutter",
"token_count": 112
} | 552 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter_test/flut... | flutter/dev/tracing_tests/test/timeline_test.dart/0 | {
"file_path": "flutter/dev/tracing_tests/test/timeline_test.dart",
"repo_id": "flutter",
"token_count": 2100
} | 553 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
/// Flutter code sample for [CupertinoTabBar].
void main() => runApp(const CupertinoTabBarApp());
class Cuperti... | flutter/examples/api/lib/cupertino/bottom_tab_bar/cupertino_tab_bar.0.dart/0 | {
"file_path": "flutter/examples/api/lib/cupertino/bottom_tab_bar/cupertino_tab_bar.0.dart",
"repo_id": "flutter",
"token_count": 732
} | 554 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
/// Flutter code sample for [CupertinoRadio.toggleable].
void main() => runApp(const CupertinoRadioApp());
clas... | flutter/examples/api/lib/cupertino/radio/cupertino_radio.toggleable.0.dart/0 | {
"file_path": "flutter/examples/api/lib/cupertino/radio/cupertino_radio.toggleable.0.dart",
"repo_id": "flutter",
"token_count": 919
} | 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 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
/// Flutter code sample for [PointerSignalResolver].
void main() => runA... | flutter/examples/api/lib/gestures/pointer_signal_resolver/pointer_signal_resolver.0.dart/0 | {
"file_path": "flutter/examples/api/lib/gestures/pointer_signal_resolver/pointer_signal_resolver.0.dart",
"repo_id": "flutter",
"token_count": 1600
} | 556 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [Autocomplete].
void main() => runApp(const AutocompleteExampleApp());
class Autocom... | flutter/examples/api/lib/material/autocomplete/autocomplete.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/autocomplete/autocomplete.0.dart",
"repo_id": "flutter",
"token_count": 646
} | 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 'package:flutter/material.dart';
/// Flutter code sample for [Card].
void main() => runApp(const CardExampleApp());
class CardExampleApp extends ... | flutter/examples/api/lib/material/card/card.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/card/card.0.dart",
"repo_id": "flutter",
"token_count": 761
} | 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.
// This example demonstrates showing the default buttons, but customizing their
// appearance.
import 'package:flutter/cupertino.dart';
import 'package:fl... | flutter/examples/api/lib/material/context_menu/editable_text_toolbar_builder.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/context_menu/editable_text_toolbar_builder.0.dart",
"repo_id": "flutter",
"token_count": 1393
} | 559 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [Divider].
void main() => runApp(const DividerExampleApp());
class DividerExampleApp... | flutter/examples/api/lib/material/divider/divider.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/divider/divider.0.dart",
"repo_id": "flutter",
"token_count": 926
} | 560 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [ExpansionTile] and [AnimationStyle].
void main() {
runApp(const ExpansionTileAnima... | flutter/examples/api/lib/material/expansion_tile/expansion_tile.2.dart/0 | {
"file_path": "flutter/examples/api/lib/material/expansion_tile/expansion_tile.2.dart",
"repo_id": "flutter",
"token_count": 1312
} | 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 'package:flutter/material.dart';
const List<String> _pizzaToppings = <String>[
'Olives',
'Tomato',
'Cheese',
'Peppero... | flutter/examples/api/lib/material/input_chip/input_chip.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/input_chip/input_chip.1.dart",
"repo_id": "flutter",
"token_count": 3899
} | 562 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for custom list items.
void main() => runApp(const CustomListItemApp());
class CustomLis... | flutter/examples/api/lib/material/list_tile/custom_list_item.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/list_tile/custom_list_item.1.dart",
"repo_id": "flutter",
"token_count": 2024
} | 563 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
/// Flutter code sample for [MenuBar].
void main() => runApp(const MenuBa... | flutter/examples/api/lib/material/menu_anchor/menu_bar.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/menu_anchor/menu_bar.0.dart",
"repo_id": "flutter",
"token_count": 3316
} | 564 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [ReorderableListView].
void main() => runApp(const ReorderableApp());
class Reordera... | flutter/examples/api/lib/material/reorderable_list/reorderable_list_view.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/reorderable_list/reorderable_list_view.0.dart",
"repo_id": "flutter",
"token_count": 715
} | 565 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [ScaffoldMessengerState.showSnackBar].
void main() => runApp(const ShowSnackBarExampl... | flutter/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.0.dart",
"repo_id": "flutter",
"token_count": 421
} | 566 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
/// Flutter code sample for [SelectionContainer].
void main() => runApp(... | flutter/examples/api/lib/material/selection_container/selection_container.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/selection_container/selection_container.0.dart",
"repo_id": "flutter",
"token_count": 1331
} | 567 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
/// Flutter code sample for custom labeled switch.
void main() => runApp... | flutter/examples/api/lib/material/switch_list_tile/custom_labeled_switch.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/switch_list_tile/custom_labeled_switch.0.dart",
"repo_id": "flutter",
"token_count": 1068
} | 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';
/// Flutter code sample for [showTimePicker].
void main() {
runApp(const ShowTimePickerApp());
}
class ShowTim... | flutter/examples/api/lib/material/time_picker/show_time_picker.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/time_picker/show_time_picker.0.dart",
"repo_id": "flutter",
"token_count": 5315
} | 569 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
/// Flutter code sample for [SliverGridDelegateWithFixedCrossAxisCount].
void main() => runApp(const SliverGridDe... | flutter/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.0.dart/0 | {
"file_path": "flutter/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.0.dart",
"repo_id": "flutter",
"token_count": 463
} | 570 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.