Flutter 3.10 release, a major update of the programming language

Flutter is a powerful cross-end development framework that can help developers build high-performance, beautiful, and flexible applications to achieve cross-platform development and deployment. The small program container technology is used in combination with the cross-end framework to provide developers with one-stop small program development and publishing services, helping them build and deploy cross-platform applications more easily and efficiently, so that developers can save a lot of time and Energy, and improve the quality and stability of the application, so as to meet the needs and expectations of different users.

At the Google I/O conference in 2023, it can be described as "blinding eyes": a lot of major technology updates, especially the integration of AI technology into office collaboration software, to further improve the performance of blue-collar and white-collar workers. Improve work efficiency, reduce costs and increase efficiency for enterprises.

Changes in Flutter 3.10

1、Dart 3


As we all know, Flutter is based on the Dart language. At this conference, Dart released a major version, which is a major update of the programming language.
(Instructions for installing Flutter can be found at docs.dev.flutter and for the Dart SDK at dart.dev .) Dart 3 is now available as a stable release with three major improvements:

  • 100% reliable null safety, which avoids null runtime errors, provides smaller compilation output, and improves performance. Currently, 99% of the 1,000 packages on the Dart development package manager support null safety.

  • New language features support structured data with records, destructuring, and pattern matching, as well as abstract data types for modern programming.

  • Class modifiers, a "power user" feature that enables package owners to better express the API's functionality.


The builders of Dart have also been working on compiling Dart to the Wasm binary format, with the goal of bringing faster loading times in the browser and improving the performance of web applications. Dart to Wasm compilation is now in preview . To compile to Wasm, developers need a browser that supports WasmGC.

2、Material 3 widget


Flutter 3.10 has improved support for the Material 3 widget toolkit, including support for Material 3 algorithmic color scheme generation, and several improvements to make building macOS and iOS apps easier. The latter includes adding spell-check support in editable text widgets, a new checkbox widget, and support for wireless debugging. The Impeller renderer, which was previewed in Flutter 3.7 and is now the default renderer on iOS, promises less stutter and more consistent performance.
There is also a JNI bridge in Flutter 3.10, which is used to connect to the Jetpack library written in Kotlin , and the new Jetpack library can be called directly from Dart without external plug-ins.
At the conference, Google's overall goal for Flutter is to provide five core features:

  • Beautiful: Provides control over every pixel on the screen;

  • Speed: powered by hardware accelerated graphics;

  • Productivity: workloads are supported by hot reloading and development tools;

  • Portability: leverage a single shared codebase for multiple platforms;

  • Universal availability: by being free and open source.

 

The App assembled by Flutter+ applet container is more efficient and practical


Small program container technology is a relatively new technology, which is a technical solution to run small programs by integrating a small program container in the client. The applet container technology can provide an independent operating environment and a security sandbox environment, so that applets can run on different platforms and devices, and at the same time improve the security and stability of applets.
Some of the more well-known small program container technology products on the market include: WeChat, Alipay, Baidu, Douyin small programs, etc., all of which are based on the technology base to improve the small program ecology of the big social platform, and can provide third parties for privatization deployment There are: FinClip , mPaaS and other products.
The characteristics of the applet container technology mainly include the following aspects:

  1. Quick start: The applet container adopts a lightweight architecture, which can quickly start the application without waiting for download and installation, thereby improving the user experience.

  2. Independent operating environment: The applet container provides an independent operating environment, enabling developers to develop and deploy applications on different platforms and devices without paying attention to specific hardware and operating system environments.

  3. Safe sandbox environment: The applet container provides a safe sandbox environment for the application, so that the operation of the application will not affect other parts of the system. At the same time, the applet container also provides some security mechanisms, such as permission control, data encryption, etc., to ensure the security of the application.

  4. Common functions and components: The applet container provides many common functions and components, such as UI components, network requests, local storage, etc., so that developers can quickly build applications without writing complex underlying code.

  5. Excellent user experience: The applet container provides features such as fast startup, no need to download, and ready-to-go, so that the application can be quickly accepted and used by users.


The author learned about FinClip, a third-party applet technology on the market, and found that there are many benefits to running the developed Flutter applet to the end of the app through the FinClip SDK.


First, run the Flutter applet on the FinClip platform, and developers use the FinClip Flutter plug-in to connect the Flutter application and the FinClip platform. This plugin provides some APIs and components that allow developers to easily integrate and deploy Flutter applets without having to consider complex details and configurations.


Second, the FinClip platform supports various types of Flutter applications, including single-page applications, multi-page applications, hybrid applications, and more. Developers can choose different application types according to actual needs, and customize and deploy them on the FinClip platform. For example, developers can use Flutter to build a beautiful, smooth, and easy-to-use mobile shopping application, then deploy it on the FinClip platform, and use FinClip's payment function to provide a safe and convenient payment experience.
In addition, the FinClip platform also provides some development tools and services to help developers quickly build and test Flutter applications, including simulators, debugging tools, testing tools, and more. These tools and services help developers quickly identify and resolve issues, improving application stability and quality.


Finally, since the FinClip platform supports cross-platform development and deployment, developers can easily port Flutter applications to other platforms, such as iOS, Android, H5, and more. This means that developers can obtain applications for multiple platforms through one development, which saves a lot of time and effort, and improves the usability and coverage of applications.

Guess you like

Origin blog.csdn.net/pingpinganan0828/article/details/130840069