What’s New in Flutter 3.0.2

Flutter

Engineering

Update

Summary

Google announced Flutter 3.0 at I/O 2022, introducing Dart 2.17, Mac and Linux desktop support, and design improvements. On June 10, Flutter 3.0.2 was released with hotfixes to address bugs such as Safari 13 web app issues, Flutter Doctor crashes on Windows, unexpected line breaks, ink sparkle disposal, dragging issues in Silver Reorderable lists, nested slider functionality, Windows app build failures, Dart pub login, and Dart analyzer errors.

Key insights:
  • New Release: Flutter 3.0 introduces Dart 2.17 and desktop support for Mac and Linux.

  • Hotfixes: Flutter 3.0.2 addresses various bugs, including Safari 13 web app issues and unexpected text line breaks.

  • Stability: Updates resolved crashes in Flutter Doctor for Windows and Dart VM build failures for Windows apps.

  • User Experience: Fixes for dragging issues in reorderable lists and slider functionality in Android improve app performance.

  • Developer Tools: Dart pub login and analyzer errors are resolved, ensuring smoother development workflows.

Introduction

At the Google I/O 2022, Google announced the release of Flutter 3.0, which contained a set of new features including Dart 2.17, Desktop Support for Mac and Linux, Design Improvements and many more.

On June 10, to address a set of bugs, Google announced the release of Flutter 3.0.2 to the stable channel, which contains a set of hotfixes.

How to upgrade to the latest version Flutter 3.0.2

If you see bugs on older versions of the stable channel, please consider moving to the latest stable channel version. To upgrade to the latest version, enter the following lines in your command line:

$ flutter channel stable

$ flutter upgrade

Flutter 3.0.2 hotfixes

Safari 13 Web App

Flutter Web app users on Safari 13 were witnessing a black screen and a few errors in the console. Flutter 3.0.2 resolved this issue by introducing a set of updates.

Flutter Doctor Crashes

Windows users using Visual Studio 2022 were facing flutter doctor crashes. flutter doctor command checks your environment and displays a report of the status of your Flutter installation. You will no more face this issue if you upgrade to the latest Flutter version.

Unexpected Line breaks when using New Text

Some users complained of text rendering issues and reported facing unexpected line breaks when using Arabic text rather than the text rendering on one single line. Flutter 3.0.2 hotfixes resolved text rendering issues.

Ink applications slowing down applications using Material 3

Ink Sparkle is a convenience widget for drawing images and other decorations on Material widgets.

The ink sparkle is never disposed, leading to a massive saveLayer buildup (Saves a copy of the current transform and clip on the save stack, and then creates a new group which subsequent calls will become a part of). The latest hotfixes ensure that Ink Sparkle is disposed off properly

Silver Reorderable List not dragging on Android devices

The reorderable List is one whose items are draggable, and the user can rearrange/modify the object.

Silver Reorderable list allows the user to interactively reorder the list items, a feature that some users reported was not dragging on Android devices. This bug has been resolved in the latest Flutter version.

Nested horizontal sliders not working in Android

A slider in Flutter is a material design widget used for selecting a range of values. It is an input widget where we can set a range of values by dragging or pressing on the desired position.

Some users who upgraded to Flutter 3 complained that they were unable to manually slide a Slider placed inside a Drawer in Android. They could click anywhere along the slider and it will change the value, but not slide. 

Windows Applications Build Process Failure

Users reported build failure in Dart Virtual Machine when building Windows apps in the Flutter 2.12 version. The Dart VM failure has been fixed in the hotfixes.

Dart pub login failure

Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs.

A user commented on Github that dart pub login fails to write dart/pub-credentials.json after successful authentication. Pub login failure issues are resolved in Flutter 3.0.2 hotfixes.

Dart analyzer failure

This package provides a library that performs static analysis of Dart code. It is useful for tool integration and embedding. End-users should use the dart analyze command-line tool to analyze their Dart code.

After upgrading to Dart 2.17 and Flutter 3.0, Github users commented that dart analyzer throws errors when using enhance Enums feature (a generator for enum extensions and generators from strings.)

Other Insights

Got an app?

We build and deliver stunning mobile products that scale

Got an app?

We build and deliver stunning mobile products that scale

Got an app?

We build and deliver stunning mobile products that scale

Got an app?

We build and deliver stunning mobile products that scale

Got an app?

We build and deliver stunning mobile products that scale

Our mission is to harness the power of technology to make this world a better place. We provide thoughtful software solutions and consultancy that enhance growth and productivity.

The Jacx Office: 16-120

2807 Jackson Ave

Queens NY 11101, United States

Book an onsite meeting or request a services?

© Walturn LLC • All Rights Reserved 2024

Our mission is to harness the power of technology to make this world a better place. We provide thoughtful software solutions and consultancy that enhance growth and productivity.

The Jacx Office: 16-120

2807 Jackson Ave

Queens NY 11101, United States

Book an onsite meeting or request a services?

© Walturn LLC • All Rights Reserved 2024

Our mission is to harness the power of technology to make this world a better place. We provide thoughtful software solutions and consultancy that enhance growth and productivity.

The Jacx Office: 16-120

2807 Jackson Ave

Queens NY 11101, United States

Book an onsite meeting or request a services?

© Walturn LLC • All Rights Reserved 2024

Our mission is to harness the power of technology to make this world a better place. We provide thoughtful software solutions and consultancy that enhance growth and productivity.

The Jacx Office: 16-120

2807 Jackson Ave

Queens NY 11101, United States

Book an onsite meeting or request a services?

© Walturn LLC • All Rights Reserved 2024

Our mission is to harness the power of technology to make this world a better place. We provide thoughtful software solutions and consultancy that enhance growth and productivity.

The Jacx Office: 16-120

2807 Jackson Ave

Queens NY 11101, United States

Book an onsite meeting or request a services?

© Walturn LLC • All Rights Reserved 2024