devtools_app 0.2.3

  • Readme
  • Changelog
  • Installing
  • 21

Build Status

What is this? #

This is a companion repo to the main Flutter repo. It contains the source code for a suite of performance tools for Dart and Flutter. All of the core logic for the devtools app is in package:devtools_app with package:devtools just serving as a container to serve precompiled versions of the app for easy use with pub global activate.

Getting started #

For documentation on installing and trying out DevTools, please see our docs.

Feedback #

Feedback and issues are best reported at https://github.com/flutter/devtools/issues. Thanks for trying out DevTools!

Terms and Privacy #

By using Dart DevTools, you agree to the Google Terms of Service.

See the changelog for package:devtools which should list all changes to package:devtools_app as it is the user visible package for this work.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  devtools_app: ^0.2.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:devtools_app/devtools.dart';
import 'package:devtools_app/html_main.dart';
import 'package:devtools_app/main.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
21
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
21
Learn more about scoring.

We analyzed this package on Mar 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

Health issues and suggestions

Fix lib/src/flutter/connect_screen.dart. (-57.81 points)

Analysis of lib/src/flutter/connect_screen.dart failed with 3 errors:

line 65 col 32: The getter 'headline5' isn't defined for the class 'TextTheme'.

line 71 col 32: The getter 'bodyText1' isn't defined for the class 'TextTheme'.

line 86 col 30: The getter 'subtitle1' isn't defined for the class 'TextTheme'.

Fix lib/src/network/flutter/http_request_inspector_views.dart. (-57.81 points)

Analysis of lib/src/network/flutter/http_request_inspector_views.dart failed with 3 errors:

line 64 col 48: The getter 'subtitle2' isn't defined for the class 'TextTheme'.

line 185 col 36: The getter 'subtitle1' isn't defined for the class 'TextTheme'.

line 304 col 52: The getter 'subtitle2' isn't defined for the class 'TextTheme'.

Fix lib/src/network/flutter/network_screen.dart. (-57.81 points)

Analysis of lib/src/network/flutter/network_screen.dart failed with 3 errors:

line 112 col 52: The getter 'headline6' isn't defined for the class 'TextTheme'.

line 113 col 54: The getter 'subtitle1' isn't defined for the class 'TextTheme'.

line 148 col 15: The named parameter 'showCheckboxColumn' isn't defined.

Fix additional 12 files with analysis or formatting issues. (-322.73 points)

Additional issues in the following files:

  • lib/src/debugger/flutter/debugger_screen.dart (2 errors)
  • lib/src/flutter/notifications.dart (2 errors)
  • lib/src/info/flutter/info_screen.dart (2 errors)
  • lib/src/profiler/flutter/cpu_profiler.dart (2 errors)
  • lib/src/timeline/flutter/event_details.dart (2 errors)
  • lib/src/flutter/app.dart (1 error)
  • lib/src/inspector/flutter/inspector_screen_details_tab.dart (1 error)
  • lib/src/logging/flutter/logging_screen.dart (1 error)
  • lib/src/network/flutter/http_request_inspector.dart (1 error)
  • lib/src/service_manager.dart (4 hints)
  • lib/src/table_data.dart (3 hints)
  • lib/src/service.dart (1 hint)

Maintenance issues and suggestions

No valid SDK. (-20 points)

