|
Open the newsletter in your browser |
|
|
|
|
💙️ Support the newsletter 💙️ |
|
|
|
|
|
|
|
|
While searching for content for this newsletter, I came across this article from the Register . Its author makes the headlines by saying: "in Flutter, 6 to 10% of the CPU can be used to make a cursor blink".
What is he talking about? There is indeed a bug in the implementation of Flutter on macOS (as well as on iOS). When you have a TextField displayed on the screen, the system monitor shows a CPU usage that oscillates between 6% and 10%. This comes from the blinking cursor that forces the drawing on the screen on a regular basis. From time to time, the activity falls back to 0% before returning to this 6-10% threshold depending on the configuration.
When the application is in the background While this can be considered as "acceptable", this consumption persists when the application is no longer in the foreground. Indeed, whether the application has the focus or not, it will continue to animate this cursor. This bug, more than a year old, irritated the journalist who immediately made an article about it because, at the time, a Googler had more or less indicated that this behavior was "normal" .
Where do we stand? Faced with this controversy, the bug has come back to the forefront and both Tim Sneath and Eric Seidel have taken the lead on the subject. A short-term solution will consist in deactivating this animation if the application is no longer in the foreground. The idea is to eventually redraw only the bare minimum, rather than the entire screen – the real problem raised here.
Bad publicity Although a solution is still in progress, it shows that Flutter has become a major project and that this bug was perhaps not given the priority it deserved. Polemicists' power remains strong, even though the desktop is still a beta, as anyone can see the negative impact that such an article can have by looking at the comments on the article. |
|
|
|
|
|
Early last week, JetBrains announced several new products, some of which may seem very similar to existing features.
Fleet JetBrains designs some very nice products, but you have to admit that they have a lot of different IDEs and a lot of features that are not always useful or even known.
Fleet 's idea is to have one more IDE! But, rest assured, it will be for our own good!
This new IDE wants to correct both previously mentioned problems thanks to: multilanguage support; rewriting from scratch (= lighter), multi-user management (~ Code with Me) and the possibility to be run either locally or virtualized.
For the moment, access is limited by submitting a form .
Developing remotely In addition to this new IDE, you will also have to rely on JetBrains Gateway . This completely free tool enables you to access an instance of IntelliJ IDEA remotely (or other IDEs of the Czech company). The connection can be made either via SSH or Spaces. The idea is to be able to access an IDE, no matter where you are, but especially to run it on a machine potentially more powerful than the one you own (for the moment, only Linux is supported). |
|
|
Miscellaneous news in brief |
|
|
⏫ A new beta version of Flutter is available: 2.8.0-3.3-pre. The stable version is getting closer and closer! Flutter 2.5 being released on September 8 and with a quarterly cycle, we might be in for some surprises in the next few days. |
|
|
The creation of this newsletter takes me several hours each week. You want to support the project and allow it to last in time? For that, you can donate from 1 euro on Patreon!
|
Support-me on Patreon
|
⏫ As every beginning of the month, the plugins for the IDEs have been updated:
- For Visual Studio Code, version 3.29.0 has a rather large changelog, but mainly brings bug fixes
- For IntelliJ IDEA, months go by and we feel a definite slowdown. The 63.0 version focuses mainly on the support of the latest IDE versions…
|
|
✨ On the plugin/community side, what's new?
- The plugin to have the "Sign in with Apple" button is now compatible with Flutter Web! (PR #263 ).
- You can now manage the amount of logs generated by the CachedNetworkImage plugin [PUB] (PR #351 ).
- In version 2.4.0, it will be possible to load a file or give HTML in String format on the official WebView (PR #4544 )
- Also in version 2.4.0 of webview_flutter, you will be able to manage cookies sent to the WebView (PR #4561 )
- The path_provider plugin in its future 2.1.0 version will have an implementation for the getDownloadsDirectory method on Android (PR #4559 ))
|
|
📺 Android 12 is now available on TVs via the Android TV and Google TV platforms… On the agenda : 4K interface, HDMI CEC 2.0… One hitch, however: only the ADT-3 (the box dedicated to developers) can benefit from it today. Chromecasts and other televisions should only get it in 2022. |
|
👾 Swift Playgrounds lets you develop iOS apps in no-code mode from an iPad. At WWDC last June, Apple had announced it would be possible to publish to the AppStore without going through the Mac / Xcode pair thanks to this tool. After months without news, some developers are currently testing this feature via Testflight, proof that it should not be long before it is deployed. |
|
🐛 On a simulator on iOS 15, 100% of your processor is used by Spotlight? Here's how to fix the problem . |
|
💸 Want an .io domain name? Hurry up since, as of January 1, prices will go up! |
|
🤖 GitHub Copilot opens up to "Labs" and the first experiment allows you to explain jn text what the code snippet does. |
|
📸 Qualcomm, the famous smartphone chip maker has announced the Snapdragon 8 Gen 1. It will be the new industry spearhead in 2022. Apart from its ever-improving** performance**, it's the Always-on camera feature that is that is a matter of debate and concern … |
|
🍏 Amazon is going to offer EC2 instances with Mac Mini M1s (16GB variation). Perfect for running your tests for iPhone, iPad… |
|
😢 The Flutter community must unfortunately bid farewell to Kevin Gray , who had notably worked on the Hamilton application. Our thoughts are with his family! |
| |
Dart/Flutter articles and tutorials |
|
|
|
Among the long list of Widgets in Flutter there is one to manage the focus for the keyboard. In this article you will learn how it works so that you can either trigger it manually or have your widget ignore it. |
|
|
|
|
|
Both on iOS, and on Android, dark mode has taken hold to the delight of our eyes (and to a lesser extent to save battery life). After last week's article on how white color looks thicker than black , this one gives you some tips on how to implement this famous dark mode in your applications. |
|
|
|
|
|
The recurring topic of all Flutter newsletters is of course state management. In this article, the author is quite honest about the differences and advantages of the three solutions mentioned. |
|
|
|
|
|
The Flutter Beads is full of Flutter tutorials with quite simple questions (displaying a shadow, setting a background image…). In this article for example, you will learn how to give the size of a Widget in percentage. |
|
|
|
|
|
Riverpod 1.0 has been available for a few days and this article explains how to use it to manage a feature by enabling / disabling it. |
|
|
|
|
|
Do you remember the game Fruit Ninja, which consisted in cutting fruits by simply making gestures on your smartphone screen? If you're wondering how to reproduce this kind of interaction in Flutter, you have the answer in this article that explains how to make sure you detect the right gesture (coordinates + movement) and the accompanying animation. |
|
|
|
|
|
CI/CD tools are a dime a dozen; and one of them is Semaphore which offers ~ 21 hours of free builds per month. In this article, you will learn how to launch the build of an iOS application to run tests or generate the IPA needed to publish on the App Store. |
|
|
| |
|
|
|
|
|
So I built a game engine which works with widgets instead of sprites because I have zero experience with graphic design and no intention to learn it. Also I have a few cool ideas of what to do with something like this. In the mean time, here's a basic widget flappy bird I guess:
|
|
|
|
Deven Joshi, Google Developer Dart/Flutter had fun creating a little engine that lets you to make a Flappy Bird with Flutter Widgets! He also designed a brick-breaker with the conversation of a cat . A great idea for an easter egg! |
|
|
|
|
|
|
|
|
|
|
Here is the replay of the Flutter France session organized by Elaine Dias Batista. Leticia Baleiro explains how to use the notion of Clean Architecture in Flutter. The presentation is in English, but it is very well documented. |
|
|
|
|
|
|
|
|
Responsively is more a tool for web developers… but let's not forget about Flutter Web. It allows you to display a site in parallel on several screen sizes and perform actions in a synchronized way on all of them, at the same time. And the good news is this tool is both opensource and free! |
|
|
|
|
02-03 February |
Online & Oslo |
Flutter Vikings |
|
25 April |
Montrouge, France |
Android Makers |
|
|
Your opinion on this issue |
| | | |