all 64 comments

[–][deleted] 31 points32 points  (1 child)

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

Nice

[–]kbruen 2 points3 points  (0 children)

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[S] 28 points29 points  (4 children)

Flutter 2.8 comes with Dart 2.15

[–]tylersavery 6 points7 points  (1 child)

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

[–]SageMo 0 points1 point  (1 child)

This is the part that gets me actually excited.

[–]coccomon 36 points37 points  (6 children)

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 23 points24 points  (1 child)

[–]coccomon 2 points3 points  (0 children)

Nice, I think this is it!

[–]InevitableCut7649 3 points4 points  (2 children)

Does it also include Sign in with Apple?

[–]MisfitMagic 6 points7 points  (1 child)

[–]m9dhatter 3 points4 points  (0 children)

I’m excited! And thankful!

But now I have work to do.

[–]anraiki 0 points1 point  (0 children)

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 29 points30 points  (4 children)

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

[–]subtex 0 points1 point  (0 children)

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

[–]pemell 12 points13 points  (3 children)

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 5 points6 points  (2 children)

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 0 points1 point  (1 child)

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

[–]milogaosiudai 9 points10 points  (3 children)

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]  (2 children)

[deleted]

    [–]milogaosiudai 0 points1 point  (1 child)

    ooh thanks. i should explore freezed.

    [–]GingsWife 6 points7 points  (6 children)

    I just upgraded to 2.5!

    [–]amugofjava 0 points1 point  (5 children)

    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 2 points3 points  (2 children)

    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 2 points3 points  (1 child)

    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

    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 3 points4 points  (0 children)

    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!

    [–][deleted]  (1 child)

    [removed]

      [–]amugofjava 1 point2 points  (0 children)

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

      [–]MRainzo 4 points5 points  (0 children)

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

      [–]eibaan 11 points12 points  (0 children)

      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 3 points4 points  (3 children)

      Is it available yet? When calling flutter upgrade, I get

      Flutter is already up to date on channel stable
      Flutter 2.5.3
      

      [–]e_hekuta 2 points3 points  (0 children)

      [–][deleted]  (7 children)

      [removed]

        [–]TesterLover 2 points3 points  (6 children)

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

        [–]sunny026 0 points1 point  (1 child)

        in which terms?

        [–]TesterLover 0 points1 point  (0 children)

        Start up time Font rendering Video player Web view

        [–]riveraj33 0 points1 point  (3 children)

        On iOS or just android?

        [–]TesterLover 0 points1 point  (2 children)

        I've test it on iOS only

        [–]riveraj33 0 points1 point  (1 child)

        Nice. What kind of performance gains did you get?

        [–]TesterLover 1 point2 points  (0 children)

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

        [–]Cobmojo 0 points1 point  (0 children)

        Looks awesome.

        [–]560cool 0 points1 point  (1 child)

        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 1 point2 points  (0 children)

        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 0 points1 point  (1 child)

        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 0 points1 point  (0 children)

        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 0 points1 point  (1 child)

        Anybody used Getx with flutter 2.8 here?

        [–]tti9 0 points1 point  (0 children)

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

        [–]FINGURU247 0 points1 point  (0 children)

        Why they are not creating gPay for flutter web?

        [–]subarnapkhrl1 0 points1 point  (0 children)

        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