Update default FlutterFlow package version

Custom Code

Hey,

Due to some other packages that need to be updated to fix some bugs, we need to update the http package to the latest version. Currently it's at version 1.2.0 and we need it to be 1.2.1 to fix some dependency issues with another package.

In the custom code widgets, I tried to update this package and it gives a warning (see image). If I'm not mistaken, this warning specifies that it is possible to override the default version of the package.

Now, when import this package, click the refresh button, save the widget and try to build it, it gives a dependency error. It seems like it's still using http 1.2.0 instead of 1.2.1. How is this possible?

Thanks!

What have you tried so far?

Locally, I am able to get the code running with the by updating http to 1.2.1 so I can update the other package.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
1 reply