text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2023 The Flutter 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:extra_alignments/extra_alignments.dart';
import 'package:flutter/material.dart';
import 'package:focusable_control_builder/focusable_contro... | codelabs/next-gen-ui/step_03_b/lib/title_screen/title_screen_ui.dart/0 | {
"file_path": "codelabs/next-gen-ui/step_03_b/lib/title_screen/title_screen_ui.dart",
"repo_id": "codelabs",
"token_count": 2580
} | 71 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/next-gen-ui/step_03_b/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/next-gen-ui/step_03_b/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 72 |
#import "GeneratedPluginRegistrant.h"
| codelabs/next-gen-ui/step_03_c/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/next-gen-ui/step_03_c/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 73 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/next-gen-ui/step_04_b/android/gradle.properties/0 | {
"file_path": "codelabs/next-gen-ui/step_04_b/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 74 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/next-gen-ui/step_05_b/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/next-gen-ui/step_05_b/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 75 |
#import "GeneratedPluginRegistrant.h"
| codelabs/next-gen-ui/step_06/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/next-gen-ui/step_06/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 76 |
# flutter_testing_codelab
This repository contains the code behind the codelab "How to test a Flutter app".
# Code steps
The naming of the step directories follows the steps of the associated code lab. The directories are as follows:
- `step_03` contains the code as at the end of Getting Started
- `step_04` contain... | codelabs/testing_codelab/README.md/0 | {
"file_path": "codelabs/testing_codelab/README.md",
"repo_id": "codelabs",
"token_count": 161
} | 77 |
// Copyright 2020 The Flutter 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 MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
... | codelabs/testing_codelab/step_03/lib/main.dart/0 | {
"file_path": "codelabs/testing_codelab/step_03/lib/main.dart",
"repo_id": "codelabs",
"token_count": 185
} | 78 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/testing_codelab/step_03/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/testing_codelab/step_03/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 79 |
#import "GeneratedPluginRegistrant.h"
| codelabs/testing_codelab/step_05/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/testing_codelab/step_05/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 80 |
include: ../../analysis_options.yaml
| codelabs/testing_codelab/step_07/analysis_options.yaml/0 | {
"file_path": "codelabs/testing_codelab/step_07/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 81 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/testing_codelab/step_07/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/testing_codelab/step_07/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 82 |
// Copyright 2020 The Flutter 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:provider/provider.dart';
import 'package:testing_a... | codelabs/testing_codelab/step_08/test/favorites_test.dart/0 | {
"file_path": "codelabs/testing_codelab/step_08/test/favorites_test.dart",
"repo_id": "codelabs",
"token_count": 593
} | 83 |
#import "GeneratedPluginRegistrant.h"
| codelabs/tfagents-flutter/finished/frontend/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/tfagents-flutter/finished/frontend/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 84 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/tfagents-flutter/finished/frontend/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/finished/frontend/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 85 |
#import "GeneratedPluginRegistrant.h"
| codelabs/tfagents-flutter/step1/frontend/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/tfagents-flutter/step1/frontend/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 86 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/tfagents-flutter/step1/frontend/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step1/frontend/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 87 |
import 'dart:convert';
import 'dart:io' show Platform;
import 'package:flutter/foundation.dart' show kIsWeb;
import 'package:http/http.dart' as http;
// TODO: add class definition for inputs
class TFAgentsAgent {
TFAgentsAgent();
Future<int> predict(List<List<double>> boardState) async {
String server = '';... | codelabs/tfagents-flutter/step2/frontend/lib/game_agent.dart/0 | {
"file_path": "codelabs/tfagents-flutter/step2/frontend/lib/game_agent.dart",
"repo_id": "codelabs",
"token_count": 224
} | 88 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/tfagents-flutter/step2/frontend/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step2/frontend/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 89 |
#include "Generated.xcconfig"
| codelabs/tfagents-flutter/step3/frontend/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step3/frontend/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 90 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/tfagents-flutter/step3/frontend/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step3/frontend/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 91 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| codelabs/tfagents-flutter/step5/frontend/android/gradle.properties/0 | {
"file_path": "codelabs/tfagents-flutter/step5/frontend/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 31
} | 92 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/tfrs-flutter/finished/frontend/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/tfrs-flutter/finished/frontend/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 93 |
#include "Generated.xcconfig"
| codelabs/tfrs-flutter/step1/frontend/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/tfrs-flutter/step1/frontend/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 94 |
include: ../../../analysis_options.yaml
analyzer:
errors:
unused_import: ignore
unused_field: ignore
linter:
rules: | codelabs/tfrs-flutter/step2/frontend/analysis_options.yaml/0 | {
"file_path": "codelabs/tfrs-flutter/step2/frontend/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 48
} | 95 |
#import "GeneratedPluginRegistrant.h"
| codelabs/tfrs-flutter/step3/frontend/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/tfrs-flutter/step3/frontend/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 96 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/tfrs-flutter/step3/frontend/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/tfrs-flutter/step3/frontend/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 97 |
<jupyter_start><jupyter_code># Install Model maker
!pip install -q tflite-model-maker &> /dev/null
# Imports and check that we are using TF2.x
import numpy as np
import os
from tflite_model_maker import configs
from tflite_model_maker import ExportFormat
from tflite_model_maker import model_spec
from tflite_model_make... | codelabs/tfserving-flutter/codelab1/SpamCommentsModelMaker.ipynb/0 | {
"file_path": "codelabs/tfserving-flutter/codelab1/SpamCommentsModelMaker.ipynb",
"repo_id": "codelabs",
"token_count": 1023
} | 98 |
#include "Generated.xcconfig"
| codelabs/tfserving-flutter/codelab2/starter/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 99 |
///
// Generated code. Do not modify.
// source: tensorflow/core/example/example.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/example/example.pbjson.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/example/example.pbjson.dart",
"repo_id": "codelabs",
"token_count": 835
} | 100 |
///
// Generated code. Do not modify.
// source: tensorflow/core/framework/node_def.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fie... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/node_def.pb.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/node_def.pb.dart",
"repo_id": "codelabs",
"token_count": 3853
} | 101 |
///
// Generated code. Do not modify.
// source: tensorflow/core/framework/types.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/types.pbenum.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/types.pbenum.dart",
"repo_id": "codelabs",
"token_count": 4629
} | 102 |
///
// Generated code. Do not modify.
// source: tensorflow/core/protobuf/saver.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/protobuf/saver.pbjson.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/protobuf/saver.pbjson.dart",
"repo_id": "codelabs",
"token_count": 1287
} | 103 |
///
// Generated code. Do not modify.
// source: tensorflow_serving/apis/input.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow_serving/apis/input.pb.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow_serving/apis/input.pb.dart",
"repo_id": "codelabs",
"token_count": 3756
} | 104 |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/google/protobuf/any.proto/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/google/protobuf/any.proto",
"repo_id": "codelabs",
"token_count": 1900
} | 105 |
syntax = "proto3";
package tensorflow;
import "google/protobuf/any.proto";
import "tensorflow/core/framework/graph.proto";
import "tensorflow/core/framework/op_def.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
import "tensorflow/core/protobuf/saved_obje... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow/core/protobuf/meta_graph.proto/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow/core/protobuf/meta_graph.proto",
"repo_id": "codelabs",
"token_count": 4218
} | 106 |
## 1.0.0
- Initial version.
| codelabs/tooling/claat_export_images/CHANGELOG.md/0 | {
"file_path": "codelabs/tooling/claat_export_images/CHANGELOG.md",
"repo_id": "codelabs",
"token_count": 13
} | 107 |
{
"body": {
"content": [
{
"endIndex": 1,
"sectionBreak": {
"sectionStyle": {
"columnSeparatorStyle": "NONE",
"contentDirection": "LEFT_TO_RIGHT",
"sectionType": "CONTINUOUS"
}
}
},
{
"endIndex": 27,
... | codelabs/tooling/claat_export_images/test/data/exports/1MfCrv1w6aK7SLq9gmjJwXCJFQ-AX9NWJit2gq-v2Xx8.json/0 | {
"file_path": "codelabs/tooling/claat_export_images/test/data/exports/1MfCrv1w6aK7SLq9gmjJwXCJFQ-AX9NWJit2gq-v2Xx8.json",
"repo_id": "codelabs",
"token_count": 1402880
} | 108 |
name: WebView in FLutter script
steps:
- name: step_03
steps:
- name: Remove generated code
rmdir: step_03
- name: Create project
flutter: create webview_in_flutter --platforms=android,ios
- name: Strip DEVELOPMENT_TEAM
strip-lines-containing: DEVELOPMENT_TEAM =
p... | codelabs/webview_flutter/codelab_rebuild.yaml/0 | {
"file_path": "codelabs/webview_flutter/codelab_rebuild.yaml",
"repo_id": "codelabs",
"token_count": 21860
} | 109 |
// Copyright 2022 The Flutter 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 'src/web_view_stack.dart';
void main() {
runApp(
MaterialApp(
theme: ThemeData(useMaterial3: t... | codelabs/webview_flutter/step_05/lib/main.dart/0 | {
"file_path": "codelabs/webview_flutter/step_05/lib/main.dart",
"repo_id": "codelabs",
"token_count": 276
} | 110 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/webview_flutter/step_10/android/gradle.properties/0 | {
"file_path": "codelabs/webview_flutter/step_10/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 111 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| devtools/case_study/code_size/optimized/code_size_images/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "devtools/case_study/code_size/optimized/code_size_images/macos/Runner/Configs/Release.xcconfig",
"repo_id": "devtools",
"token_count": 32
} | 112 |
This directory holds unoptimized versions of the applications in
`case_study/code_size/optimized/`.
| devtools/case_study/code_size/unoptimized/README.md/0 | {
"file_path": "devtools/case_study/code_size/unoptimized/README.md",
"repo_id": "devtools",
"token_count": 26
} | 113 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| devtools/case_study/code_size/unoptimized/code_size_images/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "devtools/case_study/code_size/unoptimized/code_size_images/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "devtools",
"token_count": 32
} | 114 |
---
redirect_to: https://flutter.dev/docs/development/tools/devtools/overview
---
| devtools/docs/index.md/0 | {
"file_path": "devtools/docs/index.md",
"repo_id": "devtools",
"token_count": 28
} | 115 |
include: ../analysis_options.yaml
analyzer:
exclude:
- build/**
- lib/generated_plugin_registrant.dart
- macos/
# Syntax highlighting test files may include or lint-violating code
# for testing so should be ignored. Uncomment this while modifying
# these files if you want to ensure code is no... | devtools/packages/devtools_app/analysis_options.yaml/0 | {
"file_path": "devtools/packages/devtools_app/analysis_options.yaml",
"repo_id": "devtools",
"token_count": 175
} | 116 |
# DevTools benchmark tests
There are two types of benchmarks that we currently support: size and performance.
1. `devtools_benchmarks_test.dart` - measures DevTools frame times.
2. `web_bundle_size_test.dart` - measures DevTools release build size.
The benchmark tests are run automatically on the CI.
See the "benchma... | devtools/packages/devtools_app/benchmark/README.md/0 | {
"file_path": "devtools/packages/devtools_app/benchmark/README.md",
"repo_id": "devtools",
"token_count": 933
} | 117 |
// Copyright 2023 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.
// Do not delete these arguments. They are parsed by test runner.
// test-argument:appPath="test/test_infra/fixtures/memory_app"
import 'package:devtools... | devtools/packages/devtools_app/integration_test/test/live_connection/eval_and_browse_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/integration_test/test/live_connection/eval_and_browse_test.dart",
"repo_id": "devtools",
"token_count": 1002
} | 118 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import 'initialization.dart';
import 'src/shared/environment_p... | devtools/packages/devtools_app/lib/main.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/main.dart",
"repo_id": "devtools",
"token_count": 357
} | 119 |
// Copyright 2023 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:math' as math;
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:pointer_interceptor/poi... | devtools/packages/devtools_app/lib/src/framework/app_bar.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/framework/app_bar.dart",
"repo_id": "devtools",
"token_count": 3268
} | 120 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart' hide Badge;
import '../../shared/common_widgets.dart';
import '../..... | devtools/packages/devtools_app/lib/src/screens/debugger/breakpoints.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/breakpoints.dart",
"repo_id": "devtools",
"token_count": 1784
} | 121 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(https://github.com/flutter/devtools/issues/4717): migrate away from
// deprecated members.
// ignore_for_file: deprecated_member_use
import 'dart... | devtools/packages/devtools_app/lib/src/screens/debugger/variables.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/variables.dart",
"repo_id": "devtools",
"token_count": 755
} | 122 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import '../../inspector_data_models.dart';
import '../u... | devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/flex/utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/flex/utils.dart",
"repo_id": "devtools",
"token_count": 2261
} | 123 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:math' as math;
import 'package:devtools_app_shared/service.dart';
import 'package:devtools_app_s... | devtools/packages/devtools_app/lib/src/screens/logging/logging_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/logging/logging_controller.dart",
"repo_id": "devtools",
"token_count": 10348
} | 124 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:devtools_shared/devtools_shared.dart';
impo... | devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/memory_android_chart.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/memory_android_chart.dart",
"repo_id": "devtools",
"token_count": 4371
} | 125 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/widgets.dart';
import '../../../../../../shared/common_widgets.dart';
import '../..... | devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/class_details/class_details.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/class_details/class_details.dart",
"repo_id": "devtools",
"token_count": 771
} | 126 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:vm_servi... | devtools/packages/devtools_app/lib/src/screens/memory/panes/tracing/tracing_pane_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/tracing/tracing_pane_controller.dart",
"repo_id": "devtools",
"token_count": 3854
} | 127 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import 'package:vm_service/vm_service.dar... | devtools/packages/devtools_app/lib/src/screens/network/network_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/network/network_controller.dart",
"repo_id": "devtools",
"token_count": 4950
} | 128 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../../service/service_extension_widgets.dart';
import... | devtools/packages/devtools_app/lib/src/screens/performance/panes/frame_analysis/frame_analysis.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/frame_analysis/frame_analysis.dart",
"repo_id": "devtools",
"token_count": 2445
} | 129 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:collection/collection.dart';
import 'package:fixnum/fixnum.dart';
import 'package:flutter/foundation.dart';
import 'package:vm_service_pro... | devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/tracing/model.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/tracing/model.dart",
"repo_id": "devtools",
"token_count": 2168
} | 130 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../shared/primitives/utils.dart';
import '../../../sh... | devtools/packages/devtools_app/lib/src/screens/profiler/panes/bottom_up.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/panes/bottom_up.dart",
"repo_id": "devtools",
"token_count": 1651
} | 131 |
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_functio... | devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_details.freezed.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_details.freezed.dart",
"repo_id": "devtools",
"token_count": 45283
} | 132 |
// Copyright 2022 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 'package:collection/collection.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dar... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/object_inspector_view_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/object_inspector_view_controller.dart",
"repo_id": "devtools",
"token_count": 2682
} | 133 |
// Copyright 2024 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 '../../../shared/charts/treemap.dart';
import '../../../shared/table/table_data.dart';
import 'process_memory_view_controller.dart';
class Categor... | devtools/packages/devtools_app/lib/src/screens/vm_developer/process_memory/process_memory_tree_columns.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/process_memory/process_memory_tree_columns.dart",
"repo_id": "devtools",
"token_count": 336
} | 134 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'package:vm_service/vm_service.dart';
import '../shared/globals.dart';
import '../shared/primitives/m... | devtools/packages/devtools_app/lib/src/service/vm_service_logger.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/service/vm_service_logger.dart",
"repo_id": "devtools",
"token_count": 874
} | 135 |
// Copyright 2023 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.
part of '../constants.dart';
enum PerformanceEvents {
refreshTimelineEvents,
includeCpuSamplesInTimeline,
performanceOverlay,
timelineFlameChartH... | devtools/packages/devtools_app/lib/src/shared/analytics/constants/_performance_constants.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/analytics/constants/_performance_constants.dart",
"repo_id": "devtools",
"token_count": 439
} | 136 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/services.dart';
import 'package:logging/logging.dart';
import '../../globals.dart';... | devtools/packages/devtools_app/lib/src/shared/config_specific/copy_to_clipboard/copy_to_clipboard.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/copy_to_clipboard/copy_to_clipboard.dart",
"repo_id": "devtools",
"token_count": 667
} | 137 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundati... | devtools/packages/devtools_app/lib/src/shared/connected_app.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/connected_app.dart",
"repo_id": "devtools",
"token_count": 981
} | 138 |
// Copyright 2022 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 'package:flutter/material.dart' hide Stack;
import '../../../shared/primitives/listenable.dart';
import '../../../shared/tre... | devtools/packages/devtools_app/lib/src/shared/console/widgets/expandable_variable.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/console/widgets/expandable_variable.dart",
"repo_id": "devtools",
"token_count": 631
} | 139 |
// Copyright 2022 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:math';
import 'package:devtools_app_shared/utils.dart';
import 'package:logging/logging.dart';
import 'package:vm_servi... | devtools/packages/devtools_app/lib/src/shared/diagnostics/tree_builder.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/diagnostics/tree_builder.dart",
"repo_id": "devtools",
"token_count": 4906
} | 140 |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// This file was pulled from dart:io.
// ignore_for_file: empty_statements
// ignore_for_file: non_con... | devtools/packages/devtools_app/lib/src/shared/http/_http_date.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/http/_http_date.dart",
"repo_id": "devtools",
"token_count": 1966
} | 141 |
// Copyright 2023 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 'package:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundati... | devtools/packages/devtools_app/lib/src/shared/offline_mode.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/offline_mode.dart",
"repo_id": "devtools",
"token_count": 2496
} | 142 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:collection/collection.dart';
/// A dart object that represents a graph.
///
/// Each [GraphNode] has a set of [predecessors] and [success... | devtools/packages/devtools_app/lib/src/shared/primitives/graph.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/graph.dart",
"repo_id": "devtools",
"token_count": 906
} | 143 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
part of 'server.dart';
/// Request DevTools property value 'firstRun' (GA dialog) stored in the file
/// '~/flutter-devtools/.devtools'.
Future<bool> isF... | devtools/packages/devtools_app/lib/src/shared/server/_analytics_api.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/server/_analytics_api.dart",
"repo_id": "devtools",
"token_count": 1436
} | 144 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:f... | devtools/packages/devtools_app/lib/src/shared/table/table.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/table/table.dart",
"repo_id": "devtools",
"token_count": 6880
} | 145 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:collection/collection.dart';
import 'package:vm_service/vm_service.dart';
import 'globals.dart';
import 'memory/class_name.dart';
bool i... | devtools/packages/devtools_app/lib/src/shared/vm_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/vm_utils.dart",
"repo_id": "devtools",
"token_count": 541
} | 146 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/profiler/cpu_profiler_controller.dart';
import 'package:devtools... | devtools/packages/devtools_app/test/cpu_profiler/cpu_profiler_controller_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/cpu_profiler/cpu_profiler_controller_test.dart",
"repo_id": "devtools",
"token_count": 7450
} | 147 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/debugger/debugger_model.dart';
import 'package:devtools_app/src/... | devtools/packages/devtools_app/test/debugger/debugger_screen_breakpoints_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/debugger_screen_breakpoints_test.dart",
"repo_id": "devtools",
"token_count": 1165
} | 148 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/extensions/embedded/view.dart';
import 'package:devtools_app/src/extensi... | devtools/packages/devtools_app/test/extensions/extension_screen_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/extensions/extension_screen_test.dart",
"repo_id": "devtools",
"token_count": 3254
} | 149 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@TestOn('vm')
import 'package:ansicolor/ansicolor.dart';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/logging... | devtools/packages/devtools_app/test/logging/logging_screen_data_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/logging/logging_screen_data_test.dart",
"repo_id": "devtools",
"token_count": 3020
} | 150 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/screens/memory/shared/heap/heap.dart';
import 'package:devtools_app/src/shared/memory/adapted_heap_data.dart';
import 'pa... | devtools/packages/devtools_app/test/memory/shared/heap/heap_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/memory/shared/heap/heap_test.dart",
"repo_id": "devtools",
"token_count": 1509
} | 151 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/performance/panes/frame_analysis/frame_analysis.dart';
import 'p... | devtools/packages/devtools_app/test/performance/frame_analysis/frame_analysis_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/frame_analysis/frame_analysis_test.dart",
"repo_id": "devtools",
"token_count": 3265
} | 152 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/shared/primitives/graph.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
late GraphNode testNodeA... | devtools/packages/devtools_app/test/primitives/graph_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/primitives/graph_test.dart",
"repo_id": "devtools",
"token_count": 1510
} | 153 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/screens/app_size/app_size_screen.dart';
import 'package:devtools_app/src/screens/debugger/debugger_screen.dart';
import '... | devtools/packages/devtools_app/test/shared/error_badge_manager_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/error_badge_manager_test.dart",
"repo_id": "devtools",
"token_count": 997
} | 154 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/shared/log_storage.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:logging/logging.dart';
void m... | devtools/packages/devtools_app/test/shared/log_storage_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/log_storage_test.dart",
"repo_id": "devtools",
"token_count": 1033
} | 155 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('ScreenMetaData', () {
test('... | devtools/packages/devtools_app/test/shared/screens_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/screens_test.dart",
"repo_id": "devtools",
"token_count": 329
} | 156 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@TestOn('vm')
import 'package:devtools_app/src/shared/globals.dart';
import 'package:flutter_test/flutter_test.dart';
import '../test_infra/flutter_test_... | devtools/packages/devtools_app/test/shared/vm_flags_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/vm_flags_test.dart",
"repo_id": "devtools",
"token_count": 726
} | 157 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ATTENTION: If any lines are added to or deleted from this file then the
// debugger panel integration test will need to be updated with new line numbe... | devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/src/other_classes.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/src/other_classes.dart",
"repo_id": "devtools",
"token_count": 413
} | 158 |
>// Copyright 2022 The Chromium Authors. All rights reserved.
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.double-slash.dart
>// Use of this source code is governed by a BSD-style license that can be
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.do... | devtools/packages/devtools_app/test/test_infra/goldens/syntax_highlighting/operators.dart.golden/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/goldens/syntax_highlighting/operators.dart.golden",
"repo_id": "devtools",
"token_count": 3715
} | 159 |
// Copyright 2022 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 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/shared/config_specific/import_export/import_export... | devtools/packages/devtools_app/test/test_infra/scenes/performance/default.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/scenes/performance/default.dart",
"repo_id": "devtools",
"token_count": 662
} | 160 |
// Copyright 2023 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.
final Map<String, dynamic> simpleCpuProfile2 = {
'type': '_CpuProfileTimeline',
'samplePeriod': 50,
'stackDepth': 128,
'sampleCount': 10,
'timeO... | devtools/packages/devtools_app/test/test_infra/test_data/cpu_profiler/simple_profile_2.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/cpu_profiler/simple_profile_2.dart",
"repo_id": "devtools",
"token_count": 3316
} | 161 |
// Copyright 2022 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.
class A {
String get name => '';
set name(String value) {}
void method() {}
void get() {}
void set() {}
}
mixin MyMixin<T> on List<T> {}
| devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/classes_mixins.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/classes_mixins.dart",
"repo_id": "devtools",
"token_count": 99
} | 162 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/shared/diagnostics/dart_object_node.dart';
import 'package:devtools_app/src/shared/diagnostics/generic_instance_reference... | devtools/packages/devtools_app/test/test_infra/utils/variable_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/utils/variable_utils.dart",
"repo_id": "devtools",
"token_count": 2707
} | 163 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Used for GA collecting (communicating to https://www.googletagmanager.com/gtag/js script).
window.dataLayer = window.dataLayer || [];
function gtag() {... | devtools/packages/devtools_app/web/devtools_analytics.js/0 | {
"file_path": "devtools/packages/devtools_app/web/devtools_analytics.js",
"repo_id": "devtools",
"token_count": 881
} | 164 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/utils.dart';
void main() {
setAndAccessGlobal();
}
/// This method demonstrates setting and accessing globals, whi... | devtools/packages/devtools_app_shared/example/utils/globals_example.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/example/utils/globals_example.dart",
"repo_id": "devtools",
"token_count": 270
} | 165 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import '../utils/utils.dart';
/// A widget ... | devtools/packages/devtools_app_shared/lib/src/ui/split_pane.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/ui/split_pane.dart",
"repo_id": "devtools",
"token_count": 4238
} | 166 |
#include "Generated.xcconfig"
| devtools/packages/devtools_extensions/example/app_that_uses_foo/ios/Flutter/Release.xcconfig/0 | {
"file_path": "devtools/packages/devtools_extensions/example/app_that_uses_foo/ios/Flutter/Release.xcconfig",
"repo_id": "devtools",
"token_count": 12
} | 167 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'foo_controller.dart';
/// This is an example widget that will be used from `app_that_uses_foo`.
class Fo... | devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/lib/src/foo_widget.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/lib/src/foo_widget.dart",
"repo_id": "devtools",
"token_count": 948
} | 168 |
// Copyright 2024 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.
part of '../_simulated_devtools_environment.dart';
@visibleForTesting
class VmServiceConnectionDisplay extends StatelessWidget {
const VmServiceConnect... | devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/connection_ui/_vm_service_connect.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/connection_ui/_vm_service_connect.dart",
"repo_id": "devtools",
"token_count": 1152
} | 169 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:vm_service/vm_service.dart';
/// Entries for each class statistics
class ClassHeapDetailStats {
ClassHeapDetailStats(
this.classRef... | devtools/packages/devtools_shared/lib/src/memory/class_heap_detail_stats.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/memory/class_heap_detail_stats.dart",
"repo_id": "devtools",
"token_count": 634
} | 170 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.