TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Flutter looks good, but is painful

208 pointsby xhrootalmost 6 years ago

31 comments

pcr910303almost 6 years ago
While this has little relationship to the original article... We really should be trying to use the native GUI toolkit (or cross-platform native UI libraries like libui), not using Flutter-esque libraries that draws everything from scratch.<p>Coherent UI is a very important point to users IMO. Users can assume that some special feature from App X will also work on App Y.<p>For example, in macOS Cocoa, textboxes have universal readline-esque keybindings (and is configurable globally) which, as an Emacs user, very, very useful.<p>Most Mac apps use Cocoa as the GUI toolkit, so basically all kinds of apps can benefit these keybindings.<p>Another example of this directly benefiting users is the addition of tabs in macOS Sierra.<p>macOS Sierra added tabs to Cocoa apps, and applications could get the feature without additional modification. I can use tabs in any application, with the same look-and-feel, in all apps.<p>Stories like these are mostly only macOS; since Windows apps usually just re-invent all kinds of UI elements, while Linux&#x27;s GUI toolkits are super-fragmented. (GTK vs Qt is one thing, and there are lots of other options!)<p>Adding Flutter or any other UI library that draws everything from scratch is a <i>bad</i> idea.
评论 #20612558 未加载
评论 #20612270 未加载
评论 #20612460 未加载
评论 #20612269 未加载
评论 #20612489 未加载
评论 #20613428 未加载
评论 #20612371 未加载
评论 #20614125 未加载
评论 #20617120 未加载
评论 #20613865 未加载
评论 #20612594 未加载
评论 #20614579 未加载
_-___________-_almost 6 years ago
&gt; it took them almost a year to add support for 64 bit in APK<p>While the author&#x27;s confusion is understandable, because most of the people posting in the linked Github issue have the same confusion, it&#x27;s always been possible to build a 64-bit APK (and a 32-bit APK). The linked issue is actually about building a single &quot;fat&quot; APK with both 32-bit and 64-bit native libraries in it, which Google Play Store then repackages to have just the needed library for the device it&#x27;s being downloaded to.<p>Shipping two separate APKs has always been possible and gives the same end result for just a little more build process work, which is (&#x2F;should be) automated anyway.<p>I&#x27;ve been shipping an app like this for some time now, and it&#x27;s really not a hardship in any way, certainly not one that justifies the amount of hand-wringing in that Github issue.
评论 #20613776 未加载
评论 #20613454 未加载
tobiaswkalmost 6 years ago
I simply love Flutter for Android and iOS development and have been using it since alpha. I haven&#x27;t tried the web application part; I&#x27;m pretty sure I never will. Here&#x27;s my opinion. I&#x27;ve created several apps with Flutter and every time I enjoy it. The UI is easy to make beautiful and the resulting code easy to read. It feels like all what the current Android SDK is missing. The current Android SDK is old and quite frankly painfull to work with. You just can&#x27;t create beautiful apps with ease; it&#x27;s always a hassle. It&#x27;s also messy and not easy to read the resulting code. The way the whole way the framework is structured entails ugly code in my opinion. This all becomes evident when you use different apps on Google Play. You get the sense that every app reinvented their UI; there is no real UI continuity. Google became a freeloader after JetBrains created Kotlin and marketed it will. The thing is Kotlin made just a little better; in terms of boilerplate stuff; the framework I still hate compared to Flutter. What I really like about flutter is the framework and “it’s all a widget” idea. You can basically do crazy things in UI with ease and on the other hand just use the standard UI components with a great result.<p>As an example I&#x27;ve created an alternative to Nissan&#x27;s Connect EV app. It&#x27;s basically a way to control and monitor your electric vehicle from Nissan. The official app is I’m very disappointed by; it’s slow and full of wrong decisions.<p>My alternative is called &quot;My Leaf&quot; and its available on Google Play and the App Store; <a href="https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=dk.kjeldsen.carwingsflutter" rel="nofollow">https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=dk.kjeldsen.ca...</a> <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;my-leaf-for-nissan-ev&#x2F;id1436701776" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;my-leaf-for-nissan-ev&#x2F;id143670...</a> It&#x27;s completely open source.
评论 #20613336 未加载
评论 #20612743 未加载
desaiguddualmost 6 years ago
I am working on 3 Flutter Applications &amp; 2 of them are currently in production. On average we receive 1 major bottleneck a month, which gets resolved with 3rd Party fixes.<p>Happy to help if you are stuck on any issue with Flutter. Our background is native application development, so far this is the best Cross-Platform Development toolkit available.<p>Phonegap, Ionic &amp; others are web wrappers. PLEASE let Flutter grow!
评论 #20612142 未加载
评论 #20612178 未加载
ibejoebalmost 6 years ago
Flutter is young, and there are bugs, but velocity is high and it is advancing the state of the art. It is a huge leap in accessibility and productivity.<p>I really don&#x27;t understand the complaint about setup. If expanding an archive and setting an environment variable are that daunting, wait til you try mobile development...<p>Snark aside, remember phonegap&#x2F;cordova? Pine for those glory days of low friction?
评论 #20613818 未加载
piokochalmost 6 years ago
The question is: if Flutter will not get traction that Google expects, what will happen with the project?<p>The space of multi-platform mobile apps toolkit is already occupied by several well established players (React Native, Qt, Xamarin and a dozen of other more or less popular tools, sometimes well entrenched in their niches, like Unity for games).<p>Flutter comes with rather obscure language and is late in the game, so it will have to provide something truly game-changing to succeed and I am not sure if that what it offers now is sufficiently appealing.
评论 #20614867 未加载
评论 #20614678 未加载
评论 #20614868 未加载
评论 #20614851 未加载
krzatalmost 6 years ago
I like Flutter very much. In some aspects it is much better than native iOS development. But it&#x27;s far from perfect, so perhaps this post will prompt Google to hire more people to handle issues.<p>But, it&#x27;s not like other companies are much better at this. At React Native they just autoclose them after some time. While Apple most likely has more open issues than Flutter but the data is not public.
mekkkkkkalmost 6 years ago
Tip: For anyone trying out Flutter, please remember to evaluate it based on release builds of your app. Scrolling and animations can feel a bit &quot;off&quot; when running the default debug builds. The 60 FPS butter is only really applied when that `--release` flag gets tacked on.<p>Not using Android Studio, so not sure how easy it is to miss the massive performance difference of optimized vs. debug builds in that workflow.
评论 #20614996 未加载
lovelearningalmost 6 years ago
I have a couple of android app PoCs in mind but didn&#x27;t want to go down the Android SDK way which IMO is becoming more and more complicated and verbose with every release.<p>Just tried Flutter and React-Native yesterday for the first time, and I&#x27;m sorry to say both were sorely disappointing.<p>Flutter was easier to install and get working, but Dart seems to be as verbose as Java with some JavaScript style syntax mixed in. The main dart file was as verbose as a boilerplate native SDK Activity.<p>RN was worse, though I expected it to be simpler. Something called metro server nearly froze the entire machine on every attempt. Had to power off and restart about 5 times. Then, based on GitHub discussions, built something else called watchman from sources. The official docs don&#x27;t mention that watchman is critical. That improved it for a while but then the system wide near-freeze came back again. I wasn&#x27;t even able to display a simple hello world app because of installation and deployment problems.<p>So far, Kivy seems to be the only alternative that is both simple to code and to deploy. Its file sizes are massive, but given that I already find Android SDK so frustrating to design and implement quickly, I don&#x27;t want alternatives that are equally frustrating.
评论 #20612366 未加载
评论 #20612682 未加载
gamma3almost 6 years ago
&gt; Why should someone ever need to offer a bug-fix bounty!?<p>Author expects bugs in open source projects to get fixed for free, by someone else.<p>We need to support open source maintainers instead of shaming them. I&#x27;m excited about Open Collective and made a monthly donation to a project I use.
wastedhoursalmost 6 years ago
I tried Flutter a few times to have a play - really like it. Obviously a lot of the packages available hook you into the Google ecosystem (Firebase is ridiculously easy to get working).<p>There are quite a few things missing, and I personally found it quite hard to get going (but that might just be a general lack of skill at getting tooling set up), but there&#x27;s an awful lot to like if you want to dive into getting something set up on-device quickly.
gitgudalmost 6 years ago
This seems like a fairly biased post (as he admits himself). Flutter has a lot of problems, but if you&#x27;ve used any other <i>cross-platform</i> system, you know it&#x27;s a hard problem to solve.<p>A friend described it to me as <i>&quot;Unity for apps&quot;</i>, which I think is pretty positive and accurate.
评论 #20615801 未加载
hardwaresoftonalmost 6 years ago
For those who are looking for an alternative to Flutter&#x2F;React Native, please check out Nativescript @ <a href="https:&#x2F;&#x2F;docs.nativescript.org" rel="nofollow">https:&#x2F;&#x2F;docs.nativescript.org</a>!<p>It&#x27;s different in a few key ways:<p>- Draws native components (Flutter draws every pixel)<p>- Pure JS native (i.e. JNI powered) shim layer (you can write stuff like `const intent = new Intent()`)<p>- Typescript as first-class (not quite so with React Native, and IMO Typescript &gt; Dart as far as type systems and ergonomics are concerned)<p>- Ability to use both Angular and Vue to structure your app (there&#x27;s also projects out there like Svelte-Native, which is extremely promising from the performance perspective)<p>- More community driven project (with Progress standing behind, following the open-source &amp; extra features business model)
评论 #20613695 未加载
评论 #20612295 未加载
评论 #20612404 未加载
latchkeyalmost 6 years ago
I&#x27;ve recently done a bit of Flutter development and have enjoyed it quite a bit. The third party Provider API solves all the state management issues, it should become the default.<p>OP has some valid points for sure, but fact is that any framework is going to have issues. Just part of the game.
评论 #20612180 未加载
karma_fountainalmost 6 years ago
I&#x27;ve written one app in flutter and the experience was good. It was very easy to get started, and the dev experience was on par with web development with very fast hot reload.<p>However I would say where it excels at is in creating a fully custom-branded experience rather than sticking to the native elements. I reckon <a href="https:&#x2F;&#x2F;reflectly.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;reflectly.app&#x2F;</a> is the poster child for this.
codedokodealmost 6 years ago
I am not sure if users care about controls being &quot;native&quot;. Examples from desktop: Photoshop used non-native controls, and nobody cared. MS Office always had non-native looking menus. DAW (digital audio workstation) apps all look non-native.
评论 #20615302 未加载
winter_bluealmost 6 years ago
A solid alternative is Intel&#x27;s Multi-OS Engine: <a href="https:&#x2F;&#x2F;multi-os-engine.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;multi-os-engine.org&#x2F;</a><p>All it does is let you write iOS UI code in Java or Kotlin, and target <i>both</i> iOS and Android from a single project.<p>It uses the actual underlying iOS API, and simply provides Java wrappers for them, that map one-to-one.<p>I keep wondering, and don&#x27;t know why it hasn&#x27;t gained much traction. It is <i>so much</i> better than Flutter, is obviously reliable since it&#x27;s a simple 1-1 mapping&#x2F;translation layer. (There <i>is</i> more work involved with it, as you have to write the UI lawyer twice, but that&#x27;s about it.)
TylerEalmost 6 years ago
Is “one week of electric scooter rental in Bucharest” the new world currency?
评论 #20612329 未加载
评论 #20612696 未加载
评论 #20612352 未加载
navdalmost 6 years ago
Flutter is not that bad. It is a step in the right direction but there are some paradigms that makes simple things hard. Animations are harder than necessary and building non default layouts requires a bit of thinking to get right.<p>My biggest issue is that there is still this &quot;uncanny valley&quot; feeling when using a flutter app. It feels much better than a react native or Cordova app, but something still feels off.<p>Right now it seems great for prototyping. For iOS however, I&#x27;ve been playing around a bit with SwiftUI which currently (even in its beta state) provides an astronomically better dev experience and user experience.
royal_tsalmost 6 years ago
I don&#x27;t get the part about Scrolling. It doesn&#x27;t feel not native it feels incredible fluid, smooth as butter.
dejaimealmost 6 years ago
Even though my experience is basically the same as the author&#x27;s (8y using java&#x2F;kotlin toolchain), the article still seems to be written by someone with a hammer frustrated with screws for not working properly. His points can be summed up as &quot;Flutter isn&#x27;t as stable as the java toolchain that has existed for over a decade&quot; and &quot;I want Flutter to work the way I am used to work&quot;.
bsaulalmost 6 years ago
Does anyone has a link for the market shares of cross-platform mobile development tech ( react native, phonegap, flutter, etc) vs native ? in terms of apps on the stores, for example.<p>i know they were considered experimental a few years ago but wonder what’s the status today.
curyousalmost 6 years ago
I moved from Flutter to native Android development and found it to be much more pleasant..
meeritaalmost 6 years ago
My experience working with Flutter:<p>- Overclomplicated syntax. - Material Design doesn&#x27;t look as good as the native. Feels like imitation in many cases. - no vector drawable, PDF or Lottie support - I had to create special code for iOS to match certain patterns and components. - Typopraphy done wrong.<p>Flutter maybe something good to start with, but once you want to reach good app design&#x2F;code maintain that would be painfull and you will feel faster and more organized if you do things in their native realms.
评论 #20614844 未加载
bfrogalmost 6 years ago
This just reminded me of how horrible doing things with react native was. A reminder I didn&#x27;t really need.
pjmlpalmost 6 years ago
I still don&#x27;t see any big advantages over Xamarin Native, Qt or plain C++ with native views, when going through this route.<p>All of the with the bonus that C#, JavaScript and C++ actually have lots of market demand, Dart remains a possible CoffeScript.
评论 #20613486 未加载
评论 #20613359 未加载
IshKebabalmost 6 years ago
So mostly this is just complaining about bugs. Does he think that native Android doesn&#x27;t have bugs? One could easily write the same article for <i>any</i> UI framework.<p>Also it seems like he is complaining that the Flutter team actually uses a public bug tracker. Does he really prefer Android&#x27;s bug tracker? The place where bug reports go to die. A year or so ago they gave up on it and basically closed every bug as obsolete.
dep_balmost 6 years ago
I liked the way the UI was built in Flutter and of course Dart &gt; vanilla JS. But with SwiftUI and Jet Pack around the corner there&#x27;s a bit less appeal, especially since Kotlin &amp; Swift &gt; Dart and a lot of UX niceties come for free in iOS, like rotation &#x2F; resizing or hiding the keyboard while scrolling.
mircealalmost 6 years ago
yeah no. i would not bet the farm on this one especially when it comes to developing for Apple devices. Google just doesn’t have the track record to inspire confidence that anything they do is going to stick around
hitekkeralmost 6 years ago
Last major discussion and conclusions about Flutter:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19853247" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19853247</a>
ensiferumalmost 6 years ago
So.. in summary Flutter is a buggy unfinished and badly designed framework. Nothing new here folks.
评论 #20612402 未加载