In 2018, Google had launched a cross platform development tool named Flutter which allows developers to create applications available for Windows, Linux, Android, iOS and also for web versions. Being a developer, Flutter offers some ease the level of app development. For example, it provides the ambience to the app developers to create an android and iOS app using the single codebase.
Google has released the updated version of Flutter 1.22 on Oct 2020 just after the previous release 1.20 which was on august 2020. Let’s get aware about some of the features of Flutter 1.22:
Android 11 and iOS 14 support
Cupertino Package Update
Android state restoration
Addition in Host of New material button family
Google Maps and web views
Improved Navigator 2.0
Stable Platform views
Hosting of Inspector tab from Dart Dev tools
App size analysis Tool
Flutter iOS 14 Update:
As Xcode requires iOS 9.0 version or higher which was not possible earlier but now there is support for Xcode 12. Developers are also able to get the preview support for app clips. The font rendering issues and specifiec crash reported specific to iOS are also got fixed with this amazing update. In case of developer using the Cupertino icons 1.0 with Flutter 1.22 will get the acess to almost 900 new icons via Cupertino Icons API.
Flutter Android 11 Update:
The version of flutter has been engineered especially to support the newly released Android version 11. There are two updates for android developers. Flutter supports revealing the safe insets of Android marks, cutouts and edges of waterfall displays. This will facilitate the placement of elements via MediaQuery and SafeArea APIs. And the second one is that animations are now in synchronization with the Android keyboard.
New material button universe:
Google has expand the whole new universe of buttons to keep flutter updated and developer can use the new replacement button widgets and themes rather than using the existing button classes and themes.
Google Maps and Flutter Web Views:
Flutter 1.22 supports Google map and flutter web view plugins are now ready for production. Developer can write the code, build the APK, and liberate it, as per convenience. The note given by the Flutter team is that Android developers will have to manually enable web view flutter until it becomes a default setting.
New l1on localization and i18n Internationalization Support:
Flutter 1.22 versions enables hot reload support to update your app and includes localized messages, dates, currencies and numbers. Flutter always consists of characters package which is available by default in the flutter projects and there is no need to add it manually. Another feature is state restoration for android which simply resume the flutter app from you left previously without losing your place.
Navigator 2.0 Implementation:
As every developer is familiar that flutter widgets works in data structures and uses Navigator.push() and Navigator.pop() for building screens in the stack. But in case of complex routing, it’s really hard to see the stack properly. So in order to resolve this issue, this new implementation of Navigator 2.0 enables to visualize the stack of pages.