r/programming • u/timsneath • Aug 05 '20
Announcing Flutter 1.20
https://medium.com/flutter/announcing-flutter-1-20-2aaf68c89c758
u/Randommook Aug 05 '20
Still no built-in convenient notifications API. While there is the local_notifications plugin I should not need to add a third party library to access basic functionality like notifications.
5
u/csells Aug 06 '20
You should expect even more new functionality to come to Flutter via the pub.dev ecosystem over time. We have no plans to bring notifications or battery or connectivity or any of the existing plugins into the main Flutter framework.
3
u/i9srpeg Aug 06 '20
Why not? Plugins are the worst part of things like Cordova, React Native, etc. They make upgrading a mess, you need a lot of them, and they're often of dubious quality with a bus factor of 1. Leaving major functionality to plugins is a mistake. A framework should be complete.
3
u/csells Aug 06 '20
Flutter has more than 300 widgets built it and still doesn't cover all of the functionality an app developer many need. There are more than 10,000 Flutter-compatible packages and plugins on pub.dev and the number keeps going up. There's no way to bake all of that into the Framework.
2
u/i9srpeg Aug 06 '20
Flutter doesn't need to provide all 10k packages, but it should at least provide basic stuff like notifications and a full coverage of the native functionality.
2
u/csells Aug 14 '20
Microsoft did a study years ago to find out what features people used in Word. They found that most people only used about 10% of the functionality. They also found that every used a different 10%.
2
u/bees4thees Aug 06 '20
It’s not that much to use local_notifications. I would not let that hold you back. I have really enjoyed flutter after using it for about 7 months now.
0
u/Randommook Aug 07 '20
It has nothing to do with it being difficult to use local_notifications and everything to do with the fact that relying on 3rd party plugins for fundamental functionality is an express route straight to dependency hell. There is no way I would want to deal with the future headaches of supporting a patchwork of 3rd party plugins that will make every version upgrade a pain in my ass.
At that point you’re better off just biting the bullet and writing it natively or using a less sexy but more mature framework.
-23
15
u/DeveloperForHire Aug 05 '20
Thank goodness.
I've spent quarantine rewriting my business's app in Flutter for easier management between platforms, but there was a pretty bad memory leak while building in the stable channel. 1.20 in the beta channel fixed that, and so far this update feels more stable and fast.