FLUTTER ECOSYSTEM

google/reflectable.dart

Reflectable 是一个 Dart 包,允许程序员通过将反射代码专门化为仅使用静态技术的等效实现,从而消除某些动态反射的用法。为了确保生成的专用代码可以被生成且大小合理,对动态反射的使用进行了限制。

reflectable.dart 项目封面
Stars
386
Forks
67
最近推送(UTC)
2026年9月1日
项目状态
未归档
Google GitHub avatar
GITHUB Organization

Google ↗

Google ❤️ Open Source

United States of America官方网站 ↗
语言DartShellMakefile

此仓库发布的插件

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

This repository provides the Dart packages reflectable and reflectable_builder, along with a set of test cases and examples in the repository test_reflectable.

reflectable

Support for implementing a large subset of the features offered by 'dart:mirrors' without relying on 'dart:mirrors' itself. Provides a system based on capabilities to control the amount of reflection support.

reflectable_builder

Support for generating the code that the package reflectable uses to provide the reflection support described above.

test_reflectable

Used to test package reflectable. Also serves as a set of examples of how reflectable can be used.