Not so long ago there was a release of Flutter on Google I / O, but, the Flutter team again rolled out a new version with interesting novelties, which I could not share.
Free photo of the substrate from here
It so happened that I plunged into development on Dart + Flutter. In addition to the fact that the application immediately runs on iOS and Android and, at the same time, the native code is generated, I liked the openness of the code (you can go deep into classes and watch the kernel code) and the openness of the community. As a contribution to the community, I publish this free retelling of an
article about a new release from developers.
AndroidX support for new applications
')
In principle, before the application
migrated without problems on AndroidX , but now it is there right away. I had to migrate all my projects, therefore creating new ones I plan to use this feature. To do this, when creating an application, simply use the
flutter create project_name --androidx
Support for Android app bundles and 64-bit Android applications
Starting August 1, 2019, Android applications that use native code and use Android 9 Pie will have to provide a 64-bit version in addition to the 32-bit one. Flutter already supports the creation of 64-bit Android applications. But, starting with version 1.7, support has been added to create Android App Bundles for 2 versions at once.
Personally, I ran into this a week ago, when, when generating an executable .apk file for Android, when instead of 12 MB, it suddenly became 25 MB. After that I generated Bundle and hurray, the size is normal again.
What is app bundle
here ?
New Widgets
Since Google, if I understand correctly, goes to the concept of surfaces, instead of the concept of applications, they pay much attention to widgets that represent the functionality of the user.
In this release, a new slider for ranges has been added (most likely for use in their temperature devices), into which we, as developers, can climb and make our beautiful pieces.
Fonts
Although I am a developer, I also understand the importance of fonts. Moreover, applications are written immediately for iOS and for Android. In the new release, improved
work with the text for iOS . A big upgrade of rich typography support has been made - including different digit styles, style sets, etc.
An example on github .
Increased number of examples from which to create code
I often hang out for a long time with examples to get programming techniques from there or just copy the code. A wonderful feature, the code can create a project from the example and immediately make Run. The Flutter team wrote that the number of such examples is increased.
flutter create --sample=material.AppBar.1 mysample
If an example can be generated this way, then an additional bookmark appears.
That's all, to all good coding :) Also, my friends and I plan to do one mitap per month for Flutter, in order to have fun and be pumped at the same time. To whom it is interesting to join - write in the comments or in a personal.