this doc shows how to obfuscate the flutter app. But in my case, I write a flutter package, and I don't want to provider its source code while other flutter app using this package, just like an android app using .aar as dependency. I cound not find relative doc for this situation.
flutter/issues/98633
The short answer seems to be that no, there is no simple way to achieve this. Take a look at this Github issue where someone asks a similar question and it is explained that no built-in way exists to achieve this, though some suggestions are given that might be worth exploring.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With