Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
nate15116yHow do you like flutter? Have you done much native dev with Java/Kotlin or Swift/Obj-C? How do you think it compares?
-
@nate I have done some native app development in Android with Java and to be honest, I could not like it much. There were many reasons for that. To name a few, I could not deal with the complexity native sdk comes with. Coding a simple list requires me to create an adapter and then use it. It is too much work for a beginner. Tooling is terrible. Build times are drastic and there is no way to see your code working in action unless you deploy it. Building user interfaces was something I used to avoid because of so many complex things.
Flutter solves all the above problems. I love building UIs the most. I do not worry about having two files (for view and code-behind) and No, it does complicate the app if we have all the code in one file. "Everything is a widget" formula makes building everything you want to build fun and a breeze. See my rants, mg GitHub and my YouTube and you will understand what I am talking about. And, [drumroll] , you can see your app working on Android and iOS. -
@samarthagarwal tbh I only support your point about UI and on iOS only, using adapters gives much more flexibility, you are in complete control. Yes it is too much for a simple list. But using it with databinding is just great.
As for UI on Android it is the easiest thing I ever dealt with. Especially if you use constraint layout
But the upside of flutter is you write once and bugs fixed for both platforms -
@gitpush, I am enjoying this discussion. I know that adapters give you complete control, and we do that in Flutter also, since dart is also an OOPL. I guess you just have to try it once. Watch a video I have on YouTube that teaches how to get JSON data and populate a list asynchronously. I am thinking creating an AsyncTask in Android is required if I am right, but Flutter makes it so easy. I totally understand the power of Native but, but, but, Flutter is almost it. Almost. Who knows what the future holds but I am excited and loving it so far.
-
@samarthagarwal asynctask is one of the things that made me switched to kotlin, async/await in Kotlin makes life easier lol
-
anki711566yFlutter integrates code with the layout,as everything is a widget. This makes it easy to manage things. I was surprised to see how apps built with flutter are so well integrated as opposed to React native. Comparing native vs hybrid development,flutter is better if you want to code at an abstract level. Although native development has its own issues of defining each thing individually which increases complexity.
Related Rants
Some open-source stuff for Flutter developers.
undefined
flutter is awesome
google
flutter