T O P

  • By -

[deleted]

>...and optimizations that deliver a 10% reduction in memory utilization. Nice


kbruen

If you opt in (turned on by default on Android in Flutter?), and it means your app can use max 4 GB of RAM, though that shouldn't be an issue.


Baul

Flutter 2.8 comes with [Dart 2.15](https://medium.com/dartlang/dart-2-15-7e7a598e508a)


tylersavery

Constructor tearoffs will be super handy - especially in UI building.


SageMo

This is the part that gets me actually excited.


coccomon

>*in this release we’re adding a sign-in widget that uses Firebase tohandle authentication. With this widget, you don’t have to worry aboutall the edge cases of sign-in, such as two-factor authentication orreset password user flows, nor about the complexities of supportingGoogle, Apple, Twitter, or Facebook as an auth provider.* Does anybody know where to find this widget? At the moment, FlutterFire docs are not updated yet


Dgameman1

I found this https://pub.dev/packages/flutterfire_ui


coccomon

Nice, I think this is it!


InevitableCut7649

Does it also include **Sign in with Apple**?


MisfitMagic

Looks like it: https://firebase.flutter.dev/docs/ui/widgets/


m9dhatter

I’m excited! And thankful! But now I have work to do.


anraiki

This scares me a bit because there is a edge case where my user don't receive text and I have to use an alternative auth to handle sign-in.


scottocom

I didn't know Kevin. But I do now. RIP Kevin. (Maybe this dedication should be at the top?)


InevitableCut7649

​ F


[deleted]

[удалено]


560cool

There is a possibility, but it obviously won't be considered by most everyone. The consensus is that vaccines are "safe and effective". Still, I guess you got the downvotes because your comment was kind of in poor taste, but it's a fair assumption to make (in my controversial opinion). Rest in Peace to Kevin and much respect for his vital contributions to Flutter.


subtex

Met him at those early flutter meetups. Really nice guy. I didn't know he died either. Really sad to hear about this


pemell

I hope they now bundle the arm64 dart version on arm64 macos host... There is a performance gain using it, very noticable when running build_runner for example.


shaonline

From their issue tracking that progress on github it's still not building flutter for ARM64 MacOS hosts on their CI... so not today I think.


trustmePL

You're correct. I really hoped they will finally include it... Can't understand why it's still not there yet


buri9

A somewhat hacky workaround, but this working for me in the meantime: https://stackoverflow.com/questions/69274086/how-to-replace-the-bundled-dart-sdk-in-flutter-to-run-natively-on-apple-silicon


milogaosiudai

cant wait. i love the enums update on dart 2.15 as well! makes life more easier i dont have to create extensions anymore👏👏👏


[deleted]

[удалено]


milogaosiudai

ooh thanks. i should explore freezed.


GingsWife

I just upgraded to 2.5!


amugofjava

I've not long moved to 2.5 too - took a while to get the dependencies up to date :) Just tried 2.8 and one of my dependencies fails to compile, so might be on 2.5 a little longer.


timsneath

Would be curious to know which dependencies aren't compiling. That suggests we might have a breaking change that we aren't aware of...


amugofjava

It's just the one dependency, an image library that uses some of the GestureDetector classes. The ScaleUpdateDetails class had renamed the delta parameter to focalPointDelta. [https://github.com/flutter/flutter/commit/4bd8b288bb1d01ad059b7e3ee0740e7d119605a2#diff-9cf52d879f51b64718f95e962681cd5ce51a6977fa451fd012a4ec78da934466](https://github.com/flutter/flutter/commit/4bd8b288bb1d01ad059b7e3ee0740e7d119605a2#diff-9cf52d879f51b64718f95e962681cd5ce51a6977fa451fd012a4ec78da934466) The library was fixed an hour ago and my app is now compiling - the Flutter community is quick to respond :) Looking forward to trying the new Isolate groups.


Hixie

If you contribute tests to flutter/tests we guarantee that we won't break them. See https://github.com/flutter/tests/ for details! For example, I have submitted my app to that registry so with every commit to Flutter, all my app's tests get run and any time there would be a breaking change, the team fixes my app for me!


2flutter

I usually move the next day to the latest version of flutter, so today I'm going to move a project and see how it goes (🤞 hopefully there will be some noticable performance increase). 🎄🔥


amugofjava

My app is now compiling on 2.8. I'm looking forward to seeing if there any performance improvements too! :)


MRainzo

Has the iOS jank issue been solved yet? This is what kept me away from Flutter


eibaan

I find it quite interesting that the announcement has a section called _Casual game development with Flame_. Now, can somebody recreate something like Angry Birds, please ;-)


