Newsletter Issue 157
January 30, 2023
Remember to comment, rate, clap, or any other recognition you want to give to those who write these fantastic articles, tutorials, packages, and videos.
If you have any remote conference about Flutter or Dart that you want me to share, please send a message on Twitter @fluttertap. Also, if you have any important messages, I will do my best to share them. We have to help each other in this situation.
Are you building something in Flutter this month? Please share it with me on twitter @fluttertap.
Flutter Forward. Take place last week with great presentations, interviews, and announcements. If you missed it, you can watch the videos on the Flutter Forward page.
There is a lot to watch, so I will share some of the best content.
First, some statistics:
- Over 5,000,000+ Flutter developers
- 700,000+ Flutter apps.
- 12,4k+ stars on Flutter GitHub repo.
So many people are using Flutter, and it’s growing every day. It’s a great time to be a Flutter developer.
Flutter Forward keynote
During the keynote, we had some great announcements, Q&A, and demos, here are some highlights:
- Availability of Flutter 3.7 and Dart 2.19. We will talk more about this in the next section.
- Demos of Flutter Flow and WidgetBooks.
- How Flutter is used in production at Google.
- Flutter News Toolkit is a base code to create news apps.
- Wonderous app updated with adaptive layout. Built by gskinner in partnership with the Flutter team, Wonderous deliberately pushes visual fidelity, effects and transitions to showcase what Flutter is truly capable of on modern mobile hardware.
But the exciting part of the keynote was the future. We had a lot of announcements about the future of Flutter and Dart (these are in the alpha stage or experimental, so they are not ready for production yet):
- Dart 3 alpha. Support for records, patterns, and access control. Improved platform integration with FFI with support for Swift, Objective-C, and Jetpack libraries and mandatory 100% null safety mode. To learn more, you can check out the official Dart 3 alpha announcement.
- Experimental support for RISC-V architecture and WebAssembly.
- Element embedding. The ability to embed Flutter widgets in web pages with interactivity.
- Pixel shadders for accelerated GPU graphics on the web. This is a really interesting feature, and I’m looking forward to seeing it in action.
- For mobile, in the future, we will be able to add 3d models with animations into our apps.
Flutter Forward sessions
There are 25 total video sessions, so I will share some of the best ones (in my opinion). No specific order.
Adaptive UI for a multiplatform world. Ideas for generating adaptive user interfaces using Flutter’s widgets and APIs based on our experience of building adaptivity into Flutter itself, and some new additions to Flutter’s APIs that can help create great adaptive user interfaces.
Canvas.drawVertices — Incredibly fast, incredibly low-level, incredibly fun. One of Flutter’s lowest-level APIs is the drawVertices method, which allows you to efficiently draw an astounding amount of stuff on the screen. That stuff can be lines, rectangles, polygons, particles, and whatever else you can think of. This method is how people (including Filip) can even implement specialized 3D renderers on top of Dart that run fast on mobile, web and desktop. In this talk, Filip will explain the API of Canvas.drawVertices() and the Vertices.raw() constructor — both are obscure, very low-level, and hard to explain in documentation alone. But they are worth it when you need to squeeze the last bit of performance out of Flutter.
Making UI animation easy and fun. This talk for Flutter Forward 2023 dives into the Flutter Animate library, exploring how easy it is to create beautiful UI animations with just a few lines of code. It covers how to apply and adjust the wide variety of included effects, how to create totally custom effects, how to control animation playback, and shares tips to reduce the performance impact of animation.
Securing Flutter Apps | OWASP Top 10 for mobile & RASP explained. Robust mobile app security on devices people carry around is a special responsibility that is an undeniable aspect of mobile development, and Flutter is no exception. A security strategy with critical pillars such as Identify, Detect, Protect, Respond and Recover must be taken into account from day one. Reviewing OWASP’s top 10 for mobile, reporting vulnerabilities, best practices to minimize risk, preventing reverse engineering, staying up to date, and identifying and blocking attacks in real-time with technology such as RASP (Runtime Application Self-Protection) are the topics you will take away from this talk.
Preview: Multiple windows on desktop. In this talk you’ll get an early preview of what it will look like to render content into multiple windows from a single Flutter app.
You can watch the rest of the sessions on the Flutter Forward page.
Flutter 3.7 and Dart 2.19
Flutter 3.7 and Dart 2.19 are now available. This release includes a lot of new features and improvements. You can read more about it in the Flutter 3.7 release notes.
As main features:
- Enhanced support for Material 3 and updated Material 3 components. We share this article in the previous newstletter where you can get a more detailed explanation. Material 3 for Flutter.
- Adaptative layout.
- Menu bars and cascading context menus.
- New preview of Inpeller rendering engine for iOS.
- iOS release validation. So you can be sure that your app will be accepted by Apple.
- Improvements on the Dev Tools. A lot of focus on memory management and use.
You can also check 17 Days of Flutter, a Flutter content marathon unveiling brand new content every day from Monday.
That’s all for this week. See you next week with more Flutter news. If you have any questions or suggestions, you can reach me on Twitter @FlutterTap.