XianyuTech/aspectd
AOP for Flutter(Dart) observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2674
- days_rel: n/a
- days_push: 1658
- n_releases_24m: 0
Adoption not part of the score
1110 stars · 122 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AspectD is an aspect-oriented programming (AOP) framework for Dart and Flutter, providing call/execute interception and code injection via dill (Dart kernel binary) transformation. It works by patching flutter_tools to apply a compile-time transformer, since dart:mirrors is unavailable in Flutter.
Use cases
- intercept and instrument method calls in flutter apps without modifying source code
- add logging or analytics hooks to dart methods via annotations
- inject code into existing dart functions at compile time
- build custom dill transformers for code manipulation
- apply aspect-oriented patterns like AspectJ in a flutter project
When to choose
- you need non-invasive cross-cutting concerns (logging, monitoring, performance tracking) in a flutter app
- you want AspectJ-style call/execute/inject semantics for dart
- you need compile-time code transformation on dart kernel files
When to avoid
- you are unwilling to patch flutter_tools, since the required patch may break with flutter updates
- your project uses a flutter version not matching the supported stable branch
- you need runtime AOP with reflection, which dart does not support in flutter
Facets
framework · maturity maintenance
compiler developer-tools middleware developer-tools mobile-development cross-platform cross-platform aop aspect-oriented-programming dart flutter code-instrumentation dill-transformer compile-time-weaving
1 source
- readme: https://github.com/XianyuTech/aspectd · fetched 2026-08-28 · e05bf4858074
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| XianyuTech/aspectd | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="XianyuTech/aspectd")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem