devtools_shared 0.2.4-dev.1

  • Readme
  • Changelog
  • Installing
  • 93

What is this? #

This is a package shared between devtools_app, devtools_server, and external users accessing exported JSON files. This package contains structures describing the format of JSON files e.g., HeapSample, memory structures collected from the Dart VM (HeapSpace) and collected memory info from Android's ADB (AdbMemoryInfo).

Terms and Privacy #

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

0.2.3 #

  • Coordinated release with DevTools 0.2.3.

0.2.2 #

  • Simplified devtools_api.dart.

0.2.1 #

  • Added devtools_api.dart to devtools_shared.

0.2.0 #

  • Added field to Memory JSON file "dartDevToolsScreen": "memory".

0.1.0 #

  • Updated MemoryJson to expose header and footer parts of the JSON file. The data portion is still the persisted List

0.0.1 #

  • initial release

Use this package as a library

1. Depend on it

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

  devtools_shared: ^0.2.4-dev.1

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_shared/devtools_shared.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

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

  • Dart: 2.8.1
  • pana: 0.13.8-dev

Maintenance suggestions

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_shared.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.

Package is pre-release. (-5 points)

Pre-release versions should be used with caution; their API can change in breaking ways.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.3.0 <3.0.0