r/FlutterDev • u/samnbd • Aug 28 '21
Community Is Flutter Web really ready for production?
Hi awesome people... A question about Flutter Web...did anyone used it for a real project for a client (web apps) ? Beside SEO issues, Is it really ready for production?
8
u/itsastickup Aug 28 '21
For internal business projects, I think very much so. Your employees have been putting up with slightly rough-edged applications from forever.
And even for outward facing it's not so bad really, if it's as an app. To use a service. As a primary website it's too slow to load, but embedded would solve that issue in my opinion.
6
5
u/HaMMeReD Aug 28 '21
When people as this, I do deploy pretty comprehensive examples you can see at
https://dartboard-playground.firebaseapp.com/#/
Certain things are really nice, other things not as much. It being production ready really is a question of what you need to do with it.
If the demo doesn't work well on your PC, you can turn off features (like the particle effects most people wouldn't actually use on a web site).
2
4
u/JBarCode Aug 28 '21
I have a flutter web project right now and I'd say no. You'll run into problems serving ads and integrating payment systems. If your site requires these things, you probably don't want Flutter Web yet.
2
u/slavap_ Aug 31 '21
I've integrated few payment systems with webview without any major problems.
1
u/JBarCode Aug 31 '21
What pub.dev packages do you recommend and what payment backend (square, paypal, etc.)?
2
u/slavap_ Sep 01 '21
I was not using any pub.dev packages, just read integration docs and ran it in webview, works with PayPal, Fexco and Adyen.
4
u/akshat_tamrakar Aug 29 '21
I used flutter web for production, To be honest initial loading time can be minimised but only up to a point. It's still observable. But it doesn't matter as most web apps depends on some APIs to give away the results for initial page. I added a splash screen to give false impression of faster loading time (as my app was for office internal use only the initial time actually didn't matter)
The only thing that I found really hard was navigation. For mobile and desktop it's okay and works like expected but for web it's nightmare. I tried several packages like vRouter, auto_route, advance_route, beemer, floro, etc but none of them were giving satisfying results. Routing itself is working fine but if you want to go on search bar and write route yourself instead of doing button clicks it gives unexpected results.
Other then that performance is good (not up to Angular or react), of course no SSR, if your app is for customers SEO is almost doesn't exists, hot reload is not quite there for web as it just sent us back to initial page most of the times and
Overall I recommend to use Flutter web only if it's not for customers and for personal or in organisation use only. If you want for customers do it if you already have a mobile app made with flutter and don't want to spend time in reinventing the wheel.
5
u/AtomicNicos Aug 28 '21
Nope, did that for a project and the end effect lacks all the polish a standard website can have. We literally had to have an object render custom html at the end and prayed for it to work, it did, and then we labeled it PoC and yeeted it far, far from our environments.
2
u/TheFr0sk Aug 28 '21
I would say it depends on your goal. I have built a private web app and it works great on mobile. The initial loading time only happens once, after that the app is cached and opens up almost instantly. So for a web app, I think flutter would be a good choice. For a website I don't think so. Is like using a wrecking ball to kill a fly. To heavy, to slow and not exactly the purpose of it.
2
u/Kevlar-700 Aug 28 '21
I would suggest you look up past threads as I am sure many in the know will have stopped responding on this topic.
2
u/NMS-Town Aug 29 '21
I'm getting that it's good for web apps, but not so much for web sites. I just started using it, so I couldn't really say.
2
2
3
u/vladigris Aug 28 '21
Yes, it is ready if you need web app and not info web site.
Also it depends on situation.
If you need web app only, then you would better go with React / Angular / Vue.
But if you need web app + mobile app + may be desktop app, you can do it on the same code base on Flutter and this is cool and Flutter web could be a very good option.
I am currently doing this. Web + mobile app. It requires more work, than doing mobile app only, but at the same time lots of code still reused. Models, stores, working with API, all of this is reused. Lots of widgets reused also.
2
1
u/HallPersonal Aug 29 '21
there is an annoy cache issue where you have to force a hard reload on a page, i am kinda working through this issue now because, my users wont be thinking about clearing their cache to experience a new update. There is also an issue with it not remembering where you left off, kinda working that out right now as well.
1
Aug 29 '21
The only example I know of is Invoice Ninja v5 and judging by that I'd say no, it's horrible.
1
u/dkoepke Aug 29 '21
Yes, we are using it in a production product for our customers. Been very happy with what we were able to develop with it. We used a consultant and he's done a great job with it.
1
u/AishiFem Aug 29 '21
There are so many amazing web possibilities... I don't get why anyone would use Flutter. Use .NET
1
u/rookietotheblue1 Aug 29 '21
I don't get why anyone would use .NET use flutter.
1
u/AishiFem Aug 30 '21
.NET is ready for production for many years. What will you say about that ?
1
u/rookietotheblue1 Aug 31 '21
Flutter to the moon. Get in early before flutter puts DN devs out of work.
1
u/AishiFem Aug 31 '21
I use flutter for mobile development. .NET is godlike in web dev.
→ More replies (2)
1
1
u/Inevitable_Drive604 Sep 08 '21
I found flutter to be able to solve a lot of issues I had with other frameworks.
1
1
-1
u/jampanha007 Aug 29 '21
Nope, and it never will be.
It was meant to show case flutter app in web and not to be used it in production.
2
7
Aug 28 '21
[removed] — view removed comment
2
Aug 29 '21
BTW is there any definition difference for website and webapp? What's the difference between two terms? It's a bit confusing IMO
2
u/vladigris Aug 29 '21
Web site is mostly the site to show information to user. Web app is mostly some dashboard or something with lots of complex things and iteractions with user.
1
u/cryovenocide Dec 07 '21
Website: Not js heavy, as a developer you dealt with HTML and CSS directly to make it run. As a user, you feel this detached page, like things in the page are not following the same theme, there's not many advanced animations and it feels like there's more ads/images and text than buttons/interactive elements. You can open the inspect element and see small classes on elements, nothing too robotic with the tags.
WebApp: JS heavy, as a developer you dealt with either a lot of JS or a framework that abstracted a lot of HTML/CSS. As a user you see this theme in the page, like every button, box etc. follow this same color palette or has this feel of being fluid and interactive, hovering over or clicking items results in this smooth change on the page and there's probably a lot of buttons. You inspect the elements and see these huge classes on elements and tags that are pretty robotic.1
u/vladigris Aug 29 '21
I would say for general public websites do not use React and Angular as well. They are for web apps also. For regular web sites: Wordpress, ROR, Django, etc
1
Aug 31 '21
[removed] — view removed comment
2
u/vladigris Aug 31 '21
Flutter, Angular, React are for web apps. They are not right tool for the job for web sites.
1
36
u/[deleted] Aug 28 '21
In my experience I wouldn't suggest using Flutter for web projects unless you have very limited resources.
Initial page load is slow
Not quite ready for server side rendering (SSR)
Routing system is not quite ready for web (and I hope doing so won't sacrifice the original navigation system on flutter which I love a lot)
Bundle size
Not a native feeling / UX because flutter tries to emulate widgets using exists web technologies instead of using them. Eg: at the time of my testing you can't click on links and select open in new tab
IMO I hope flutter team wouldn't sacrifice features we love in favor of web support because web differs from native platforms a lot (at least time of writing this post).
For web I would suggest using more mature technologies like React (Next.js for SSR) or Vue (Nuxt.js for SSR). Because they're just focused on managing DOM element state rather than rendering and stuff so they work better without sacrificing UX.