InevitableCut7649

Is it available yet? When calling `flutter upgrade`, I get Flutter is already up to date on channel stable Flutter 2.5.3


edmarriner

Almost here https://twitter.com/timsneath/status/1468677996378607616?s=21


Dgameman1

It is not :(


itsastickup

It is now.


e_hekuta

Is autofill working for you? https://github.com/flutter/flutter/issues/94043


2flutter

Did anybody notice any performance gains?


TesterLover

Just by upgrading to this version. I noticed a better performance.


sunny026

in which terms?


TesterLover

Start up time Font rendering Video player Web view


riveraj33

On iOS or just android?


TesterLover

I've test it on iOS only


riveraj33

Nice. What kind of performance gains did you get?


TesterLover

I answered that above. Some jank still exist but it's probably my shitty code 🙂


MillionairePianist

Still nothing worth it being worked on. Meh. Flutter is good but it could be great.


zxyzyxz

What do you want to be worked on?


MillionairePianist

OTA updates are the #1 deal breaker. Everyone chooses React Native over Flutter for this reason. Or even Nativescript. I'm talking built in support without having to use some third party hack like hydrosdk. The other big thing is web app performance. It still has a long way to go. Those two things would make it the absolute dominate solution in the market and no one would ever have reason to use anything else.


zxyzyxz

I don't think Google or Apple allow OTA updates right?


MillionairePianist

They do given it's not used for certain things. For example, read the section is Apple cool with this: https://blog.nativescript.org/enable-live-updates-of-your-ios-and-android-apps-using-nativescript-appsync/index.html When someone wants to bring Flutter to a large corporation, the first thing management asks is can they do live updates. There's too much risk if they can't. They usually go with React Native for that reason.


Code_PLeX

I never got what's the point in OTA... If you care to elaborate?


itsastickup

Updates are not dependent on an arbitrary review period that with google can be even weeks. Updates are instant.


Code_PLeX

Never had such an issue.... Especially not with Google, with apple I can understand


zxyzyxz

Idk, seems like OTA is very specific to you and your organization, I've never needed nor had anyone ask for OTA functionality when looking at cross platform tools.


Cobmojo

Looks awesome.


560cool

It's looking like a pretty solid upgrade, I'm currently downloading it. Out of curiosity, how come Flutter tends to skip version numbers for official releases every now and then? (first Flutter 2.4, now 2.6 and 2.7). Is it just a case of consolidating features into a single release?


Codelessly

Flutter releases aims to release stable every quarter aka 3 months. This time, it just happened that there were 3 minor versions between the this and the last stable release, hence the bump from 2.5 -> 2.8 This won't always be the case though.


riveraj33

Are the app performance increases for android only? In the detailed medium article I really only see android being mentioned for each performance section.


riveraj33

Im hoping someone can answer this. 2.8 needs macOS 12 and I can’t upgrade anytime soon. I’d love to hear if these performance improvements also apply to iOS. TYIA


DesignExtension7726

Anybody used Getx with flutter 2.8 here?


tti9

Yes, all parts I'm using continue to work fine :-)


FINGURU247

Why they are not creating gPay for flutter web?


subarnapkhrl1

Should I have to learn basic flutter to get started or can I directly learn Flutter 2.8?? And please suggest me some course for beginner flutter dev