The size of Flutter apps is too large. Is there a way to reduce the size of the flutter application?

Forums FlutterThe size of Flutter apps is too large. Is there a way to reduce the size of the flutter application?
Staff asked 2 years ago

Answers (1)

Add Answer
Parth Marked As Accepted
Staff answered 2 years ago

Consider using the —split-debug-info tag when creating a release version of your app. This tag can help you save a lot of space in your code. See Obfuscating Dart Code for an example of how to use this tag.

You can also do the following to make your app smaller:
Remove any resources that are no longer in use.
Reduce the number of resources imported from libraries.
PNG and JPEG files can be compressed.

Subscribe

Select Categories