-
Notifications
You must be signed in to change notification settings - Fork 29k
Closed
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.
Description
I know that mirrors is blocked now because it causes the generated packages to be very large.
However, on the long term, it should remain a goal to find a solution for this. Many libraries use mirrors so not being able to use mirrors for Flutter apps will make the framework a lot less powerful.
The trade-off between large package sizes and using mirrors should be left to the user. A possible solution might be to use an explicit --allow-mirrors
flag. But of course the ultimate solution should be to find a way to use mirrors without blowing up package sizes.
Java has reflection and Objective-C has Runtime Reference, so why would Flutter not have a reflection system?
stevenroose, fly512, matejthetree, huntergn, enif-lee and 53 morecharafau
Metadata
Metadata
Assignees
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.