file_saver has Dio in its dependencies. I don't use Dio in my project, so this package adds unnecessary files to the app bundle. The problem is that Dio can cause security problems in the future, and including it in the project when it's not used is not a good idea. Also on Flutter web it causes the bundle to be slightly bigger for no reason.
The solution would be to switch to Http (that is probably included in every Flutter app by some other dependency) or move the downloading step to documentation.
Either way, this would require releasing a breaking change, so for now I will clone the repository and remove Dio on my own.
file_saver has Dio in its dependencies. I don't use Dio in my project, so this package adds unnecessary files to the app bundle. The problem is that Dio can cause security problems in the future, and including it in the project when it's not used is not a good idea. Also on Flutter web it causes the bundle to be slightly bigger for no reason.
The solution would be to switch to Http (that is probably included in every Flutter app by some other dependency) or move the downloading step to documentation.
Either way, this would require releasing a breaking change, so for now I will clone the repository and remove Dio on my own.