text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
/*
* 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/UnresolvedSourceLocation.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/UnresolvedSourceLocation.java",
"repo_id": "flutter-intellij",
"token_count": 795
} | 539 |
This module customizes the Flutter plugin for Android Studio.
NEEDS TO BE UPDATED a/o 9 NOV 21
To set up a development environment using sources for Android Studio:
1. Initialize Android Studio sources.
2. Checkout Flutter plugin sources, tip of tree.
3. Follow the directions for setting up the Dart plugin sources
... | flutter-intellij/flutter-studio/README.md/0 | {
"file_path": "flutter-intellij/flutter-studio/README.md",
"repo_id": "flutter-intellij",
"token_count": 1452
} | 540 |
/*
* 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/assistant/whatsnew/FlutterNewsBundleCreator.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/assistant/whatsnew/FlutterNewsBundleCreator.java",
"repo_id": "flutter-intellij",
"token_count": 1259
} | 541 |
/*
* 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.google.common.truth.Truth.assertThat;
import static com.google.common... | flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/MacMenuFixture.java/0 | {
"file_path": "flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/MacMenuFixture.java",
"repo_id": "flutter-intellij",
"token_count": 1345
} | 542 |
#!/bin/bash
# This script should execute during the scheduled builds.
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_ARTIF... | flutter-intellij/kokoro/macos_external/kokoro_release.sh/0 | {
"file_path": "flutter-intellij/kokoro/macos_external/kokoro_release.sh",
"repo_id": "flutter-intellij",
"token_count": 159
} | 543 |
The contents from this directory are copied from
https://github.com/flutter/tools_metadata/tree/master/resources.
When it is updated, remember to update the version in FlutterSdkVersion.DISTRIBUTED_ICONS.
| flutter-intellij/resources/flutter/README.md/0 | {
"file_path": "flutter-intellij/resources/flutter/README.md",
"repo_id": "flutter-intellij",
"token_count": 57
} | 544 |
#!/bin/bash
source ./tool/kokoro/setup.sh
setup
echo "kokoro build start"
./bin/plugin make --channel=dev
echo "kokoro build finished"
| flutter-intellij/tool/kokoro/build.sh/0 | {
"file_path": "flutter-intellij/tool/kokoro/build.sh",
"repo_id": "flutter-intellij",
"token_count": 49
} | 545 |
// 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:convert';
import 'dart:io';
import 'package:cli_util/cli_logging.dart';
import 'package:git/git.dart';
import 'build_spec... | flutter-intellij/tool/plugin/lib/util.dart/0 | {
"file_path": "flutter-intellij/tool/plugin/lib/util.dart",
"repo_id": "flutter-intellij",
"token_count": 1863
} | 546 |
<a href="https://flutter.dev/">
<h1 align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/cms-storage-bucket/6e19fee6b47b36ca613f.png">
<img alt="Flutter" src="https://storage.googleapis.com/cms-storage-bucket/c823e53b3a1a7b0d36a9.png">
</pic... | flutter/README.md/0 | {
"file_path": "flutter/README.md",
"repo_id": "flutter",
"token_count": 2079
} | 547 |
7a29ab0b6d611f2bf5de4b6f929a82a091866307
| flutter/bin/internal/ios-deploy.version/0 | {
"file_path": "flutter/bin/internal/ios-deploy.version",
"repo_id": "flutter",
"token_count": 29
} | 548 |
include: ../../analysis_options.yaml
| flutter/dev/a11y_assessments/analysis_options.yaml/0 | {
"file_path": "flutter/dev/a11y_assessments/analysis_options.yaml",
"repo_id": "flutter",
"token_count": 12
} | 549 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'use_cases.dart';
class DatePickerUseCase extends UseCase {
@override
String get name => 'DatePicker'... | flutter/dev/a11y_assessments/lib/use_cases/date_picker.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/lib/use_cases/date_picker.dart",
"repo_id": "flutter",
"token_count": 500
} | 550 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:a11y_assessments/use_cases/date_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
imp... | flutter/dev/a11y_assessments/test/date_picker_test.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/test/date_picker_test.dart",
"repo_id": "flutter",
"token_count": 233
} | 551 |
include: ../analysis_options.yaml
linter:
rules:
avoid_print: false # We use prints as debugging tools here a lot.
# Tests try to throw and catch things in exciting ways all the time, so
# we disable these lints for the tests.
only_throw_errors: false
avoid_catching_errors: false
avoid_catch... | flutter/dev/analysis_options.yaml/0 | {
"file_path": "flutter/dev/analysis_options.yaml",
"repo_id": "flutter",
"token_count": 114
} | 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 'dart:async';
import 'package:flutter_test/flutter_test.dart';
void main() {
failingPendingTimerTest();
}
void failingPendingTimerTest() {
te... | flutter/dev/automated_tests/test_smoke_test/pending_timer_fail_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/test_smoke_test/pending_timer_fail_test.dart",
"repo_id": "flutter",
"token_count": 144
} | 553 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:ui';
import 'package:flutter/material.dart';
import 'picture_cache.dart';
class ClipperCachePage extends StatefulWidget ... | flutter/dev/benchmarks/macrobenchmarks/lib/src/clipper_cache.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/clipper_cache.dart",
"repo_id": "flutter",
"token_count": 1154
} | 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/material.dart';
class MultiWidgetConstructTable extends StatefulWidget {
const MultiWidgetConstructTable(this.columnCount, this.... | flutter/dev/benchmarks/macrobenchmarks/lib/src/multi_widget_construction.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/multi_widget_construction.dart",
"repo_id": "flutter",
"token_count": 1776
} | 555 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import 'recorder.dart';
import 'test_data.dart';
/// Creates an infinite list of Material c... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_card_infinite_scroll.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_card_infinite_scroll.dart",
"repo_id": "flutter",
"token_count": 887
} | 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 'dart:ui';
import 'recorder.dart';
/// Measure the performance of paint bounds estimation by recording a picture
/// without actually rendering it... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_picture_recording.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_picture_recording.dart",
"repo_id": "flutter",
"token_count": 903
} | 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/services.dart' show AssetManifest, PlatformAssetBundle, rootBundle;
import 'package:flutter/widgets.dart';
import '../common.dart'... | flutter/dev/benchmarks/microbenchmarks/lib/foundation/decode_and_parse_asset_manifest.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/foundation/decode_and_parse_asset_manifest.dart",
"repo_id": "flutter",
"token_count": 338
} | 558 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/scheduler.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:stocks/main.dart' as stocks;
import 'package:stoc... | flutter/dev/benchmarks/microbenchmarks/lib/stocks/animation_bench.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/stocks/animation_bench.dart",
"repo_id": "flutter",
"token_count": 1303
} | 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 <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@interface AppDelegate : FlutterAppDelegate
@end
NS_ASSUME_NONNUL... | flutter/dev/benchmarks/platform_channels_benchmarks/ios/Runner/AppDelegate.h/0 | {
"file_path": "flutter/dev/benchmarks/platform_channels_benchmarks/ios/Runner/AppDelegate.h",
"repo_id": "flutter",
"token_count": 108
} | 560 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart' show
debugPaintBaselinesEnabled,
debugPaintLayerBordersEnabled,
debug... | flutter/dev/benchmarks/test_apps/stocks/lib/main.dart/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/main.dart",
"repo_id": "flutter",
"token_count": 1178
} | 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_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
void main() {
... | flutter/dev/benchmarks/test_apps/stocks/test_driver/stock_view_test.dart/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/test_driver/stock_view_test.dart",
"repo_id": "flutter",
"token_count": 512
} | 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 'dart:async';
import 'dart:io' show exit, stderr;
import 'package:args/args.dart';
import 'package:file/file.dart';
import 'package:file/local.dart... | flutter/dev/bots/prepare_package.dart/0 | {
"file_path": "flutter/dev/bots/prepare_package.dart",
"repo_id": "flutter",
"token_count": 1807
} | 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.
class _DebugOnly {
const _DebugOnly();
}
const _DebugOnly _debugOnly = _DebugOnly();
const bool kDebugMode = bool.fromEnvironment('test-only');
class F... | flutter/dev/bots/test/analyze-test-input/root/packages/flutter/lib/bar.dart/0 | {
"file_path": "flutter/dev/bots/test/analyze-test-input/root/packages/flutter/lib/bar.dart",
"repo_id": "flutter",
"token_count": 569
} | 564 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:path/path.dart' as path;
import '../analyze.dart';
import '../custom_rules/analyze.dart';
import '../custom_rules/no_do... | flutter/dev/bots/test/analyze_test.dart/0 | {
"file_path": "flutter/dev/bots/test/analyze_test.dart",
"repo_id": "flutter",
"token_count": 5872
} | 565 |
include: ../../analysis_options.yaml
analyzer:
exclude:
# Ignore protoc generated files
- "lib/src/proto/*"
linter:
rules:
avoid_catches_without_on_clauses: true
prefer_relative_imports: true
unawaited_futures: true
| flutter/dev/conductor/core/analysis_options.yaml/0 | {
"file_path": "flutter/dev/conductor/core/analysis_options.yaml",
"repo_id": "flutter",
"token_count": 96
} | 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.
//
// Generated code. Do not modify.
// source: conductor_state.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides, camel_case_types
// ign... | flutter/dev/conductor/core/lib/src/proto/conductor_state.pb.dart/0 | {
"file_path": "flutter/dev/conductor/core/lib/src/proto/conductor_state.pb.dart",
"repo_id": "flutter",
"token_count": 6141
} | 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:args/args.dart';
import 'package:conductor_core/src/globals.dart';
import 'package:conductor_core/src/proto/conductor_state.pb.dart' as pb;... | flutter/dev/conductor/core/test/globals_test.dart/0 | {
"file_path": "flutter/dev/conductor/core/test/globals_test.dart",
"repo_id": "flutter",
"token_count": 2452
} | 568 |
include: ../analysis_options.yaml
linter:
rules:
- unawaited_futures
| flutter/dev/devicelab/analysis_options.yaml/0 | {
"file_path": "flutter/dev/devicelab/analysis_options.yaml",
"repo_id": "flutter",
"token_count": 31
} | 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_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/tasks/plugin_tests.dart';
Future<void> main() async {
awa... | flutter/dev/devicelab/bin/tasks/plugin_test_windows.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/plugin_test_windows.dart",
"repo_id": "flutter",
"token_count": 220
} | 570 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert' show Encoding, json;
import 'dart:io';
import 'package:file/file.dart';
import 'package:file/local.dart';
impor... | flutter/dev/devicelab/lib/framework/cocoon.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/framework/cocoon.dart",
"repo_id": "flutter",
"token_count": 2962
} | 571 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../framework/framework.dart';
import '../framework/task_result.dart';
import '../framework/utils.dart';
/// Tests the following Android lifecycle... | flutter/dev/devicelab/lib/tasks/android_views_test.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/tasks/android_views_test.dart",
"repo_id": "flutter",
"token_count": 864
} | 572 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:path/path.dart' as path;
import '../framework/framework.dart';
import '../f... | flutter/dev/devicelab/lib/tasks/web_dev_mode_tests.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/tasks/web_dev_mode_tests.dart",
"repo_id": "flutter",
"token_count": 3340
} | 573 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_devicelab/framework/utils.dart';
import 'common.dart';
void main() {
group('grep', () {
test('greps lines', () {
expe... | flutter/dev/devicelab/test/utils_test.dart/0 | {
"file_path": "flutter/dev/devicelab/test/utils_test.dart",
"repo_id": "flutter",
"token_count": 497
} | 574 |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Flutter API</ShortName>
<Description>
Welcome to the Flutter API reference documentation search.
Flutter is Google's SDK for crafting beautiful, fast user experiences for
mobile, web ... | flutter/dev/docs/lib/opensearch.xml/0 | {
"file_path": "flutter/dev/docs/lib/opensearch.xml",
"repo_id": "flutter",
"token_count": 235
} | 575 |
# Automated Flutter integration test suites
Each suite consists of either a complete Flutter app and a `flutter_driver`
specification that drives tests from the UI, or a native app that is meant to
integrate with Flutter for testing.
Intended for use with devicelab tests.
If you want to run a driver test locally, to... | flutter/dev/integration_tests/README.md/0 | {
"file_path": "flutter/dev/integration_tests/README.md",
"repo_id": "flutter",
"token_count": 168
} | 576 |
name: abstract_method_smoke_test
description: A new Flutter project.
version: 1.0.0+1
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.18.0 # THIS LINE IS AUTOGE... | flutter/dev/integration_tests/abstract_method_smoke_test/pubspec.yaml/0 | {
"file_path": "flutter/dev/integration_tests/abstract_method_smoke_test/pubspec.yaml",
"repo_id": "flutter",
"token_count": 281
} | 577 |
package com.example.android_embedding_v2_smoke_test
import androidx.annotation.NonNull
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugins.GeneratedPluginRegistrant
class MainActivity : FlutterActivity() {
override fun configureFlutterEngi... | flutter/dev/integration_tests/android_embedding_v2_smoke_test/android/app/src/main/kotlin/com/example/android_embedding_v2_smoke_test/MainActivity.kt/0 | {
"file_path": "flutter/dev/integration_tests/android_embedding_v2_smoke_test/android/app/src/main/kotlin/com/example/android_embedding_v2_smoke_test/MainActivity.kt",
"repo_id": "flutter",
"token_count": 150
} | 578 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'controls_constants.dart';
export 'controls_constants.dart';
/// A test page with a checkbox, three radio ... | flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/controls_page.dart/0 | {
"file_path": "flutter/dev/integration_tests/android_semantics_testing/lib/src/tests/controls_page.dart",
"repo_id": "flutter",
"token_count": 1395
} | 579 |
// Copyright 2014 The Flutter 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.example.channels;
import java.io.ByteArrayOutputStream;
import java.nio.ByteBuffer;
import java.util.Date;
import android.os.Bundle;
import a... | flutter/dev/integration_tests/channels/android/app/src/main/java/com/example/channels/MainActivity.java/0 | {
"file_path": "flutter/dev/integration_tests/channels/android/app/src/main/java/com/example/channels/MainActivity.java",
"repo_id": "flutter",
"token_count": 2398
} | 580 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"
@interface Pair : NSObject
@property(atomic, readonly, strong, nullable) NSObject* left;
@pr... | flutter/dev/integration_tests/channels/ios/Runner/AppDelegate.m/0 | {
"file_path": "flutter/dev/integration_tests/channels/ios/Runner/AppDelegate.m",
"repo_id": "flutter",
"token_count": 2391
} | 581 |
name: channels
description: Integration test for platform channels.
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE... | flutter/dev/integration_tests/channels/pubspec.yaml/0 | {
"file_path": "flutter/dev/integration_tests/channels/pubspec.yaml",
"repo_id": "flutter",
"token_count": 1007
} | 582 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.externalui;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.SurfaceTexture;
import android.os.Bu... | flutter/dev/integration_tests/external_textures/android/app/src/main/java/io/flutter/externalui/MainActivity.java/0 | {
"file_path": "flutter/dev/integration_tests/external_textures/android/app/src/main/java/io/flutter/externalui/MainActivity.java",
"repo_id": "flutter",
"token_count": 2095
} | 583 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
... | flutter/dev/integration_tests/flavors/ios/Runner/Info-Free.plist/0 | {
"file_path": "flutter/dev/integration_tests/flavors/ios/Runner/Info-Free.plist",
"repo_id": "flutter",
"token_count": 613
} | 584 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
plugins {
id "com.android.application"
id "dev.flutter.flutter-gradle-plugin"
}
def localProperties = new Properties()
def localPropertiesFile = r... | flutter/dev/integration_tests/flutter_gallery/android/app/build.gradle/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/android/app/build.gradle",
"repo_id": "flutter",
"token_count": 970
} | 585 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
class CupertinoTextFieldDemo extends StatefulWidget {
const CupertinoTextFieldDemo({super.key});
static cons... | flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_text_field_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_text_field_demo.dart",
"repo_id": "flutter",
"token_count": 2699
} | 586 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
@visibleForTesting
enum Location {
Barbados,
Bahamas,
Bermuda
}
typedef ... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/expansion_panels_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/expansion_panels_demo.dart",
"repo_id": "flutter",
"token_count": 5911
} | 587 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import '../../gallery/demo.dart';
class SearchDemo extends StatefulWidget {
const SearchDemo({super.key});
s... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/search_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/search_demo.dart",
"repo_id": "flutter",
"token_count": 4239
} | 588 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:scoped_model/scoped_model.dart';
import 'product.dart';
import 'products_repository.dart' as product_repository;
double _salesTaxRate = 0... | flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/model/app_state_model.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/shrine/model/app_state_model.dart",
"repo_id": "flutter",
"token_count": 1048
} | 589 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'package:connectivity/connectivity.dart';
import 'package:device_info/device_info.dart';
import 'package:flu... | flutter/dev/integration_tests/flutter_gallery/lib/demo/video_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/video_demo.dart",
"repo_id": "flutter",
"token_count": 4458
} | 590 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Thanks for checking out Flutter!
// Like what you see? Tweet us @FlutterDev
import 'package:flutter/material.dart';
import 'gallery/app.dart';
void m... | flutter/dev/integration_tests/flutter_gallery/lib/main.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/main.dart",
"repo_id": "flutter",
"token_count": 102
} | 591 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
</dict>
</plist>
| flutter/dev/integration_tests/flutter_gallery/macos/Runner/DebugProfile.entitlements/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/macos/Runner/DebugProfile.entitlements",
"repo_id": "flutter",
"token_count": 132
} | 592 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter_gallery/gallery/app.dart';
import 'package:flutter... | flutter/dev/integration_tests/flutter_gallery/test/drawer_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test/drawer_test.dart",
"repo_id": "flutter",
"token_count": 2129
} | 593 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert' show JsonEncoder;
import 'package:flutter/material.dart';
import 'package:flutter_driver/driver_extension.dart';
import 'package:flu... | flutter/dev/integration_tests/flutter_gallery/test_driver/transitions_perf.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/test_driver/transitions_perf.dart",
"repo_id": "flutter",
"token_count": 717
} | 594 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.integration.platformviews;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Build;
import android.o... | flutter/dev/integration_tests/hybrid_android_views/android/app/src/main/java/io/flutter/integration/androidviews/MainActivity.java/0 | {
"file_path": "flutter/dev/integration_tests/hybrid_android_views/android/app/src/main/java/io/flutter/integration/androidviews/MainActivity.java",
"repo_id": "flutter",
"token_count": 2412
} | 595 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_driver/driver_extension.dart';
import 'future_data_handler.dart';
import 'motion_events_pa... | flutter/dev/integration_tests/hybrid_android_views/lib/main.dart/0 | {
"file_path": "flutter/dev/integration_tests/hybrid_android_views/lib/main.dart",
"repo_id": "flutter",
"token_count": 470
} | 596 |
name: ios_app_with_extensions
# 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 number may be overridden in flutter
# build by specifyi... | flutter/dev/integration_tests/ios_app_with_extensions/pubspec.yaml/0 | {
"file_path": "flutter/dev/integration_tests/ios_app_with_extensions/pubspec.yaml",
"repo_id": "flutter",
"token_count": 1685
} | 597 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
apply plugin: 'com.android.application'
android {
compileSdk 34
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targ... | flutter/dev/integration_tests/module_host_with_custom_build_v2_embedding/app/build.gradle/0 | {
"file_path": "flutter/dev/integration_tests/module_host_with_custom_build_v2_embedding/app/build.gradle",
"repo_id": "flutter",
"token_count": 503
} | 598 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import '../../data/gallery_options.dart';
import '../../gallery_localizations.dart';
import 'demo_types.dart';
/... | flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_alert_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/cupertino/cupertino_alert_demo.dart",
"repo_id": "flutter",
"token_count": 6209
} | 599 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import '../../gallery_localizations.dart';
// BEGIN bottomAppBarDemo
cla... | flutter/dev/integration_tests/new_gallery/lib/demos/material/bottom_app_bar_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/bottom_app_bar_demo.dart",
"repo_id": "flutter",
"token_count": 2664
} | 600 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import '../../gallery_localizations.dart';
import 'material_demo_types.dart';
//... | flutter/dev/integration_tests/new_gallery/lib/demos/material/picker_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/picker_demo.dart",
"repo_id": "flutter",
"token_count": 2957
} | 601 |
// Copyright 2014 The Flutter 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' show IterableMixin;
import 'dart:math';
import 'dart:ui' show Vertices;
import 'package:flutter/material.dart';
import 'package:ve... | flutter/dev/integration_tests/new_gallery/lib/demos/reference/transformations_demo_board.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/reference/transformations_demo_board.dart",
"repo_id": "flutter",
"token_count": 3453
} | 602 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math';
import 'package:flutter/material.dart';
import '../data/gallery_options.dart';
double _textScaleFactor(BuildContext context) {
ret... | flutter/dev/integration_tests/new_gallery/lib/layout/text_scale.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/layout/text_scale.dart",
"repo_id": "flutter",
"token_count": 758
} | 603 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
class BorderTabIndicator extends Decoration {
const BorderTabIndicator({
required this.indicatorHeight,
... | flutter/dev/integration_tests/new_gallery/lib/studies/crane/border_tab_indicator.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/crane/border_tab_indicator.dart",
"repo_id": "flutter",
"token_count": 502
} | 604 |
// Copyright 2014 The Flutter 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:intl/intl.dart' as intl;
import '../../../data/gallery_op... | flutter/dev/integration_tests/new_gallery/lib/studies/rally/charts/line_chart.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/rally/charts/line_chart.dart",
"repo_id": "flutter",
"token_count": 3674
} | 605 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'dart:ui' as ui;
import 'package:animations/animations.dart';
import 'package:flutter/material.dart';
import 'package:f... | flutter/dev/integration_tests/new_gallery/lib/studies/reply/adaptive_nav.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/reply/adaptive_nav.dart",
"repo_id": "flutter",
"token_count": 23049
} | 606 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:scoped_model/scoped_model.dart';
import '../../data/gallery_options.dart';
import '../../gallery_l... | flutter/dev/integration_tests/new_gallery/lib/studies/shrine/category_menu_page.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/category_menu_page.dart",
"repo_id": "flutter",
"token_count": 3874
} | 607 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
class LayoutCache extends InheritedWidget {
const LayoutCache({
super.key,
required this.layouts,
re... | flutter/dev/integration_tests/new_gallery/lib/studies/shrine/supplemental/layout_cache.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/supplemental/layout_cache.dart",
"repo_id": "flutter",
"token_count": 188
} | 608 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert' show JsonEncoder;
import 'package:flutter/material.dart';
import 'package:flutter_driver/driver_extension.dart'... | flutter/dev/integration_tests/new_gallery/test_driver/transitions_perf.dart/0 | {
"file_path": "flutter/dev/integration_tests/new_gallery/test_driver/transitions_perf.dart",
"repo_id": "flutter",
"token_count": 367
} | 609 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() async {
runApp(const ResizeApp());
}
class ResizeApp extend... | flutter/dev/integration_tests/ui/lib/resize.dart/0 | {
"file_path": "flutter/dev/integration_tests/ui/lib/resize.dart",
"repo_id": "flutter",
"token_count": 1023
} | 610 |
// Copyright 2014 The Flutter 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_driver/flutter_driver.dart';
import 'package:path/path.dart' as path;
import 'package:test/test.dart' hide TypeM... | flutter/dev/integration_tests/ui/test_driver/license_check_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/ui/test_driver/license_check_test.dart",
"repo_id": "flutter",
"token_count": 660
} | 611 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:html' as html;
// Attempt to load CanvasKit resources hosted on gstatic.
Future<void> main() async {
const String engineVersion = String.fr... | flutter/dev/integration_tests/web/lib/web_resources_cdn_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/web/lib/web_resources_cdn_test.dart",
"repo_id": "flutter",
"token_count": 479
} | 612 |
package dev.flutter.manual_tests
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity()
| flutter/dev/manual_tests/android/app/src/main/kotlin/dev/flutter/manual_tests/MainActivity.kt/0 | {
"file_path": "flutter/dev/manual_tests/android/app/src/main/kotlin/dev/flutter/manual_tests/MainActivity.kt",
"repo_id": "flutter",
"token_count": 37
} | 613 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
enum _DragTarget {
start,
end
}
// How close a drag's start position ... | flutter/dev/manual_tests/lib/material_arc.dart/0 | {
"file_path": "flutter/dev/manual_tests/lib/material_arc.dart",
"repo_id": "flutter",
"token_count": 5487
} | 614 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| flutter/dev/manual_tests/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "flutter/dev/manual_tests/macos/Runner/Configs/Release.xcconfig",
"repo_id": "flutter",
"token_count": 32
} | 615 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This test builds an integration test from the list of samples in the
// examples/api/lib directory, and then runs it. The tests are just smoke tests,
//... | flutter/dev/tools/examples_smoke_test.dart/0 | {
"file_path": "flutter/dev/tools/examples_smoke_test.dart",
"repo_id": "flutter",
"token_count": 2949
} | 616 |
{
"version": "v0_206",
"md.comp.carousel-item.container.color": "surface",
"md.comp.carousel-item.container.elevation": "md.sys.elevation.level0",
"md.comp.carousel-item.container.shadow-color": "shadow",
"md.comp.carousel-item.container.shape": "md.sys.shape.corner.extra-large",
"md.comp.carousel-item.dis... | flutter/dev/tools/gen_defaults/data/carousel_item.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/carousel_item.json",
"repo_id": "flutter",
"token_count": 764
} | 617 |
{
"version": "v0_206",
"md.comp.fab.primary.large.container.color": "primaryContainer",
"md.comp.fab.primary.large.container.elevation": "md.sys.elevation.level3",
"md.comp.fab.primary.large.container.height": 96.0,
"md.comp.fab.primary.large.container.shadow-color": "shadow",
"md.comp.fab.primary.large.co... | flutter/dev/tools/gen_defaults/data/fab_large_primary.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/fab_large_primary.json",
"repo_id": "flutter",
"token_count": 810
} | 618 |
{
"version": "v0_206",
"md.comp.circular-progress-indicator.active-indicator.color": "primary",
"md.comp.circular-progress-indicator.active-indicator.shape": "md.sys.shape.corner.none",
"md.comp.circular-progress-indicator.active-indicator.width": 4.0,
"md.comp.circular-progress-indicator.four-color.active-i... | flutter/dev/tools/gen_defaults/data/progress_indicator_circular.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/progress_indicator_circular.json",
"repo_id": "flutter",
"token_count": 250
} | 619 |
{
"version": "v0_206",
"md.comp.top-app-bar.large.container.color": "surface",
"md.comp.top-app-bar.large.container.elevation": "md.sys.elevation.level0",
"md.comp.top-app-bar.large.container.height": 152.0,
"md.comp.top-app-bar.large.container.shape": "md.sys.shape.corner.none",
"md.comp.top-app-bar.large... | flutter/dev/tools/gen_defaults/data/top_app_bar_large.json/0 | {
"file_path": "flutter/dev/tools/gen_defaults/data/top_app_bar_large.json",
"repo_id": "flutter",
"token_count": 281
} | 620 |
// Copyright 2014 The Flutter 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 DatePickerTemplate extends TokenTemplate {
const DatePickerTemplate(super.blockName, super.fileName, super.tokens, {
s... | flutter/dev/tools/gen_defaults/lib/date_picker_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/date_picker_template.dart",
"repo_id": "flutter",
"token_count": 3821
} | 621 |
// Copyright 2014 The Flutter 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 PopupMenuTemplate extends TokenTemplate {
const PopupMenuTemplate(super.blockName, super.fileName, super.tokens, {
sup... | flutter/dev/tools/gen_defaults/lib/popup_menu_template.dart/0 | {
"file_path": "flutter/dev/tools/gen_defaults/lib/popup_menu_template.dart",
"repo_id": "flutter",
"token_count": 608
} | 622 |
{
"SHIFT": ["ShiftLeft", "ShiftLeft", "ShiftRight"],
"CONTROL": ["ControlLeft", "ControlLeft", "ControlRight"],
"MOD1": ["AltLeft", "AltLeft", "AltRight"],
"META": ["MetaLeft", "MetaLeft", "MetaRight"]
}
| flutter/dev/tools/gen_keycodes/data/gtk_modifier_bit_mapping.json/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/data/gtk_modifier_bit_mapping.json",
"repo_id": "flutter",
"token_count": 77
} | 623 |
{
"Shift": ["ShiftLeft", "ShiftRight"],
"Meta": ["MetaLeft", "MetaRight"],
"Alt": ["AltLeft", "AltRight"],
"Control": ["ControlLeft", "ControlRight"]
}
| flutter/dev/tools/gen_keycodes/data/synonyms.json/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/data/synonyms.json",
"repo_id": "flutter",
"token_count": 56
} | 624 |
// Copyright 2014 The Flutter 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 'utils.dart';
/// The data structure used to manage keyboard key entries.
///
/// The main constructor parses the given inp... | flutter/dev/tools/gen_keycodes/lib/physical_key_data.dart/0 | {
"file_path": "flutter/dev/tools/gen_keycodes/lib/physical_key_data.dart",
"repo_id": "flutter",
"token_count": 5200
} | 625 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Cache of https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry.
const String languageSubtagRegistry = '''
File-Date: 2020-... | flutter/dev/tools/localization/language_subtag_registry.dart/0 | {
"file_path": "flutter/dev/tools/localization/language_subtag_registry.dart",
"repo_id": "flutter",
"token_count": 259823
} | 626 |
<svg id="svg_build_00" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" >
<g if="group_2" transform="translate(48.0, 0) rotate(90.0)">
<path id="path_1" d="M 0,19.0 L 48.0, 19.0 L 48.0, 29.0 L 0, 29.0 Z " fill="#000000" />
</g>
</svg>
| flutter/dev/tools/vitool/test_assets/bar_group_rotate_scale.svg/0 | {
"file_path": "flutter/dev/tools/vitool/test_assets/bar_group_rotate_scale.svg",
"repo_id": "flutter",
"token_count": 128
} | 627 |
// Copyright 2014 The Flutter 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 [CupertinoActionSheet].
void main() => runApp(const ActionSheetApp());
class Action... | flutter/examples/api/lib/cupertino/dialog/cupertino_action_sheet.0.dart/0 | {
"file_path": "flutter/examples/api/lib/cupertino/dialog/cupertino_action_sheet.0.dart",
"repo_id": "flutter",
"token_count": 987
} | 628 |
// Copyright 2014 The Flutter 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 [CupertinoSearchTextField].
void main() => runApp(const SearchTextFieldApp());
clas... | flutter/examples/api/lib/cupertino/search_field/cupertino_search_field.0.dart/0 | {
"file_path": "flutter/examples/api/lib/cupertino/search_field/cupertino_search_field.0.dart",
"repo_id": "flutter",
"token_count": 547
} | 629 |
// Copyright 2014 The Flutter 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 [AnimatedIcon].
final Map<String, AnimatedIconData> iconsList = <String, AnimatedIcon... | flutter/examples/api/lib/material/animated_icon/animated_icons_data.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/animated_icon/animated_icons_data.0.dart",
"repo_id": "flutter",
"token_count": 1207
} | 630 |
// Copyright 2014 The Flutter 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 [CheckboxListTile].
void main() => runApp(const CheckboxListTileApp());
class Checkb... | flutter/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.1.dart/0 | {
"file_path": "flutter/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.1.dart",
"repo_id": "flutter",
"token_count": 1073
} | 631 |
// Copyright 2014 The Flutter 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 [DatePickerThemeData].
void main() => runApp(const DatePickerApp());
class DatePicke... | flutter/examples/api/lib/material/date_picker/date_picker_theme_day_shape.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/date_picker/date_picker_theme_day_shape.0.dart",
"repo_id": "flutter",
"token_count": 767
} | 632 |
// Copyright 2014 The Flutter 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 [DropdownButton.selectedItemBuilder].
Map<String, String> cities = <String, String>{
... | flutter/examples/api/lib/material/dropdown/dropdown_button.selected_item_builder.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/dropdown/dropdown_button.selected_item_builder.0.dart",
"repo_id": "flutter",
"token_count": 1207
} | 633 |
// Copyright 2014 The Flutter 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 [FloatingActionButton].
void main() => runApp(const FloatingActionButtonExampleApp())... | flutter/examples/api/lib/material/floating_action_button/floating_action_button.2.dart/0 | {
"file_path": "flutter/examples/api/lib/material/floating_action_button/floating_action_button.2.dart",
"repo_id": "flutter",
"token_count": 1630
} | 634 |
// Copyright 2014 The Flutter 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 [InputDecoration.helper].
void main() => runApp(const HelperExampleApp());
class Hel... | flutter/examples/api/lib/material/input_decorator/input_decoration.helper.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/input_decorator/input_decoration.helper.0.dart",
"repo_id": "flutter",
"token_count": 675
} | 635 |
// Copyright 2014 The Flutter 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 [ListTile.selected].
void main() => runApp(const ListTileApp());
class ListTileApp e... | flutter/examples/api/lib/material/list_tile/list_tile.selected.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/list_tile/list_tile.selected.0.dart",
"repo_id": "flutter",
"token_count": 512
} | 636 |
// Copyright 2014 The Flutter 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 [NavigationRail].
void main() => runApp(const NavigationRailExampleApp());
class Nav... | flutter/examples/api/lib/material/navigation_rail/navigation_rail.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/navigation_rail/navigation_rail.0.dart",
"repo_id": "flutter",
"token_count": 3690
} | 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.
import 'package:flutter/material.dart';
/// Flutter code sample for [Radio].
void main() => runApp(const RadioExampleApp());
class RadioExampleApp exten... | flutter/examples/api/lib/material/radio/radio.0.dart/0 | {
"file_path": "flutter/examples/api/lib/material/radio/radio.0.dart",
"repo_id": "flutter",
"token_count": 752
} | 638 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.