FLUTTER ECOSYSTEM

google/reflectable.dart

Reflectable is a Dart package that allows programmers to eliminate certain usages of dynamic reflection by specialization of reflective code to an equivalent implementation using only static techniques. The use of dynamic reflection is constrained in order to ensure that the specialized code can be generated and will have a reasonable size.

reflectable.dart project cover
Stars
386
Forks
67
Last push (UTC)
Sep 1, 2026
Project status
Active
Google GitHub avatar
GITHUB Organization

Google ↗

Google ❤️ Open Source

United States of AmericaOfficial website ↗
LanguagesDartShellMakefile

Packages published by this repository

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project 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.