devtools 0.0.16

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 86

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.

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!

0.0.16 - 2019-04-17 #

  • Reduce the minimum Dart SDK requirements for activating DevTools to cover Flutter v1.2.1 (Dart v2.1)

0.0.15 - 2019-04-16 #

  • Warn users when they should be using a profile build of their application instead of a debug build.
  • Warn users using Microsoft browsers (IE and Edge) that they should be using Chrome to run DevTools.
  • Dark mode improvements.
  • Open scripts in the debugger using ctrl + o.

0.0.14 - 2019-03-26 #

  • Dark mode is ready to use, add &theme=dark at the end of the URI used to open the DevTool in Chrome. We look forward to your feedback.
  • Added event timeline to memory profiler to track DevTool's Snapshot and Reset events.
  • Timeline CPU renamed to UI, janky defined as UI duration + GPU duration > 16 ms.
  • Timeline frame chart removed 8 ms highwater line, only 16 ms highwater line, display 2 traces ui/gpu (instead of 4). Janky frames will have a red glow.
  • Flame chart colors use a different set of palettes and timeline is sticky.
  • Warn users when they are using an unsupported browser.
  • Properly disable features that aren't supported for the connected application.
  • Fix screens for different widths.

0.0.13 - 2019-03-15 #

  • Dark mode, still being polished, is available. Add &theme=dark at the end of URI used to open DevTools in the Chrome browser.

Memory #

  • Added showing GCs on the timeline and leak detection.

Timeline #

  • Fix bugs when events were received out of order.

0.0.1 #

  • initial (pre-release) release

example/readme.md

A simple example app, useful when doing manual testing of the DevTools debugger.

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate devtools

2. Use it

The package has the following executables:


$ devtools

Use this package as a library

1. Depend on it

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


dependencies:
  devtools: ^0.0.16

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:devtools/devtools.dart';
  
Version Uploaded Documentation Archive
0.0.16 Apr 17, 2019 Go to the documentation of devtools 0.0.16 Download devtools 0.0.16 archive
0.0.15 Apr 16, 2019 Go to the documentation of devtools 0.0.15 Download devtools 0.0.15 archive
0.0.14 Mar 26, 2019 Go to the documentation of devtools 0.0.14 Download devtools 0.0.14 archive
0.0.13 Mar 15, 2019 Go to the documentation of devtools 0.0.13 Download devtools 0.0.13 archive
0.0.12 Mar 1, 2019 Go to the documentation of devtools 0.0.12 Download devtools 0.0.12 archive
0.0.11 Feb 25, 2019 Go to the documentation of devtools 0.0.11 Download devtools 0.0.11 archive
0.0.10 Feb 23, 2019 Go to the documentation of devtools 0.0.10 Download devtools 0.0.10 archive
0.0.9 Feb 22, 2019 Go to the documentation of devtools 0.0.9 Download devtools 0.0.9 archive
0.0.8 Feb 22, 2019 Go to the documentation of devtools 0.0.8 Download devtools 0.0.8 archive
0.0.7 Feb 22, 2019 Go to the documentation of devtools 0.0.7 Download devtools 0.0.7 archive

All 19 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
76
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
86
Learn more about scoring.

We analyzed this package on Apr 25, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:devtools/devtools.dart.

Health suggestions

Format lib/src/main.dart.

Run dartfmt to format lib/src/main.dart.

Format lib/src/ui/fake_flutter/dart_ui/geometry.dart.

Run dartfmt to format lib/src/ui/fake_flutter/dart_ui/geometry.dart.

Maintenance suggestions

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0-dev <3.0.0
codemirror ^0.5.3 0.5.3+5.44.0
collection ^1.14.11 1.14.11
devtools_server ^0.0.2 0.0.2
http ^0.12.0+1 0.12.0+2
intl ^0.15.0 0.15.8
js ^0.6.1+1 0.6.1+1
meta ^1.1.0 1.1.7
octicons_css ^0.0.1 0.0.1
path ^1.6.0 1.6.2
pedantic ^1.4.0 1.5.0
platform_detect ^1.3.5 1.3.5
plotly_js ^0.0.1 0.0.1
polymer_css ^0.0.1 0.0.1
primer_css ^0.0.2 0.0.2
rxdart ^0.21.0 0.21.0
split ^0.0.1 0.0.1
vm_service_lib ^3.14.3-dev.4 3.15.1+1
Transitive dependencies
args 1.5.1
async 2.2.0
charcode 1.1.2
convert 2.1.1
http_parser 3.1.3
mime 0.9.6+2
pub_semver 1.4.2
shelf 0.7.5
shelf_static 0.2.8
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
stream_transform 0.0.17
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
build_runner ^1.3.0
build_web_compilers ^1.2.0
matcher ^0.12.3
test ^1.0.0
webkit_inspection_protocol ^0.3.6