The analysis could not detect a valid SDK that can use this package.

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: 255 stdout: parsing /tmp/pub-dartlang-dartdocSZMCCG/pkg/lib/html_main.dart... parsing /tmp/pub-dartlang-dartdocSZMCCG/pkg/lib/main.dart... parsing /tmp/pub-dartlang-dartdocSZMCCG/pkg/lib/devtools.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/collection/collection.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/developer/developer.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/internal/internal.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_interceptors/interceptors.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/io/io.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/isolate/isolate.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/convert/convert.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/async/async.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/typed_data/typed_data.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_empty.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/js_util/js_util_dart2js.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/html/html_dart2js.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/math/math.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/core/core.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/_http/http.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/ui/ui.dart... parsing /flutter/bin/cache/pkg/sky_engine/lib/js/js_dart2js.dart... [...] parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/core/data_set/candle_data_set.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/core/data_set/pie_data_set.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/core/data_set/radar_data_set.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/core/data_set/bubble_data_set.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/core/data_set/scatter_data_set.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/core/enums/scatter_shape.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/controller/scatter_chart_controller.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/controller/bubble_chart_controller.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/controller/candlestick_chart_controller.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/controller/combined_chart_controller.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/controller/pie_chart_controller.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/painter/candlestick_chart_painter.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/painter/bubble_chart_painter.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/painter/scatter_chart_painter.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/painter/combined_chart_painter.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/chart/candlestick_chart.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/chart/pie_chart.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/chart/scatter_chart.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/chart/bubble_chart.dart... parsing /tmp/pub-cache-dirMNBWDM/hosted/pub.dartlang.org/mp_chart-0.1.9/lib/mp/chart/combined_chart.dart... stderr: Documenting devtools_app... Unhandled exception: Stack Overflow #0 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1175:3) #1 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #2 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #3 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #4 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #5 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #6 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #7 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #8 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #9 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #10 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #11 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #12 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #13 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #14 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #15 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #16 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #17 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #18 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #19 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #20 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #21 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #22 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #23 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #24 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #25 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #26 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #27 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #28 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #29 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #30 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #31 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #32 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #33 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #34 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #35 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #36 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #37 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #38 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #39 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #40 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #41 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #42 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #43 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) ... ... #6881 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7083:49) #6882 RecursiveAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3501:18178) #6883 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3668:49) #6884 RecursiveAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3501:130146) #6885 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1081:49) #6886 ForStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4672:12) #6887 RecursiveAstVisitor.visitForStatement (package:analyzer/dart/ast/visitor.dart:905:10) #6888 ForStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:4667:49) #6889 RecursiveAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3501:130146) #6890 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1081:49) #6891 IfStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5636:21) #6892 CodeChecker.visitIfStatement (package:analyzer/src/task/strong/checker.dart:401:10) #6893 IfStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:5631:49) #6894 RecursiveAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3501:130146) #6895 RecursiveAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:1157:52) #6896 MethodDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1036:49) #6897 RecursiveAstVisitor.visitMethodDeclaration (package:analyzer/dart/ast/visitor.dart:1061:10) #6898 MethodDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:6943:49) #6899 ClassDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7520:20) #6900 RecursiveAstVisitor.visitClassDeclaration (package:analyzer/dart/ast/visitor.dart:701:10) #6901 ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:1519:49) #6902 CompilationUnitImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7520:20) #6903 LibraryAnalyzer._computeVerifyErrors (package:analyzer/src/dart/analysis/library_analyzer.dart:291:44) #6904 LibraryAnalyzer.analyzeSync.

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (vm_service).

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and devtools_app.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
ansi_up ^0.0.1 0.0.1+4.0.4
ansicolor ^1.0.2 1.0.2
codemirror ^0.5.10 0.5.15+5.52.2
collection ^1.14.11 1.14.11 1.14.12
devtools_shared ^0.2.2 0.2.3 0.2.4-dev.1
file ^5.1.0 5.1.0
flutter 0.0.0
http ^0.12.0+1 0.12.0+4
intl ^0.16.0 0.16.1
js ^0.6.1+1 0.6.1+1
meta ^1.1.0 1.1.8
mp_chart ^0.1.7 0.1.9
octicons_css ^0.0.1 0.0.1
path ^1.6.0 1.6.4
pedantic ^1.7.0 1.9.0
platform_detect ^1.3.5 1.4.0
plotly_js ^0.0.2 0.0.2
polymer_css ^0.0.1 0.0.1
primer_css ^0.0.2 0.0.2
split ^0.0.7 0.0.7
sse ^3.1.2 3.2.1
vm_service ^3.0.0 3.0.0+1 4.0.0
web_socket_channel ^1.1.0 1.1.0
Transitive dependencies
async 2.4.1
charcode 1.1.3
convert 2.1.1
crypto 2.1.4
http_parser 3.1.4
image_gallery_saver 1.2.2
logging 0.11.4
optimized_gesture_detector 0.0.3
path_drawing 0.4.1
path_parsing 0.1.4
path_provider 1.6.5
path_provider_macos 0.0.4
path_provider_platform_interface 1.0.1
platform 2.2.1
plugin_platform_interface 1.0.2
pub_semver 1.4.4
screenshot 0.1.1
shelf 0.7.5
sky_engine 0.0.99
source_span 1.7.0
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
uuid 2.0.4
vector_math 2.0.8
Dev dependencies
build_runner ^1.3.0
build_test ^0.10.0
build_web_compilers >=2.6.2 <3.0.0
devtools
devtools_testing 0.2.3
flutter_test
matcher ^0.12.3
mockito ^4.0.0
test any
webkit_inspection_protocol ^0.5.0