r/FlutterDev • u/EngineerScientist • Aug 05 '20
Article Announcing Flutter 1.20
https://medium.com/flutter/announcing-flutter-1-20-2aaf68c89c7532
u/4mit Aug 05 '20 edited Aug 05 '20
Awesome sauce!
[Null safety not in this release. But, the article says soon...]
8
u/SaltTM Aug 05 '20
[Null safety not in this release. But, the article says soon...]
really, damn. Very long roll out. I think a dev explained it in another thread but yeah lol I hope this comes sooner than later
9
u/bernaferrari Aug 05 '20
their original plan was to take the full year for null safety, so they are still on track 😂 but I believe it might come in September or October. They are already fixing the tests and Dart 2.10 will probably have it enabled.
4
u/eibaan Aug 05 '20
If you're really adventurous you can enable NNBD for your app (on the master channel). The Flutter & Dart SDKs aren't fully ported yet, but you can convert your own code and use
--enable-experiment=non-nullable --no-sound-null-safetyon the command line to make it run. Currently, I've some trouble with mysteriousTickerProvidererrors (which weren't there a few days ago) and hot reloading doesn't work, only manual hot restarting.
87
u/robbio33 Aug 05 '20
Eat this Facebook! for not even looking at PRs for React Native and only fix bugs that are interesting for FB:
"And it’s because of Flutter’s openness and amazing community contributors that this release includes 3,029 merged PRs and 5,485 closed issues from 359 contributors from around the world, including 270 contributors from the Flutter community at large."
2
u/sawyer12 Aug 20 '20
Flutter seems to be doing great. Xamarin has the same problem. They merge daily 1-2 PRs since microsoft acquired xamarin. Basic things are collectionview, label, editor etc are even buggy and they merge only same fancy stuffs. The anounced a xamarin toolkit which should include most reuqired tools as one package like tabbedview highest voted and guess what xamarin team develops azure notification for ios and android just to sell more azure subscriptions. I wish just flutter had more market for freelancers but especiallz europe not getting many flutter projects but most Resct native and xamarin
1
u/robbio33 Aug 22 '20
That is a pitty, I for one am a freelance Dev in Europe wishing to use flutter more. I think it just needs a bit more time.
21
u/bernaferrari Aug 05 '20
I can confirm the speed, I recompiled a few days ago two of my apps (https://bernaferrari.github.io/color-studio/#/ and https://github.com/bernaferrari/fastdarktheme), and they are faaast on the web. They are not yet "as fast as you would expect" but they are able to run fast enough without enabling Skia rendered, which is truly awesome!
They were super buggy before, had inertial scroll when you scrolled with the mouse.. and all was fixed. There are still some places that could be faster (animations) and others (round corner rendering/1px border) where it is still "weird" visually. But I'm glad to see the huge progress already in the past 6 months!
5
u/Ultra1101 Aug 05 '20
Yep. I'm currently creating an app using Flutter Web and had Skia enabled, but things like network images, video players, and icons wouldn't load/render properly. Glad that performance is being improved!
6
u/bernaferrari Aug 05 '20
hahaha each of these things you mentioned are a problem on themselves. It is weird for me network images are broken, it seems like a such basic usage.. but let's hope they fix it soon.
10
5
2
Aug 05 '20
That timepicker is better than the old one but why insisting on analog
4
3
Aug 06 '20
I think analog is fine. My issue with it is that the clock hands jump about 20 pixels if you drag them slowly. It's a really long standing issue with Flutter. It happens for scrolling lists too and it makes everything feel really janky.
1
u/blueclawsoftware Aug 06 '20
I think that's actually the design of pickers in Material. I see the same behavior when using the material components library on iOS and Android.
1
Aug 06 '20
It's not. The native Android time picker actually snaps to the nearest hour/minute. This is a straight up bug. Try this:
Open the Flutter Gallery
Tap "Material"
Slowly scroll down the list. It will jump 18 pixels.
1
u/blueclawsoftware Aug 06 '20
Just tried that on my Pixel 1 I'm not seeing it. Perhaps it only affects certain devices.
1
Aug 06 '20
Nope, it's a design bug. It definitely happens, you might not quite be doing the right thing.
0
Aug 06 '20
[deleted]
1
Aug 07 '20 edited Aug 07 '20
Are you on iOS? Weirdly the problem doesn't exist if I change "Platform Mechanics" in the gallery settings to "Cupertino". Try changing it to "Fuchsia".
Although using Cupertino doesn't fix it everywhere. Go into the "Shrine" demo and scroll right slowly. You have to start scrolling by pressing one of the photos.
1
u/draskosaric Aug 06 '20
I agree with you. It's not very user friendly. I mean, I know how to use it, but I can't imagine my parents using it.
2
u/Eimji Aug 06 '20
Be careful! If you have a production application with landscape support and a TabBar (and a TabBarView), do not upgrade. The version 1.2.0.0 have a bug as reported here
1
1
1
u/Myrtasz10 Aug 06 '20
Is it finally going to be compatible with Android Studio 4.0? I've been putting this update off for a few months now
1
1
1
0
Aug 05 '20
[deleted]
5
u/siliconivan Aug 05 '20
I couldn't find anything. I think they're just piggybacking off the Flutter release.
https://twitter.com/dart_lang/status/1291041363652313088?s=20
3
u/AKushWarrior Aug 05 '20
0
Aug 05 '20
[deleted]
2
u/AKushWarrior Aug 05 '20
I think it's mostly a minor updates sort of deal. If I had to guess, 3.0 will probably be NNBD.
0
Aug 05 '20
[deleted]
2
u/AKushWarrior Aug 06 '20
True. On the other hand, there really isn't substantial updates to the language. I don't know why this is considered a 2.X update instead of a 2.8.X update.
77
u/Spectarion Aug 05 '20
Yaaaay! My PR that added AppBar shadow color is on stable 1.20! Woohoo!