Reviews

Flutter 1.7 brings AndroidX help for brand spanking new Android apps, Android App Bundles, and extra

Flutter is little doubt certainly one of many fastest-growing cellular app enchancment frameworks. It has virtually 70,000 stars on its GitHub repository and is broadly adopted by software program program program engineers all through the subject. The event workforce is working laborious to deal with any components, as evidenced by the exact fact they closed over 1,250 critiques to this point two months as a result of the launch of Flutter 1.5. Now, model no 1.7, dubbed by Flutter’s Product Supervisor Tim Sneath as an optimizing substitute, is often accessible.

AndroidX assist for mannequin new apps

Beginning with 1.7, Flutter now helps the AndroidX assist library, which was launched to the Android enchancment platform final yr. AndroidX is designed to permit builders to make the most of the newest elements whereas sustaining backward compatibility. Google furthermore open-sourced it so builders can protect up-to-date on the newest variations. Since fairly a couple of Flutter’s packages have now been up to date to assist AndroidX, the event workforce determined to permit for creating new Flutter initiatives with AndroidX. All it is important to do is add the --androidx flag to your mission to focus on the assistance library. Documentation on migrating current initiatives may be discovered right here.

Related Articles

Android App Bundle (AAB) assist

There’s nonetheless barely over two years till Google completely stops serving 32-bit native capabilities on the Play Retailer, nonetheless one different restrictions will shortly happen. Beginning August 1st of this yr, all capabilities that use native libraries and that target Android 9 Pie or later is perhaps required to supply 64-bit assist. Flutter already helps producing 64-bit Android apps, nonetheless model 1.7 of the framework now lets builders create Android App Bundles with each 32-bit and 64-bit variations of their apps. This will make it simpler for native app builders utilizing Flutter to assist each 32-bit and 64-bit to satisfy the August 1st deadline, after which ultimately drop 32-bit assist in 2021. Correct proper right here you’ll uncover directions for publishing an Android App Bundle together with directions for producing utterly completely completely different APK recordsdata for 32-bit and 64-bit objects.

New widgets and APIs

Though Flutter targets to be an all-in-one cross-platform enchancment framework, it’s principally centered on supporting cellular working methods. That’s why the workforce is consistently along with new widgets and elements to fulfill the fantasies of cellular app builders and UI designers. Flutter 1.7 isn’t any utterly completely completely different in that regard. There’s a mannequin new RangeSlider provides worth facet, which is helpful for setting a variety between minimal and most values. Android purchasers would possibly even stand up to this point an SnackBar widget in Flutter capabilities. Widget for iOS, Cupertino, furthermore will stand up to this point with improved CupertinoPicker and CupertinoDateTimePicker widgets.

Flutter 1.7 brings AndroidX help for brand spanking new Android apps, Android App Bundles, and extra

For the primary time, Flutter is gaining help for recreation controllers. Though it not fairly easy to put in writing a full-fledged sport on Flutter in the mean time, this nonetheless has potential. This platform design pattern informs builders on the best way wherein to jot down code for elements that adapt to each iOS and Android design languages. There’s furthermore a mannequin new fontFeatures property which lets builders outline sure kinds for particular fonts. It’s possible you’ll even see all of the use conditions of the property all through the Flutter API listing.

Flutter 1.7 brings AndroidX help for brand spanking new Android apps, Android App Bundles, and extra

That’s principally it for this launch. As you presumably can see, the workforce hasn’t along with that many new selections to Flutter since Google I/O. They principally centered on sprucing and along with assist for necessary APIs and libraries for elementary capabilities.

To interchange to model 1.7, cd into the premise of your Flutter itemizing and execute the flutter improve command. Whenever you wish to improve manually or reinstall the framework, Flutter 1.7 may be accessible for brand spanking new installations.


Present: Tim Sneath/Medium

Leave a Reply

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

Back to top button