devtools_shared
14.0.0, released 4 months ago by flutter.dev
Shared Dart structures and server classes between devtools_app and other tools.
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.
69Compare - storage_view
Flutter widget to inspect and edit key‑value storage such as shared_preferences.
53Compare - catcher
Plugin for automatic error catching and handling in Flutter applications.
50Compare - architecture_linter
Architecture linter plugin that enforces layer boundaries and banned imports via analyzer rules
49Compare
Works with
Packages commonly used together with devtools_shared: ones it builds on, ones built on it, and its own family.
- vm_servicedevtools_shared depends on itA library to communicate with a service implementing the Dart VM service protocol.
- yamldevtools_shared depends on itA Dart library for parsing YAML documents into Dart data structures.
- shelfdevtools_shared depends on itComposable web server middleware for Dart
- argsdevtools_shared depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- filedevtools_shared depends on itPluggable, mockable file system abstraction for Dart with in-memory support.
- web_socket_channeldevtools_shared depends on itCross‑platform WebSocket channel wrapper for Dart
- webkit_inspection_protocoldevtools_shared depends on itA client for the Chrome DevTools Protocol to talk to debuggers.
- yaml_editdevtools_shared depends on itYAML manipulation library preserving comments and whitespace