Flutter 3.47

(flutter.dev)

86 points by gumby2718 hours ago

17 comments

  • meerita25 minutes ago
    I prefer React Native (Expo) over Flutter. There are several things I don&#x27;t like about Flutter. I had the chance to work with Flutter in the past and none of them were good experiences.<p>- Dart. Also, finding good developers to work with Flutter is harder than finding good RN developers.<p>- Emulated components vs. real native components.<p>- Speed: RN feels snappy and has fast animations. Flutter often struggles to stay at 60 FPS and requires a lot of optimization for simple things.<p>- Ecosystem: RN has a much bigger ecosystem of components.<p>- Migrating to native platforms: if you eventually want to move to fully native apps, it&#x27;s easier for agents to read an RN project, understand its components, and build a serious native project from it.
  • doodlesdev6 hours ago
    While I&#x27;ve used Flutter since Alpha, I&#x27;ve been away for a few years. A few things have shocked me in these release notes: how come Impeller still wasn&#x27;t the default engine for all platforms? Also, why are they migrating to WASM if one of the core features of Dart is compiling to JavaScript? Finally, how come multi window support only get viable now, after four years having desktop support?<p>Honestly, Flutter is an extremely enjoyable development experience I would recommend anyone I care for to stay away from. The fact it&#x27;s developed by Google doesn&#x27;t help: it&#x27;s a matter of time before they kill it like they did with so many UI libraries and frameworks already, specially with JetBrains developing Compose Multiplatform and the Android team going all-in in the Compose strategy.
    • maxloh5 hours ago
      Flutter operates more like a 2D game engine. It renders its own views, which involves a lot of arithmetic operations, making WASM a more efficient option than JS.
      • WA1 hour ago
        WASM or JS doesn’t matter. The reason is Canvas instead of DOM. Flutter apps render to the canvas element, because this is the only option for the 2D game engine you mentioned.
    • skybrian6 hours ago
      I suppose AI would help for porting your app if you need to? It&#x27;s not like the old days.
      • ls-a5 hours ago
        This blogpost could&#x27;ve been an mcp doc. Who needs to know about this stuff these days? AI will never pick flutter for a project anyway
    • gman8353 minutes ago
      [dead]
  • TheChaplain57 minutes ago
    Are Flutter and React Native still viable choices today?<p>I get the impression that more are going for native mobile, KMP or PWA.
    • WA46 minutes ago
      Flutter: if you want a pixel perfect version of your app that looks similar on Android and iOS. Some quite popular apps use it and make a shit ton of money, for example Headspace. More here: <a href="https:&#x2F;&#x2F;flutterhunt.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;flutterhunt.com&#x2F;</a><p>React Native: totally viable, because core business logic is the same. If you want native UI elements and all the iOS Liquid Glass stuff, but don’t want to have to completely separate code based, React Native is a viable option if you don’t mind installing lots of third party packages for functionality you get out of the box in Flutter or true native apps.<p>Native mobile: I have one smaller app with quite a custom calendar view, written with Claude Code natively for Android and iOS. Coding agents help and you get maximum control. Mentally, it’s a bit cumbersome to direct you agent to do everything twice. While one platform can serve as a reference implementation for the other, it’s kinda annoying mentally &quot;to do the same feature all over again and test and direct the agent&quot;. But it’s doable.<p>KMP: No experience, I just hate most things around Android.<p>PWA: That ship has sailed. Nobody knows about PWAs, most PWAs are bad. It’s a bummer really.<p>Capacitor: make an SPA (offline-first preferably), and use native code plugins via Capacitor. Still quite feasible, comparable to Flutter in the sense that you need to build a custom UI or use a fake version of Liquid Glass and Material. I use Ionic for that, but it’s a bit dated (still on Material v2). Heavily depends on your skills as a web dev to get good UX.
      • sgt34 minutes ago
        Native was always the best. It was just time consuming, requiring a bigger team. Now with AI helping out, it&#x27;s probably the best option by far. I still like Flutter a lot though because you can get stuff done fairly quickly and even apply Material design to the iOS apps or vice versa if you want to (if it&#x27;s a business app where the design doesn&#x27;t matter too much). Or if you e.g. target win32
        • victorbjorklund8 minutes ago
          In most cases yes but if you don’t want native elements and you want your app to look exactly the same on android as on iOS then flutter is a better choice. Assuming you don’t have any performance limitiations.
    • keyle52 minutes ago
      We use flutter at work. When you need to target various platforms for the same code base it&#x27;s extremely competent.
    • wwdrew39 minutes ago
      I’ve been a React Native developer for 8 years, I’ve written many apps with it professionally and personally. Until recently, I would have recommended it wholeheartedly.<p>This weekend I had an idea I set out to experiment with: if I have an existing React Native app, how much effort would it take an LLM to rewrite it into genuinely native apps. My idea being I no longer need to write cross-platform code and pay the intermediary framework costs, I’d get direct access to the underlying platform. Instead, I could just spec the features I need in the app and the LLM can build it.<p>It took me a year to build the original app to production quality by hand. My “twins”, as they’ve become known, were at 80% completion in three days of on-off work.<p>I’m pretty much convinced my experiment was a success. Which sorta terrifies me that I’ve specialised in a technology that can be, for all intents and purposes, be entirely erased.<p>The only caveat I can find is it is still a great technology for doing cross-platform mobile and web. Using something like Tamagui (as rough as that can be sometimes) allows genuine code sharing across all platforms.<p>Sucks most that I’m now actively looking for a new React Native role.
      • foresterre2 minutes ago
        Not saying that LLM development isn&#x27;t fast, but doing a re-implementation of something you know in-and-out is almost always going to be faster, as you skip the probably most time intensive step of product research and requirement engineering.
  • Humphrey6 hours ago
    Oh finally multi-window support - I might finally be able to flutter for a simple desktop app side project I&#x27;ve been wanting to build.
  • feverzsj2 hours ago
    Tested lots of flutter desktop apps on Github last year. All have sluggish animation. FPS rarely reached 60.
  • synergy206 hours ago
    great for mobile apps, fine for desktops, basically unusable for browsers unless you do wasm, if web can be revamped&#x2F;improved it can be the best option for cross platform GUI
    • eklavya4 hours ago
      You are in luck then, use jaspr.
    • tonyhart75 hours ago
      no one and absolutely no one pick flutter because they want do traditional web in the first place<p>its a cross platform framework that you can share component between mobile and other platform and always has been
      • 9999000009995 hours ago
        I’ve used flutter for a couple of toy web apps. One is just a personal tool , another is a small party game.<p>Now I might vibe code such things using React, but 5 , 6 years ago Flutter got me what I wanted fast.<p>Firebase integration is absurdly easy. You can make a crud app in about 30 minutes
        • tonyhart717 minutes ago
          Yes but its best work with SPA or WASM type of app like games for example
  • Aldo_MX7 hours ago
    Decoupling material and cupertino makes a lot of sense.
    • gman837 hours ago
      Yes, hopefully now that this decoupling is complete, they&#x27;ll actually start being updated again. The progress was a bit stalled while this process was ongoing.
  • sunsetSamurai5 hours ago
    how&#x27;s Dart for back end development? is anybody using it to build APIs? the syntax doesn&#x27;t look too bad
    • flexagoon21 minutes ago
      I have user Dart for small personal projects and it&#x27;s a great language. Somewhat similar to Kotlin, but IMO a bit nicer. Unfortunately the ecosystem is not as developed outside of Flutter as with more popular languages, but it very much exists and pretty nice to use.
    • sgt33 minutes ago
      I&#x27;ve been using Dart and Flutter for years, but I&#x27;ve never ever met anyone who&#x27;s seriously using Dart for backend. That would be a very niche thing and not popular with teams.
    • wstrange5 hours ago
      Try out serverpod. Not affiliated with them- it&#x27;s just a super nice integrated Dart backend:<p><a href="https:&#x2F;&#x2F;serverpod.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;serverpod.dev&#x2F;</a>
  • jimbob457 hours ago
    Of all the myriad projects from Google, how is Flutter&#x2F;Dart the one that survived the axe? I’m not saying I hate them - I think they’re both really neat - I just don’t understand why Google keeps these limping along with weak support and no clear vision within their broader web ecosystem.
    • vmg127 hours ago
      Easy, there are a few google teams that use flutter and the cost savings from not having to have dedicated ios and android teams is very easy to point at to justify the project&#x27;s existence.<p>I think Dart and Flutter are <i>very</i> overlooked. The language has completely changed since its release, its statically typed, has null safety, enums, and pattern matching, and is very simple and easy to read. It has fast compilation and a ui framework with hot reload. It&#x27;s as fast as Js on v8 while using less memory and has the overlooked feature of having very fast, almost 0 overhead, ffi.<p>I think the importance of good ffi is underrated for these ui languages. For reference, everyone that&#x27;s using electron has to run two node processes doing ipc over a websocket connection. That&#x27;s going to waste an absurd number of cpu cycles and memory when you are passing messages around when your app is basically a ui for a cli.
      • Larrikin7 hours ago
        But they also fund JetBrains, Jetpack Compose, and KMP. It feels like the company threw their support behind Kotlin a long while ago on mobile, but internal struggles keep the others limping along. Compose UI tooling no longer requires viewing on device.
        • veeti1 hour ago
          Android used to be its own kingdom separate from rest of Google. And maybe still is.
        • wiseowise4 hours ago
          Only because it was cheaper to migrate Android to Kotlin instead of Dart. JetBrains needs Google more than Google needs JetBrains.
          • pjmlp2 hours ago
            There are several clues that the reasons were more political than monetary, including some former team members like Jake Warton remarks on Dart.<p>Note that Dart or Flutter are nowhere to be found on Android developer documentation.
        • invalidname6 hours ago
          You&#x27;re thinking of Google as a single top down company. It isn&#x27;t. Think of it as an anarchy of warlords where each pulls the strings and management doesn&#x27;t really know what&#x27;s going on.<p>Flutter made a lot of sense during the Oracle lawsuit when Google needed a way to show Oracle that it can pivot from Java. Now it no longer makes sense but the inertia is too deep.<p>My guess is that flutter is sold internally through the Huawei support as a leg within China.
      • cageface7 hours ago
        I’ve had good experiences with Flutter too. It’s actually much easier to build a performant macOS app with flutter than with SwiftUI.
        • wiseowise4 hours ago
          &gt; It’s actually much easier to build a performant macOS app with flutter than with SwiftUI.<p>Got any case studies?
          • cageface1 hour ago
            Just my own apps. Getting good performance out of SwiftUI on Mac is quite difficult. Loads of footguns.
            • mathverse34 minutes ago
              And yet I dont see any Flutter macos apps at all.
      • formvoltron7 hours ago
        Curious how you feel about KMP and Kotlin Compose.
        • vmg127 hours ago
          I like kotlin a lot but I didn&#x27;t get to fully test KMP and Kotlin Compose. I chose flutter because I liked dart&#x27;s wasm story better than kotlins.
    • gumby2717 hours ago
      How are they limping? Flutter has completely replaced it&#x27;s rendering engine across all platforms and they&#x27;re building out major window management support on desktop platforms.<p>At some point there&#x27;s just not much exciting new stuff to add. Flutter is a nice stable platform, I&#x27;d highly recommend it.
      • kllrnohj6 hours ago
        &gt; Flutter has completely replaced it&#x27;s rendering engine across all platforms<p>And that new rendering engine is also why apps like Immich are unable to show HDR photos. Apple &amp; Google both pushed broad support for that a couple years ago, with things like Ultra HDR and subsequently ISO 21496-1.<p>Meanwhile Flutter still doesn&#x27;t really have wide gamut support <a href="https:&#x2F;&#x2F;github.com&#x2F;flutter&#x2F;flutter&#x2F;issues&#x2F;189155" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;flutter&#x2F;flutter&#x2F;issues&#x2F;189155</a><p>Of course they need to prioritize where to spend resources, like any project, but Flutter also doesn&#x27;t seem to be on any critical path for fancy headlining new features, either.
      • matchbok37 hours ago
        Right, but, nobody uses it. So what&#x27;s the point for Google?
        • doodlesdev6 hours ago
          I&#x27;ve made a huge critic towards Flutter in another comment of mine, but adoption isn&#x27;t it: the biggest bank in Brazil, with 135 million clients, is a digital bank whose sole interface is their Flutter app. They are different regarding tech choices (they use Clojure on the backend too), but I think it&#x27;s a huge testament of how far along Flutter adoption has come.<p>Also, Google dogfoods it quite a bit.
          • Cyph0n5 hours ago
            Interesting, so Nubank is a heavy Flutter user?
            • wiseowise4 hours ago
              <a href="https:&#x2F;&#x2F;building.nubank.com&#x2F;scaling-with-flutter&#x2F;" rel="nofollow">https:&#x2F;&#x2F;building.nubank.com&#x2F;scaling-with-flutter&#x2F;</a><p><a href="https:&#x2F;&#x2F;flutter.dev&#x2F;showcase&#x2F;nubank" rel="nofollow">https:&#x2F;&#x2F;flutter.dev&#x2F;showcase&#x2F;nubank</a>
          • owebmaster5 hours ago
            Nubank also uses clojure and adoption is still a big issue.
            • filleduchaos3 hours ago
              Third-party analysis (<a href="https:&#x2F;&#x2F;appfigures.com&#x2F;top-sdks&#x2F;development&#x2F;all" rel="nofollow">https:&#x2F;&#x2F;appfigures.com&#x2F;top-sdks&#x2F;development&#x2F;all</a>) has Flutter used in 16% of iOS apps and 24% of Android apps (free)<p>Archive link: <a href="https:&#x2F;&#x2F;archive.is&#x2F;IIUaj" rel="nofollow">https:&#x2F;&#x2F;archive.is&#x2F;IIUaj</a><p>I really don&#x27;t understand how&#x2F;why people deny reality so hard when it comes to Flutter. Reminds me a bit of years ago when people were still scoffing at the idea of anyone actually adopting JavaScript to write web servers with while Node.js was very obviously eating up the market.
              • pjmlp2 hours ago
                It eats the market indeed, and also presents business opportunities for folks like myself, jumping in writing C++ addons, or completely replacing it with Java, .NET, Go, Rust,....
        • vips7L6 hours ago
          The creator of flutter was on here saying that 1&#x2F;3 of all apps on the App Store use it. That seems to be a lot more than “nobody”.
          • owebmaster5 hours ago
            The creator of flutter lied then. That&#x27;s not true.
            • vips7L3 hours ago
              How do you know? Why are we inclined to believe you over him?
        • gkhartman7 hours ago
          Is that true though? I&#x27;m reading HN on an app built using Flutter. I had no idea until recently, so I would assume more apps could use it without my knowledge.<p>I understand it&#x27;s limitations vs native apps, but there&#x27;s quite a few cases where it really doesn&#x27;t matter.<p>The biggest one for me is always the fear it will be abandoned. Pretty much goes for any cross platform app framework though.
        • Barrin925 hours ago
          &gt;but, nobody uses it.<p>I used to work at ByteDance and they alone employed I think more than 800 Flutter Devs. Douyin uses Flutter (the Chinese version of TikTok), Grab and Ebay use it, Alibaba and Baidu did too. Toyota and Volkswagen I think both use Flutter. Nubank I think is also a flutter app and they alone have like one hundred million some users.<p>With the popularity in the Chinese ecosystem alone there&#x27;s gotta be a billion plus people using flutter.
        • davidkuennen4 hours ago
          Been using it for six years with fairly high success: <a href="https:&#x2F;&#x2F;stockevents.app" rel="nofollow">https:&#x2F;&#x2F;stockevents.app</a>
        • monocasa6 hours ago
          Google AdSense uses it.
    • gman837 hours ago
      I guess because they have buy-in from within Google? Google Pay, NotebookLM, Family Link, Google One, etc. are made with Flutter.
    • deepsun7 hours ago
      Most Google&#x27;s projects that users loved were axed for a reason, typically internal management wars for promotions. Like YouTube really wanted to kill belowed Google Music, so they did. Or Google Pay vs Google Wallet.<p>Killing Flutter would not promote a manager. For now, of course.
    • monocasa7 hours ago
      Google internally uses dart, and I remember hearing that adwords in particular was rewritten in dart at least for the frontend relatively recently.<p>So they&#x27;re probably investing in it enough for basic maintenance, but don&#x27;t really care about evolving the language.
      • skybrian5 hours ago
        Sure, Adwords migrated from GWT to Dart. (And eventually I followed.) At one point, Dart moved from the Chrome division to the Adwords division. And Adwords alone can fund a team to do developer tools for them. Then, Flutter came a bit later.<p>It&#x27;s been over a decade since then, though, and I&#x27;m out of touch now.
        • pjmlp2 hours ago
          In fact AdWords is the reason Dart was still around when Flutter came to be.
    • jauntywundrkind2 hours ago
      Flutter&#x27;s not a web ecosystem project. It doesn&#x27;t do HTML at all. Using canvas to pump pixels in people&#x27;s faces does not the web make.
    • Scene_Cast27 hours ago
      In one of their dev surveys, they did float the idea of divesting Flutter.
  • kumarvvr7 hours ago
    The one thing I hate about flutter is the ui code having an ungodly amount of nested brackets.
    • skeledrew6 hours ago
      For some reason I prefer those to curlies.
    • eddythompson807 hours ago
      You clearly need more Lispmaxxing
    • superze7 hours ago
      Loc goes brrrrrrr. The tokenmaxxing of the 20s
      • cocoa194 hours ago
        Didn&#x27;t realize it until now, but you&#x27;re right.<p>LOC is dead, long live token usage.
  • Scene_Cast26 hours ago
    Awesome. I&#x27;d love if Flutter could also finally get Impeller on Web (I&#x27;m tracking the GitHub issues, seems like there&#x27;s progress at least).<p>I personally would like for it to pick up some ideas from Svelte.
  • hirvi743 hours ago
    I&#x27;ve never used Kotlin, but I really enjoy Flutter. Not nearly as much as SwiftUI and the Lord&#x27;s language, mind you.<p>Flutter can get you up and running quickly. If I want cross-plaform support, one codebase is hard to beat.
  • skeledrew5 hours ago
    Been waiting especially for multi-window so it can be picked up by Flet.
    • theanonymousone5 hours ago
      Are you using Flet? If yes do you think it&#x27;s mature enough and has a potential to stay long &quot;in the game&quot;?
      • skeledrew5 hours ago
        I use Flet in a few projects. It&#x27;s still somewhat young and the declarative move caused a few issues (for me, mainly because I wasn&#x27;t familiar with the pattern), but generally I&#x27;d say it&#x27;s stable, feature-complete and the maintainer seems to be in it for the long haul. Also it fills a critical gap that nothing else does, binding a decent UI framework and cross-platform capability to a language with an extremely large and diverse ecosystem; that&#x27;s what I think will really make it endure.
  • wiseowise4 hours ago
    &gt; We are actively working toward enabling WebAssembly (Wasm) by default for Flutter web applications, bringing native-like performance to the browser.<p>lol.
  • amazingamazing5 hours ago
    I always find it strange that flutter isn’t built with golang or typescript. Why use a new language? When flutter came out both languages existed so curious about that.<p>The main reason i can think of is generics not existing initially
    • billynomates0 minutes ago
      Dart shipped in 2011, four years before Flutter started.<p>On the technical side, Flutter needed AOT compilation to native ARM for release builds and a JIT for development (that&#x27;s what makes stateful hot reload possible). Dart does both from one codebase. TypeScript means shipping a JS VM, which is precisely the overhead Flutter was designed to avoid. (In contrast to RN). Dart&#x27;s other big win is GC tuned for allocating and throwing away tons of short-lived objects which is what happens when you hot reload over and over.<p>Go has no JIT, so no hot reload, and no generics until 2022, Flutter has a big widget library so that would not have been possible.<p>And of course the Dart team was inside Google, and had just lost its original mission when Chrome declined to ship the Dart VM, and was willing to change the language to suit Flutter.
    • bbkane4 hours ago
      I&#x27;m not sure why you&#x27;re being downvoted, it&#x27;s a super reasonable question.<p>Iirc the reason is that the Dart team was willing to heavily modify the language and runtime to accommodate the needs of Flutter and the V8 team wasn&#x27;t.<p>I think this is the video that talks about this: <a href="https:&#x2F;&#x2F;m.youtube.com&#x2F;watch?v=xqGAC5QCYuQ" rel="nofollow">https:&#x2F;&#x2F;m.youtube.com&#x2F;watch?v=xqGAC5QCYuQ</a>
  • songhonglei19855 hours ago
    [dead]
  • imadeanaccountj7 hours ago
    [flagged]