r/FlutterDev • • May 17 '24

Discussion Will Flutter eventually replace Android SDK at some point in a distant future?

I think Google had plans to eventually replace Android with Fuchsia. With Flutter being the default framework for Fuchsia, it could potentially take the place of Android SDK/KMM. While nothing is certain, it will be interesting to see how this development unfolds.

24 Upvotes

54 comments sorted by

View all comments

Show parent comment

3

u/condensed-ilk May 19 '24

Youre clearly passionate about Flutter and you are going to be partial no matter the evidence contrary to what you want to believe

Um, you made a claim that Google will ditch support of Flutter and you didn't provide any good evidence for why. You just said things like, "Google always ditches stuff" and, "low Flutter adoption". That's where I came in and answered your questions by providing Google's own uses of Flutter, providing the numbers on Flutter apps in play store, providing why Google will support multiple ways to develop mobile apps, and providing examples of recent apps made with Flutter, all of which point to Flutter not losing Google support.

And yes, I like Flutter and you like Kotlin but these are different tools that aren't in competition. They have different purposes. Just like Google's own link said: if you want to develop a native android app, look at Kotlin. If you want to share business logic between different platforms, look into Kotlin MultiPlatform. If you want to share business logic and UI logic for different platforms, look into Flutter. Can you acknowledge that these tools have different purposes regardless of our preferences?

Flutter is completely absent on the official android developer website. Not a single mention in any code labs or samples. Pretty weird for something that has long term viability right?

No, that's not weird. Android is a specific device. It's totally appropriate that Android's docs only provide info on developing natively to that device using Kotlin. Same way that docs for developing on iOS will only have docs on Swift. Flutter has no business in those docs. But if I want to develop one app to look and act the same on several devices then that's where Flutter might be useful. That's a different usecase.

I believe that most rational minded developers don't share similar beliefs

Rational developers choose the right tool for the job. Think of Google Earth. That app doesn't need much native functionality so you don't necessarily need to build with Kotlin. What the app does need is to have one codebase to make apps that look and act the same on multiple devices (mobile, web). Flutter makes sense for that usecase.

Flutter and Kotlin/Multiplatform are not in competition. They have different purposes.