搜索插件、代码仓与 APP 分类

插件详情v1.4.0

dap

一个包含从 DAP 规范生成的类及其生成代码的包。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
1000万
喜欢数
4
Pub 分数
140

安装插件

flutter pub add dap

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

dap 包提供了从调试适配器协议(DAP)规范生成的 Dart 类和代码,使调试功能能够无缝集成到 Dart 和 Flutter 工具中。它支持调试器与调试适配器之间的标准化通信,确保跨平台兼容性。该包包含实现或与 DAP 兼容的调试器交互所需的所有类型和结构。它主要面向在 Dart 生态系统中构建或扩展调试工具的开发者。

适合场景

  • 实现自定义调试适配器
  • 将 DAP 集成到 IDE 中
  • 为Flutter构建调试扩展
  • 启用跨平台调试
  • 支持远程调试工作流

主要特点

  • 源自官方 DAP 规范
  • 调试协议消息的完整类型安全性
  • 跨平台支持
  • 内置的序列化/反序列化
  • 专为工具和 IDE 集成设计

适合对象

  • Dart/Flutter 工具开发人员
  • IDE插件创作者
  • 调试框架构建器
  • 平台特定的调试器实现者

使用建议

  • 主要用于高级工具使用
  • 需要了解DAP协议
  • 不适用于最终用户应用程序
  • 除了源代码之外,文档有限

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Dart

An approachable, portable, and productive language for high-quality apps on any platform

Dart is:

  • Approachable: Develop with a strongly typed programming language that is consistent, concise, and offers modern language features like null safety and patterns.

  • Portable: Compile to ARM, x64, or RISC-V machine code for mobile, desktop, and backend. Compile to JavaScript or WebAssembly for the web.

  • Productive: Make changes iteratively: use hot reload to see the result instantly in your running app. Diagnose app issues using DevTools.

Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:

  • Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.

  • Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).

Dart platforms illustration

License & patents

Dart is free and open source.

See LICENSE and PATENT_GRANT.

Using Dart

Visit dart.dev to learn more about the language, tools, and to find codelabs.

Browse pub.dev for more packages and libraries contributed by the community and the Dart team.

Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).

Building Dart

If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.

There are more documents in our repo at docs.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

Roadmap

Future plans for Dart are included in the combined Dart and Flutter roadmap on the Flutter wiki.

所属分类

源码仓库

使用此插件的项目

暂无相关数据。