Skip to content
pubscout

devtools_shared

14.0.0, released 4 months ago by flutter.dev

Shared Dart structures and server classes between devtools_app and other tools.

WASM-ready
$ flutter pub add devtools_shared
Source repository

What it does

Provides shared data structures, memory structures collected from the Dart VM, ADB memory info, and shared DevTools server classes.

AI-written summary of version 14.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building tools that need to consume or interoperate with Dart DevTools shared structures.
  • You need shared DevTools server implementation classes.

Skip it when

  • You are building a standard mobile or web application unrelated to Dart DevTools tooling.

Strengths

  • Maintained by the Flutter team as part of DevTools.
  • Standardizes structures between devtools_app, dds, and external tooling.

Weaknesses

  • Not intended for general application development use.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
14

Add the dependency to pubspec.yaml.

import 'package:devtools_shared/devtools_shared.dart';
import 'package:devtools_shared/devtools_server.dart';

Alternatives

Packages that do the same job and could replace devtools_shared.

  • dswitch

    CLI tool to rapidly switch between channels and versions of standalone Dart.

  • storage_view

    Flutter widget to inspect and edit key‑value storage such as shared_preferences.

  • catcher

    Plugin for automatic error catching and handling in Flutter applications.

  • architecture_linter

    Architecture linter plugin that enforces layer boundaries and banned imports via analyzer rules

Works with

Packages commonly used together with devtools_shared: ones it builds on, ones built on it, and its own family.