Flutter Force Weekly
Your hub for all things Flutter! Discover codes, repos, libraries, projects, and articles. Let's build amazing apps together!
Last week was Google I/O week, and it brought a whirlwind of exciting announcements, especially for Flutter enthusiasts. As we dive into this week's newsletter, we'll recap the highlights from the event, including the latest updates in Flutter 3.22 and Dart 3.4. From AI advancements to performance improvements and new tools, there's a lot to unpack. Let's explore how these innovations are set to enhance our app development journey. Stay tuned for a deep dive into all the new features and updates! 🚀
Articles
What’s new in Flutter 3.22
Welcome back for another exciting Flutter stable release! This time, we’re thrilled to present Flutter 3.22. We’re bringing WebAssembly to the stable channel, a fully featured Vulkan backend for Impeller on Android, promising smoother graphics and a major performance boost. We’re also introducing streamlined workflows with new widget state properties, dynamic view sizing, and improved form validation. But that’s not all — you’ll find flavor-conditional asset bundling, a preview of Vertex AI for Firebase in Dart, and updated DevTools to make your life easier.
Flutter Web WASM is now stable. Will you use it as a default?
The Flutter and Dart teams are excited to add WebAssembly as a compilation target when building applications for the web.
Announcing Dart 3.4
Dart 3.4 is out today! This release showcases the joint efforts of Dart and Flutter together in the Flutter 3.22 / Dart 3.4 / IO24 post, so make sure to get the full scoop there. This post introduces our support for WebAssembly, and then details one of the major roadmap items for the Dart language this year: macros.
Why and how Kotlin and Flutter co-exist at Google
This is a common question we hear from developers in the community - sometimes followed by a slight nudge that with all the options from Google, it can be hard to decide, and we hear you!
Making the right decision for your app depends on a variety of factors including team and product goals. We’ve been working on making it easier across Google’s offerings for you. In this blogpost, we’ll offer some guidance to help choose the right tech stack for your project.
Common mistakes with ListViews in Flutter
A couple of thing to avoid to keep scrolling smooth
Properly handling text scaling in Flutter
This tutorial is structured to present the easiest and most impactful solutions first. The later sections cover solutions that are harder to implement and have a lower overall impact, but they are useful for addressing specific cases.
Solving Size Issues with Print Statements in Flutter
Printing your way out of a sizing issue is not the common way to go. But, it’s fast and efficient. Most of the time. So let me tell you how I use a simple extension method to give me feedback and information with just a single line of code.
Adding Multiple Flutter Applications to Single Window on Web
As of May 2024, if you see the current state of art of having multiple Flutter web apps in a single window object of a browser, it is, let’s say, difficult to achieve. There are a couple of github ongoing discussions in Flutter repository.
Packages
Flutter Book Reader
A beautifully crafted book reader application built with Flutter, Google's open-source UI toolkit for building natively compiled, multi-platform applications from a single codebase.
Debounced Text Form Field
Drop in replacement for TextFormField
that debounces the validation.
June
June is a lightweight and modern state management library that focuses on providing a pattern very similar to Flutter's native state management.
Flutter Native Data
A new Flutter plugin project that allows you get all native data in one place. Introducing FlutterNativeData, the ultimate Flutter plugin for accessing vital native device information effortlessly.
sheller
Ergonomic scripting in Dart. Utilities for interacting with shells and converting output to Dart types.
Mobile Scanner
A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.
Ollama Dart Client
Unofficial Dart client for Ollama API.
Videos
Announce an ultimate Flutter 23 hour tutorial and offline-first
Hello there 👋 In this 23-hour tutorial, you are going to learn how to build an Instagram Clone with Flutter and Dart. We are going to start with some basic concepts and gradually move to the connection of Supabase and PowerSync services to enable real-time updates and ensure offline-first approach in our application. Also, Firebase with Remote Config to update sponsored posts in real-time, promoting your own content and Cloud Messaging to send notifications seamlessly to any device.
Google IO: What's new in Flutter
Discover the latest updates from Flutter. Use the Gemini API, build cross-platform games, improve the performance of your Flutter Android applications with impeller, get a preview of the experimental Dart macros feature, and learn about the performance improvements Flutter Web applications get with Wasm.
Publish Flutter Package in 7 Easy Steps
One of the most underrated features in Flutter is how easy it is to publish a package on pub.dev. If you are ready with the source code, then all you need is a Google account and just 4 CLI commands.
Flame Audio For A Flutter Game
Add background music and sound effects to a Flutter app using Flame Audio and control what is played for each part of your game. Also see how to build a mute button to turn off all audio if the player chooses.