pwshub.com

Google rolls out Flutter 3.24 with upgraded graphics performance and easier Apple deployment

Google LLC brought a number of new developments to its open-source Flutter user interface development framework today with Flutter 3.24, including a major boost to graphics performance.

The company also rolled out Dart 3.5, a programming language created by Google to build mobile and web applications with C-syntax that is used with Flutter.

Flutter works as a user interface toolkit for developers to build and prototype apps for mobile, web and desktop rapidly by writing for a single codebase. That means they can write once and deploy everywhere, without the need to rewrite any code for different devices and platforms. The framework makes app development extremely portable.

This update brings a preview of Flutter GPU, a system that enables advanced graphics and 3D scenes directly in the framework. Historically, cross-platform frameworks forced developers to compromise on graphics performance given the need to abstract away the differences between different platforms.

“Flutter has taken a different approach than most, with its own rendering layer that offers hardware-accelerated graphics and smooth performance on every device,” said Michael Thomsen, a product manager at Flutter. “We’ve made substantial progress with Impeller and shaders, unlocking exciting new possibilities in graphics — like 3D.”

Impeller is a rendering engine built into Flutter that precompiles shaders, a type of program that controls how pixels are displayed on the screen that define how 3D objects are displayed. Shaders alter an objects color, lighting and texture to create a realistic and immersive effect based on shadows, distance and where the object is with respect to the viewer.

The early preview of Flutter GPU provides powerful low-level access to programmable pipelines that allow developers to submit draw calls directly to the graphical processing unit of a given device. This will permit the creation of specialized rendering capabilities, Thomsen said. For example, developers can target 2D Canvas alternatives, 3D scene graphs or particle systems to create vivid and performant scenes.

Easier Flutter delivery for iOS and macOS

With this release, the Flutter team has introduced early support for the Swift Package Manager, a tool that manages the distribution of Swift code.

Swift is Apple Inc.’s high-level, general purpose programming language for building apps on its platforms and devices including iOS, Mac, Apple TV and Apple Watch. SwiftPM automates the process of downloading, configuring, compiling and linking software dependencies. It is a method for developers get code blocks, libraries and apps together onto Apple devices including desktops, laptops, phones and wearables.

“Once Swift Package Manager is widely adopted by plugin developers, it should simplify the Flutter installation process itself, and lower the barrier to entry for newcomers, particularly those that aren’t familiar with the iOS ecosystem,” said Thomsen.

In addition, the team modernized the Flutter Cupertino widget library for iOS and macOS with updates to checkbox, button and switch. Issues with auto-fill in text fields and accessibility with Flutter widgets have been resolved and 37 missing Cupertino widgets have been added to the widget catalog.

The update also adds “platform view” and “webview” for Flutter macOS apps, which allows developers to integrate native macOS UI components directly into Flutter apps. This means that developers will be able to make their apps look and feel exactly like the rest of the operating system, providing a more unified user experience.

Source: siliconangle.com

Related stories
1 month ago - Google LLC today announced plans to make its search engine’s AI Overviews feature available in Brazil, India, Indonesia, Japan, Mexico and the U.K. The move comes about three months after the company made the capability generally...
1 month ago - Regulators are circling ever closer to big tech companies — the latest being Google, which the Federal Trade Commission more than hinted this week should be broken up. It’s not at all certain that will happen, since it’s up to the judge...
1 month ago - Ahead of the annual Black Hat cybersecurity conference in Las Vegas, we warned that defensive tool sprawl is only likely to get worse. Onsite, the talk was about, of course, the impact of AI. So far, so good, but defenders are bracing for...
3 weeks ago - A flurry of new artificial intelligence models this week illustrated what’s coming next in AI: smaller language models targeted at vertical industries and functions. Both Nvidia and Microsoft debuted smaller large language models too....
3 weeks ago - (Bloomberg) -- Nvidia Corp., the chipmaker at the heart of the artificial intelligence boom, gave a revenue forecast that fell short of some of the most optimistic estimates, stoking concern that its explosive growth is waning.Most Read...
Other stories
28 minutes ago - Tom Lee has called for a stock rally after rate cuts, but even after the Fed cut 50 basis points, he's wary on stocks ahead of the election.
28 minutes ago - With the lockup period set to expire, Trump could start offloading his nearly $2 billion worth of stock, though the former president has said he wouldn't sell.
2 hours ago - (Bloomberg) -- Skechers U.S.A. Inc. shares delivered their worst daily performance since February after the footwear company’s chief financial officer told an industry conference that China sales will be under pressure the rest of the...
3 hours ago - The Fed's cutting cycle in 1995 sparked an economic boom, with the stock market more than doubling in value by the end of the decade.
3 hours ago - There's nothing like a potentially massive government contract to win the hearts of both investors and analysts.