The Release mode enables optimizations and generates without any debug data, so it is fully optimized . . Lots of your code could be completely removed or rewritten in Release mode. The resulting executable will most likely not match up with your written code.
Read moreWhat is flutter release mode?
The command flutter run –release compiles to release mode . Your IDE supports this mode. Android Studio, for example, provides a Run > Run… menu option, as well as a triangular green run button icon on the project page.
Read more