{"id":11787,"date":"2023-05-19T18:21:39","date_gmt":"2023-05-19T12:51:39","guid":{"rendered":"https:\/\/multiqos.com\/blogs\/?p=11787"},"modified":"2023-12-18T10:57:50","modified_gmt":"2023-12-18T10:57:50","slug":"whats-new-in-flutter-3-10-and-dart-3","status":"publish","type":"post","link":"https:\/\/multiqos.com\/blogs\/whats-new-in-flutter-3-10-and-dart-3\/","title":{"rendered":"What&#8217;s New in Google&#8217;s Flutter 3.10 and Dart 3 -The Latest Update&#8217;s"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><span style=\"font-weight: 400;\">Google has released Flutter 3.10, a UI toolkit for mobile, web, and desktop apps with design and macOS\/iOS upgrades. They have also launched Dart 3, a significant change to the programming language to showcase WebAssembly (Wasm) compilation in addition to proper null safety and other language features.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">On May 10, updates for Dart and Flutter were introduced. Dart 3 now has three upgrades that are available as stable releases. Google targets:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">100% reliable null safety that prevents runtime problems brought on by nulls, allows for lower compiled output, and boosts efficiency.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Usage of Modern programming that supports structured data with records, restructuring, pattern matching, and abstract data types.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The utilization of class modifiers is a &#8220;power user&#8221; feature that allows package owners to explain an API\u2019s capabilities clearly.<\/span><\/li>\n<\/ul>\n<h2>How has Flutter 3.10 changed?<\/h2>\n<p><span style=\"font-weight: 400;\">Let us now learn about all the newest improvements and features of Flutter 3.10:<\/span><\/p>\n<ul>\n<li aria-level=\"1\">\n<h6>Dart 3<\/h6>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">With Dart 3, Flutter 3.10 adds a fantastic new feature to its most well-liked programming language. The significant advancement in Dart 3 is eliminating non-null-safe code, which ensures a 100% error-free and secure experience in this language and eliminates the usual dangers of nullable languages.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In addition, Dart 3 makes several language enhancements, including adding Patterns. This functionality makes working with structured data straightforward.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">(String, int) userInfo(Map&lt;String, dynamic&gt; json)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">{<\/span><\/p>\n<p><span style=\"font-weight: 400;\">return (json[&#8216;name&#8217;] as String, json[&#8216;height&#8217;] as int);<\/span><\/p>\n<p><span style=\"font-weight: 400;\">}<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As a result, neither a special class nor the collection-based encapsulation of multiple values will be required. Additionally, updated switch statements allow for the systematic destruction of structured patterns, while new class modifiers like interface class and sealed class give expanded capabilities.<\/span><\/p>\n<ul>\n<li aria-level=\"1\">\n<h6>Support for SLSA Level 1<\/h6>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">When dealing with open-source code, security is crucial. Because of this, the Flutter team considered it while releasing Flutter 3.10. Level 1 of the Supply Chain Levels for Software Artifacts (SLSA) is currently supported by Flutter 3.10. This approach makes it possible for build scripts to function and run on reputable platforms. It also includes a variety of security measures, such as:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Scripted Build Process:<\/b><span style=\"font-weight: 400;\"> Automated builds on dependable build platforms are now possible with Flutter build scripts. Since artifact tampering is forbidden, building on protected architecture promotes supply chain security.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Multi-party permission with Audit Logging<\/b><span style=\"font-weight: 400;\">: Workflows for Flutter releases only go live with the permission of many engineers. Each operation generates auditable log files. These adjustments guarantee that the source code and the artifacts produced simultaneously cannot be altered.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Provenance:<\/b><span style=\"font-weight: 400;\"> This shows that reputable sources made the framework release artifacts with anticipated content. Links are provided to view and confirm provenance on each version&#8217;s SDK archive.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">With this effort, the team can also get closer to SLSA L2 and L3 compliance. These two levels are dedicated to protecting antiquities both during and after construction. These actions have been implemented in response to recent security issues and security holes discovered in other open-source projects, such as the NPM ecosystem. The Flutter team is actively strengthening the ecosystem&#8217;s security to make it more trustworthy and robust for developers and end users.<\/span><\/p>\n<ul>\n<li aria-level=\"1\">\n<h6>Enhanced Version of Flutter for Web<\/h6>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">The speed at which Flutter for the web loads applications has significantly increased. The largest Flutter for the Web component, CanvasKit, has shrunk dramatically in size and is currently one-third of its previous size, a notable feat.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Additionally, you may do away with unnecessary typefaces to lighten the overall weight. With Flutter 3.10, full support for quickly integrating pure HTML components into the application is now available. Furthermore, fragment shader capability is added, allowing developers to create stunning visual effects. This calls for allowing languages with trash collection, such as Flutter, to be incorporated into the standard.<\/span><\/p>\n<h6><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-11791 size-large aligncenter\" src=\"https:\/\/multiqos.com\/blogs\/wp-content\/uploads\/2023\/05\/1_CPv57Dp1cYXPz-YtZ2jMcA-1024x582.gif\" alt=\"What\u2019s new in Flutter 3.10\" width=\"1024\" height=\"582\" srcset=\"https:\/\/multiqos.com\/blogs\/wp-content\/uploads\/2023\/05\/1_CPv57Dp1cYXPz-YtZ2jMcA-1024x582.gif 1024w, https:\/\/multiqos.com\/blogs\/wp-content\/uploads\/2023\/05\/1_CPv57Dp1cYXPz-YtZ2jMcA-300x170.gif 300w, https:\/\/multiqos.com\/blogs\/wp-content\/uploads\/2023\/05\/1_CPv57Dp1cYXPz-YtZ2jMcA-768x436.gif 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/h6>\n<p style=\"text-align: center;\">Source: <a class=\"custom-link\" href=\"https:\/\/medium.com\/flutter\/whats-new-in-flutter-3-10-b21db2c38c73\" target=\"_blank\" rel=\"noopener nofollow\">What\u2019s new in Flutter 3.10<\/a><\/p>\n<ul>\n<li aria-level=\"1\">\n<h6>Enhanced DevTools<\/h6>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">In this Flutter 3.10 release, the development tools have also received several upgrades. New features have also been added to the memory page. The addition of the Diff tool makes it feasible to compare memory utilization before and after particular interactions to assess such interactions&#8217; consequences.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Additionally, improvements have eased heap exploration through the console. The DevTools user interface has been enhanced by adding Material 3 widgets, improving usability, and following current design standards. Also, the open-source program Perfetto has taken the role of the antiquated trace viewer. It has, thus, modified the management of large datasets and added features to pin threads of interest, drag and select multiple timeline events, and use SQL queries to retrieve specific timeline data.<\/span><\/p>\n<ul>\n<li aria-level=\"1\">\n<h6>Production-ready Impeller for iOS<\/h6>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">With the release of Flutter 3.10, Impeller has taken the position of Skia. It has taken over as iOS&#8217;s main rendering engine. This new rendering engine fixes the problematic shader compilation difficulties that led to janky animations and a bad visual experience, which improves animation performance.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To avoid the necessity of shared compilation during graphics rendering, however, Impeller uses a tessellation method. With Flutter 3.10, Impeller is the default rendering engine in all iOS applications. The Flutter team has also emphasized their ongoing efforts in this respect and has stated that a preview version of Impeller for Android will be launched.\u00a0<\/span><\/p>\n<blockquote><p>Read Also: <a class=\"custom-link\" href=\"https:\/\/multiqos.com\/blogs\/flutter-vs-kotlin-comparison\/\">Flutter vs. Kotlin: Which One to Choose in 2024<\/a><\/p><\/blockquote>\n<h3>Wrapping Up!<\/h3>\n<p><span style=\"font-weight: 400;\">The new update makes it quite evident that Google wants Flutter to have five key features:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Beauty that gives users control over every pixel on the screen<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Speed fueled by hardware-accelerated graphics<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Productivity which supports workloads with hot reload and dev tools<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Portability which uses a single shared code base for multiple platforms\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Universal availability is made possible by being free and open source<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Thus, here is your chance to update your application to Flutter 3.10, the most recent version, and begin your app development project. You can hire trusted app development companies to assist you if you want to learn more about the latest Flutter version or need assistance creating cross-platform applications.\u00a0<\/span><\/p>\n<p>If you are planning to develop your next app using Flutter, feel free to <a class=\"custom-link\" href=\"https:\/\/multiqos.com\/contact-us\/\">contact us<\/a>. Our experienced team specializes in <a class=\"custom-link\" href=\"https:\/\/multiqos.com\/flutter-app-development\/\">Flutter app development<\/a> and can assist you throughout the development process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google has released Flutter 3.10, a UI toolkit for mobile, web, and desktop apps with design and macOS\/iOS upgrades. They have also launched Dart 3, a significant change to the programming language to showcase WebAssembly (Wasm) compilation in addition to proper null safety and other language features.<\/p>\n","protected":false},"author":2,"featured_media":11789,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-11787","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news-events"],"acf":[],"_links":{"self":[{"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/posts\/11787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/comments?post=11787"}],"version-history":[{"count":2,"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/posts\/11787\/revisions"}],"predecessor-version":[{"id":13164,"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/posts\/11787\/revisions\/13164"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/media\/11789"}],"wp:attachment":[{"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/media?parent=11787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/categories?post=11787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multiqos.com\/blogs\/wp-json\/wp\/v2\/tags?post=11787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}