SafeValue must use [property]=binding: Google upgraded the Flutter UI toolkit and companion Dart language to the Flutter 2. The main new features of Flutter 2 were the migration of web support from the beta to the stable version and the addition of Dart 2.12 null safety adding.
As
we wrote before, Flutter is an open-source UI toolkit for building natively compiled apps for multiple operating systems and form factors. With the latest upgrade, it now includes the web among the supported platforms.
As Google declared, three scenarios are critical to Flutter web support:
- Progressive web apps (PWA), combining the web with desktop app capabilities.
- Single-page apps.
- Making existing Flutter mobile apps work with the web.
Also, it worth attention to the following capabilities: the web support is the Canvaskit-powered rendering engine built with WebAssembly, text autofill, control over address bar URLs, routing, and PWA manifests. Interactive scroll bars and keyboard shortcuts support has been added for desktop browsers.
Flutter 2 also makes desktop support stable under an early release flag. The following improvements related to text editing and mouse input add a built-in context menu to TextField and TextForm widgets for the Material and Cupertino design languages.
Also, Flutter 2 got Dart 2.12. the following Improvements in Dart 2.12 include stable sound null safety and Dart: FFI (foreign function interface). The Null safety improvement helps developers avoid null errors, a class of bugs that can be hard to spot, and strengthens the type system. The FFI is a new interoperability mechanism to invoke existing code written in C, such as calling Windows Win32 APIs. (see http://g.co/ng/security#xss)