What I like LEAST about Flutter are "The Updates" + Tips

Video thumbnail

What really bothers me about the Flutter ecosystem is Android, the damn updates.
 

I have a compulsion to keep everything up to date, and I run commands several times a week. I keep SDKs, packages, and Android Studio up to date. The problem is that from one day to the next, a project that was working stops working.

flutter upgrade

and others

For example, an academic project ran perfectly on Windows, but not on MacOS. It used to be the other way around: it worked on Mac, but not on Windows. And all this just because of version differences and updates.

Errors, versions, dependencies and more

  • These problems are often accompanied by very verbose errors. For example, on Windows, I had a conflict with a package (WYSIWYG editor), which was later updated. It's also happened to me with the Android SDK: versions 35 and 36 causing warnings and errors.
  • Often, I don't understand what's going on. I end up tracking files, checking internal project dependencies, mainly Gradle files, versioning with the Android SDK or the Flutter SDK, or pubspec.yaml or .lock.
  • Not to mention that internally, they update the Android project with different syntaxes or directly type files. An example of the latter is build.gradle.kts, whose Kotlin extension, kts in older versions, was not included.

It's very annoying because these aren't "old" projects, but relatively new ones. But updates make them incompatible. And here's the dilemma:

  • Or you try to update manually, praying you don't forget anything.
  • Or you create a new project in Flutter and start copying and pasting everything, running the risk of leaving something out (as happened to me once with AndroidManifest).
  • That's why I think there should be a command to update projects automatically. Doing it manually is tedious and time-consuming.

So in conclusion, the problem with Flutter isn't the coding or the programming language; the poison is carried internally by the project itself, as it doesn't update automatically as new updates are released for related technologies.

I agree to receive announcements of interest about this Blog.

One of the most annoying things about the Flutter ecosystem is the Flutter updates, project packages that can BREAK our project.

- Andrés Cruz

En español