Flutter 1.7 brings AndroidX support for new Android apps, Android App Bundles, and more

Flutter is no doubt one of many fastest-growing mobile app enchancment frameworks. It has practically 70,000 stars on its GitHub repository and is broadly adopted by software program program engineers throughout the topic. The occasion workforce is working laborious to cope with any factors, as evidenced by the precise truth they closed over 1,250 critiques thus far two months because the launch of Flutter 1.5. Now, mannequin no 1.7, dubbed by Flutter’s Product Supervisor Tim Sneath as an optimizing substitute, is usually accessible.

AndroidX help for model new apps

Starting with 1.7, Flutter now helps the AndroidX help library, which was launched to the Android enchancment platform ultimate yr. AndroidX is designed to allow builders to utilize the latest components whereas sustaining backward compatibility. Google moreover open-sourced it so builders can preserve up-to-date on the latest variations. Since quite a few Flutter’s packages have now been updated to help AndroidX, the occasion workforce decided to allow for creating new Flutter initiatives with AndroidX. All it is vital to do is add the --androidx flag to your mission to concentrate on the help library. Documentation on migrating present initiatives could also be found here.

Related Articles

Android App Bundle (AAB) help

There’s nonetheless barely over two years until Google absolutely stops serving 32-bit native functions on the Play Retailer, nonetheless one other restrictions will shortly occur. Starting August 1st of this yr, all functions that use native libraries and that focus on Android 9 Pie or later might be required to offer 64-bit help. Flutter already helps producing 64-bit Android apps, nonetheless mannequin 1.7 of the framework now lets builders create Android App Bundles with every 32-bit and 64-bit variations of their apps. This may make it less complicated for native app builders using Flutter to help every 32-bit and 64-bit to fulfill the August 1st deadline, after which in the end drop 32-bit help in 2021. Proper right here you will discover instructions for publishing an Android App Bundle along with instructions for producing completely totally different APK recordsdata for 32-bit and 64-bit items.

New widgets and APIs

Although Flutter targets to be an all-in-one cross-platform enchancment framework, it is principally focused on supporting mobile working strategies. That’s why the workforce is constantly together with new widgets and components to satisfy the fantasies of mobile app builders and UI designers. Flutter 1.7 is not any completely totally different in that regard. There’s a model new RangeSlider supplies value aspect, which is useful for setting a spread between minimal and most values. Android clients might even rise up so far an SnackBar widget in Flutter functions. Widget for iOS, Cupertino, moreover will rise up so far with improved CupertinoPicker and CupertinoDateTimePicker widgets.

Flutter 1.7 brings AndroidX support for new Android apps, Android App Bundles, and more

For the first time, Flutter is gaining support for game controllers. Although it not quite simple to place in writing a full-fledged sport on Flutter in the meanwhile, this nonetheless has potential. This platform design sample informs builders on the way in which to jot down code for components that adapt to every iOS and Android design languages. There’s moreover a model new fontFeatures property which lets builders define certain sorts for specific fonts. You may even see all the use situations of the property throughout the Flutter API directory.

Flutter 1.7 brings AndroidX support for new Android apps, Android App Bundles, and more

That’s principally it for this launch. As you presumably can see, the workforce hasn’t together with that many new choices to Flutter since Google I/O. They principally focused on sprucing and together with help for important APIs and libraries for elementary functions.

To interchange to mannequin 1.7, cd into the premise of your Flutter itemizing and execute the flutter enhance command. When you want to enhance manually or reinstall the framework, Flutter 1.7 may also be accessible for new installations.

Provide: Tim Sneath/Medium

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker