- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message
App devs -- anyone tried Flutter?
Posted on 7/23/19 at 8:05 pm
Posted on 7/23/19 at 8:05 pm
I started learning mobile app development a few months ago, and I started with NativeScript for a few reasons. First, I was already familiar with all the languages and frameworks it uses - typescript/javascript, html/css, angular. Second, it seems to be pretty mature with lots of users and plugins. And third, I am just building something seemingly pretty simple (your basic list->details style app), so I wasn't concerned about any potential performance problems.
Man, was I wrong about that last part. Maybe I just don't know what I'm doing (likely), but I just could not get it to work smoothly at all. Maybe I had some weird plugin interactions going on (I'm using Cloud Firestore), but any time I updated any data, my list view would take anywhere between half a second and multiple seconds to update, and the entire UI would freeze in the meantime. I spent weeks/months trying to figure out the root of the problem, but I couldn't hack it.
So I'm starting over.
I had looked at Flutter before I started with NativeScript, but I decided against it after looking at some code. It uses Dart (which I had never touched before), and the whole style of doing things was pretty foreign to me. I'm probably not explaining it correctly, but instead of laying everything out and styling it like with HTML/CSS, everything is a "widget". Text is a widget. Cards are widgets. Layouts are widgets. Padding is a widget! It's just nested widgets everywhere, widgets all the way down. It looked pretty confusing to me.
But I dove in a couple days ago anyway, and I am glad that I did. After maybe 3 days, my app is looking sharp. I've got it all hooked up to Firestore, adding and modifying docs. My list views are fast as hell, updates happen instantly. It is so fast that I had to triple check that it was actually doing everything it was supposed to do.
It will probably take me a few weeks to add all the features my old NS version has, but that is much faster than I could get things done in NS. It seemed like every little thing I tried to do, I had to jump through a dozen hoops to get it to work correctly.
Flutter is totally different. It seems easy to do things even though I'm still coming to grips with the language and the framework itself. I'm sure I will hit a few stumbling blocks along the way, but so far this looks very promising.
Man, was I wrong about that last part. Maybe I just don't know what I'm doing (likely), but I just could not get it to work smoothly at all. Maybe I had some weird plugin interactions going on (I'm using Cloud Firestore), but any time I updated any data, my list view would take anywhere between half a second and multiple seconds to update, and the entire UI would freeze in the meantime. I spent weeks/months trying to figure out the root of the problem, but I couldn't hack it.
So I'm starting over.
I had looked at Flutter before I started with NativeScript, but I decided against it after looking at some code. It uses Dart (which I had never touched before), and the whole style of doing things was pretty foreign to me. I'm probably not explaining it correctly, but instead of laying everything out and styling it like with HTML/CSS, everything is a "widget". Text is a widget. Cards are widgets. Layouts are widgets. Padding is a widget! It's just nested widgets everywhere, widgets all the way down. It looked pretty confusing to me.
But I dove in a couple days ago anyway, and I am glad that I did. After maybe 3 days, my app is looking sharp. I've got it all hooked up to Firestore, adding and modifying docs. My list views are fast as hell, updates happen instantly. It is so fast that I had to triple check that it was actually doing everything it was supposed to do.
It will probably take me a few weeks to add all the features my old NS version has, but that is much faster than I could get things done in NS. It seemed like every little thing I tried to do, I had to jump through a dozen hoops to get it to work correctly.
Flutter is totally different. It seems easy to do things even though I'm still coming to grips with the language and the framework itself. I'm sure I will hit a few stumbling blocks along the way, but so far this looks very promising.
Posted on 8/21/19 at 9:23 am to Korkstand
I guess nobody wants to talk about app development, but I'll update anyway!
A month in and I have put in about 95% of the features that took me 3 months in NativeScript, plus I have gone about 25% further in adding new features the old version didn't have. I highly recommend giving Flutter a shot on your next project.
A month in and I have put in about 95% of the features that took me 3 months in NativeScript, plus I have gone about 25% further in adding new features the old version didn't have. I highly recommend giving Flutter a shot on your next project.
Posted on 8/21/19 at 9:39 am to Korkstand
I work in web app development. I have used flutter, ionic, & phonegap to build mobile apps. If i had to build one today react native would be my framework of choice.
Posted on 8/21/19 at 10:41 am to MarkInTable
Do you not like any of the ones you've used already, so you want to try something new?
Posted on 8/21/19 at 11:37 am to Korkstand
Those are fine, but I have been using React for 18 months and React native is basically the same syntax so that's what I would be most comfortable with. And the community is huge because it's React which is always nice.
Posted on 8/21/19 at 1:16 pm to MarkInTable
Yeah, that's why I started with NativeScript, because I had been using Angular for a while and it felt familiar.
I'm conflicted on the issue of community size, though. I used to think the bigger the better, but lately I'm not so sure. There is a certain critical mass that the community has to reach, but then if it gets too big I've found that it becomes full of trash. I wasted so much time wading through dozens of libraries that solve the same problem, only to finally settle on one before realizing that it doesn't gracefully handle some edge case I have. Then I start over.
Flutter feels easier to me. Maybe part of it is because the community isn't too big and full of garbage yet, but I think mostly it's because it was built from the ground up to solve the specific problem of cross-platform app development. While nativescript, react native, ionic and phonegap all solve the same problem, they do it by translating web technologies into native mobile code. I guess I just find it messy. Or maybe I'm just really terrible at html/css. And I know I don't have a firm grasp of javascript.
Either way, Flutter just makes more sense to me as a way to write mobile apps. It's all the same language, and it's all widgets with properties. It might look ugly when the indentation gets out of hand, but that just lets you know that it's time to extract and refactor.
I'm conflicted on the issue of community size, though. I used to think the bigger the better, but lately I'm not so sure. There is a certain critical mass that the community has to reach, but then if it gets too big I've found that it becomes full of trash. I wasted so much time wading through dozens of libraries that solve the same problem, only to finally settle on one before realizing that it doesn't gracefully handle some edge case I have. Then I start over.
Flutter feels easier to me. Maybe part of it is because the community isn't too big and full of garbage yet, but I think mostly it's because it was built from the ground up to solve the specific problem of cross-platform app development. While nativescript, react native, ionic and phonegap all solve the same problem, they do it by translating web technologies into native mobile code. I guess I just find it messy. Or maybe I'm just really terrible at html/css. And I know I don't have a firm grasp of javascript.

Either way, Flutter just makes more sense to me as a way to write mobile apps. It's all the same language, and it's all widgets with properties. It might look ugly when the indentation gets out of hand, but that just lets you know that it's time to extract and refactor.

Popular
Back to top
