Edit Content

Menu

Flutter Updates

What’s New about Flutter 3.3 – Exciting Features and Updates

Flutter’s popularity has grown immensely over the last few years. The main reason is that they continue to provide evidence of growth with new updates. Flutter 3, announced almost 3 months ago, was a huge milestone that offered reliable support for application development for all six platforms. But they didn’t just stop there. On August 31, Flutter announced the launch of Flutter 3.3 at the Flutter Vikings conference. The version has merged around 5,687 pull requests.  The update has added some more refinements and improvements to Flutter 3 like Dart 2.18 support, new components of material 3, Scribble, some exciting extensions, and much more. Let’s have a look. Framework Features Introducing Global Selection Flutter didn’t really show good behavior when it came to text selection. You couldn’t select the widgets by default with a single swiping gesture. But no more of that fuss. Flutter 3.3 has introduced this new feature of the “SelectableArea” widget, allowing adaptive selection controls to web app developers. To get the feature just wrap your route body with the widget of “SelectableArea”. Flutter will do the rest for you. Rich Text Editing with Text Input Flutter 3.3 has now improved its rich text editing support. Now you can receive granular text updates from “TextInputPlugin”. In previous updates, the “TextInputPlugin” only provided the new states with no delta between the old and the new. But “TextEditingDeltas” and “DeltaTextInputClient” have replaced this informational gap. An Improved Touchpad (trackpad) Input Flutter 3.3 offers improved touchpad input support for its users. With this feature, you get a much smoother and richer control, further reducing any chances of misinterpretation. Say goodbye to clicking and dragging, simply manipulate content with the pointer on the touch screen. With a wide range of different touch gestures, there won’t be any awkward interactions. You can further read about the pan gesture, zoom gesture, rotate gesture, and other details here. A Jump to Dart 2.18 Like most of the past Flutter launches, Flutter 3.3 has also bumped up Dart language by introducing Dart 2.18. The 2.18 version has extended its support to Swift and Objective-C codes with “ffigen” – an API wrapper generation tool. The Flutter 3.3 update has streamlines the process of making API calls. This is surely pleasing news for iOS and Mac developers. The developers of Android and iOS are also allowed to use platform-specific code for the required HTTP requests. Scribble it! Flutter 3.3 now also supports Scribble – a free-hand drawing tool for iPad using the input of Apple Pencil. It has already been enabled by default on “TextField”, “Cupertino TextField” (ios-style textfield), and “EditableText”. Upgrade to Flutter 3.3 to get this feature.  Windows Desktop  In previous Flutter versions, you could only set your windows desktop application’s version by the file that’s specific to the window app itself. But now, you can set your app versions and build arguments from the project “pubspec yaml” file. Now it’s easy to enable auto-updating and get the recent version to your client. Material Design 3 is Here! Material design 3 new components have now been incorporated in the Flutter 3.3 version with updates on “Chips”, “IconButton” and medium and large variants of “AppBar”. The following images will help you get a better idea. Impeller – A new rendering Engine on its Way Flutter is also releasing a new replacement for Skia. Flutter developers can now test this new rendering layer – Impeller. The purpose of this improvement is to give a significant boost to the Android and iOS apps with its runtime taking complete advantage of hardware-accelerated APIs like Vulkan for Android and Metal for iOS. Check out Flutter 3.7 update that just rolled out with amazing features and improvements. You can surely expect an almost silkier animation on your Flutter applications. Impeller has also removed the need for runtime shader compilation which has been a major source of frame time janks in the applications. It is being tested actively and iOS developers have been asked to submit their reviews on it too. Impeller for Android is still under process. New Packages in Flutter 3.3 go_router  Things can get complex while developing an app with complicated navigation needs. But now it’s easy to design a routing logic that will work fine across the web, desktop, and mobile through go_router. It is a Declarative Routing Package designed by the Flutter team. By providing a declarative, URL-based API, this flutter package gives you an easy way to handle deep links and navigation across different screens. VS Code Extension Enhancement  tools to your installation that will later help your development workflow. Almost every version of Flutter has released some enhancements of Visual Code Extension and Flutter 3.3 has done it too. By using Dart: Add Dependency, you can now add multiple, comma-separated dependencies in a single step. An Update on DevTools The new update comes with UX and some performance improvements to data display tables. There will be a less jittery and much faster scrolling experience of large lists of events.  How has the performance improved? Raster Cache Improvements The improvement resulted in faster image loading capability by reducing Dart GC (Garbage Collection) pressure and the need for multiple copies. Before this, for the loading of asset images, the “ImageProvider” needed the compressed data to be copied many times. By the addition of “ui.ImmutableBuffer.fromAsset”, you can load the compressed image directly into the structure utilized for decoding. The improvement has reduced the loading time to almost half of what it was before. Deprecation of 32-bit iOS The new version no longer supports iOS versions 9, 10, and 32bit iOS devices. Deprecation of Bitcode Bitcode helps you in reducing an app’s size through recompilation. In the upcoming Xcode 14 release, bitcode most probably will not be allowed for iOS app submission. Although it is disabled by default, for the projects that have it enabled, it will emit a built warning. No iOS Pointer Compression – A Step towards Stability Pointer compression reserves a huge virtual memory region for

Read More »

Flutter 3.0 – All New Features, Benefits And Improvements

Flutter continues to bring amazing updates with exciting features that help developers build apps more productively. Over the past couple of years, Flutter has gained much popularity in the mobile app development realm. Businesses are opting for newer and more advanced technologies to build apps to mark their presence in the online marketplace. Flutter just released its stable release Flutter 3.0, with app support for macOS and Linux desktops as well. Recently, about 3 months ago, Flutter announced support for Windows. Now, here is the latest and much-improved Flutter release with improvements to firebase integration, and new productivity and performance features. Moreover, this release has support for Apple silicon as well. In this article, we are going to cover all the new features and improvements Flutter has incorporated into Flutter 3.0. Introducing Flutter 3.0 Flutter started as an attempt to revolutionize app development. This was only possible by combining the iterative development model of the web with hardware-accelerated graphics rendering. And also the pixel-level control that was previously the preserve of games. Over the last four years since Flutter came into existence, Flutter has gradually built on these foundations by adding new framework capabilities and new widgets, deeper integration with the underlying platforms, a rich library of packages, and many performances and tooling improvements. Flutter expanded iOS and Android with web and Windows support in previous releases. And now, Flutter 3.0 brings stable support for macOS and Linux apps as well. It requires more than rendering pixels to add platform support. It includes new input and interaction models, compilation and build support, accessibility, internationalization, as well as platform-specific integration. Flutter’s goal is to give you the flexibility to take full advantage of the fundamental operating system while sharing as much UI and logic as you choose. Flutter 3 Release Date Flutter 3.0 was released on May 11, 2022. It came up with a stable version for macOS and Linux stable support and performance improvements as well. What’s New in Flutter 3.0? As flutter aims to deliver an immersive development experience to its users, Flutter 3.0 came with the most beneficial features. Firebase Integration Improvements While building an app, there is a lot more involved than a UI framework. To build an app, developers need a comprehensive approach that helps build, release, and operate the app. This includes services like authentication, data storage, cloud functions, and device testing. Different services like Sentry, AppWrite, and AWS Amplify. Firebase provides app services to Google. Moreover, developer benchmarking studies by SlashData show that 62% of Flutter developers choose Firebase for their apps. So, Flutter has been working with Firebase to expand and better integrate Flutter as a first-class integration, lately. This includes bringing the Firebase plugins for Flutter to 1.0 and adding better documentation and tooling. And also new widgets like FlutterFire UI provide developers with a reusable UI for auth and profile screens. Foldable Phone Support Interestingly, Flutter 3.0 release now also supports foldable mobile devices. New features and widgets in Flutter 3.0 allow you to create dynamic and delightful experiences on foldable devices. This only was made after a collaboration spearheaded by Microsoft. As part of this work, MediaQuery now contains a list of DisplayFeatures that describes the bounds and states of device elements. For example hinges, folds, and cutouts. In addition, the DisplayFeatureSubScreen widget now positions its child widget without overlapping the bounds of DisplayFeatures. Also, it has already been integrated with the framework’s default dialogs and pop-ups, making Flutter aware and responsive to these elements. Updated Gradle Version The generated files with Flutter tools now use the latest versions of the Gradle and Android Gradle plugins. You will need to manually bump the versions to 7.4 for Gradle, and 7.1.2 for the Android Gradle plugin for existing projects. Flutter Casual Games Toolkit Flutter is an app framework for most developers. Unfortunately, they lack knowledge about a growing community around casual game development, taking advantage of hardware-accelerated graphics support. Interestingly, Flutter supports them with open-source game engines like Flame. Flutter also aims to make it easier for casual game developers to get started. So, at I/O they announced the Casual Games Toolkit. It provides a starter kit of templates and best practices for developers along with credits for ads and cloud services. You can easily integrate Game Center on iOS and Google Play on Android devices. Dart 2.17 Flutter has announced a new Dart SDK, version 2.17 with newer upgrades and additions. This release brings Flutter’s core themes of leading productivity and platform portability. It offers new language features that include enums with member support, improved parameter forwarding to superclasses, and more flexibility for named parameters. Flutter also improved tools with a new major version of package:lints. It is a tool to support checking Dart code against Flutter’s best practices. Also a broad update of core library API documentation with rich code samples. For improved platform integration. Flutter has new templates for using dart:ffi (native C interop) in Flutter plugins, experimental support for RISC-V processors, and support for signing macOS and Windows executables. Material 3 Support in Flutter 3.0 Flutter 3.0 now supports Material Design 3, the latest design system from Material Design. Flutter 3 provides support for Material 3.0. This includes ‘Material You’ having features like dynamic color, an updated color system, typography, and many updated components. Additionally, new visual effects are introduced in Android 12 like a new touch ripple design and a stretch overscroll effect. In flutter 3.0, developers can adopt an adaptable, cross-platform design system that offers dynamic color schemes and updated visual components. Lint Package Updates Apps built with Flutter 3.0 with flutter create automatically enable the v2.0 sets of lints. Current apps, packages, and plugins are encouraged to migrate to v2.0. This tends to follow the latest and greatest best practices in the Flutter world, by running flutter pub upgrade –major-versions flutter_lints. Most of the latest lint warnings in v2 come with automated fixes. After you’ve upgraded to the latest package version in pubspec.yaml

Read More »

What Is FlutterFlow? A Practical Guide to Design Flutter Apps of the Future

You must be familiar with the flutter framework; an application development platform that has transformed the way of building mobile, web, and desktop apps. Nowadays, many businesses rely on the Flutter framework to build beautiful, scalable, and responsive apps. With the release of FlutterFlow, things have now been easier. Owing to this, designing platforms have also tightened their belts to compete for the best design features. The release of FlutterFlow has surprised the whole community with its amazing and easy-to-use features. There are different platforms available that offer designing UI/UX for your apps. But FlutterFlow overcomes all of them due to its obvious features which we will be discussing shortly. Let’s move towards knowing what is Flutter Flow? Its features, Pricing, Resources, and much more. What is FlutterFlow? FlutterFlow is an online low-code visual builder for native mobile applications. You can create beautiful interfaces, dynamic apps, user-generated content apps, business apps, and much more. FlutterFlow was released back in late 2021, especially for the Flutter framework. It was developed by two former Google engineers as a third-party visual app builder. As discussed earlier, FlutterFlow has a drag & drop feature which allows you to build elegant custom applications within an hour. Let’s move towards some more exciting features of Flutter Flow. Features of FlutterFlow

Read More »

Flutter in 2024: Strategy and Roadmap

Flutter always gives utmost priority to delivering a transparent and reliable experience to developers.  Each year Flutter goes through a proper planning process to set goals and areas of focus for the upcoming year. Having a look at Flutter’s strategy and roadmap is the best way to make your development career more productive. During the present times, businesses are exploring newer and better investment opportunities. You will come across thousands of ideas and every next idea would buzz around an app. Because in this era of digital advancement, every next task of our daily life depends upon an app. While many other business trends are going on, app development would be one of the top 3 for sure. Owing to this, technological frameworks intend to present the best possible platforms to developers for building beautiful, fast, productive, and scalable apps. That’s what flutter possesses among its other qualities. Flutter is an open-source single codebase development framework that offers an easy and fast process for native as well as cross-platform app development. Recently, Flutter shared its annual strategy and roadmap document with the community for the first time. Usually, product teams keep such documents private as they may contain commercially-sensitive information or refer to areas of competitive advantage. However, as an open-source project, Flutter believes that transparency is a virtue. And it allows greater trust in the future in long run. It allows others to make plans with better clarity as to how their investments may connect to them. Flutter Strategy Planning and Goals in 2022 Related Post- Firebase Authentication Conclusion That was pretty much it for Flutter strategy and roadmap in 2022. I hope you’ll find this useful and it help you in your app development journey. If you’re looking for a Top Flutter app development company for mobile, web, or desktop app development then FlutterDesk is your right choice. Having 5 years of experience developing apps for a variety of businesses, we have solutions to every tech-related problem of yours.

Read More »

What’s New in Flutter 2.10 Update? Flutter for Windows

In all the development contests, newer and advanced frameworks are being launched to enhance the development process and help developers create effective mobile, desktop, and web apps. Flutter came up with the release of its new version called Flutter 2.10. It has several new features and improvements (especially for Windows app developers) which refine the development process to be more reliable and effective in every possible way. Flutter always strives to serve the developers what they need. It gathers the mobile, web, desktop, and embedded developers into a single toolkit: letting developers focus firstly on what they want to build rather than targeting a specific platform. It is a high-performance, more productive framework that shortens the inner loop for developers and enables one codebase to target multiple platforms and form factors.  On 03 February 2022, Flutter released its latest version 2.10. Although it is not a major update, it came with a few interesting additions. This update mainly benefitted Windows app developers, but iOS and Android developers can also leverage this update. What’s Special in Flutter 2.10? Flutter and Windows Flutter laid the ambition years ago to extend from mobile apps on iOS and Android to other platforms like desktop and web apps. Just as with Flutter’s support for Android and iOS, the Windows implementation of Flutter combines a Dart framework and C++ engine. Windows and Flutter connect through an embedding layer that hosts the Flutter engine and is responsible for translating and dispatching Windows messages. Flutter coordinates with Windows to paint your UI to the screen and handles events like window resizing and DPI changes. Additionally, it works with existing Windows methods for internationalization, such as input method editors.          With the release of Flutter 2.10, the toolkit’s support for making apps for Windows is now considered “stable”. It means it’s fully ready for developers to use for developing apps used by the masses. In preparation for Flutter for Windows, Google has been working with third-party developers to ready a full ecosystem of plugins for the Windows apps. This release includes large improvements for text handling, keyboard handling, and keyboard shortcuts, as well as new integrations directly into Windows. Improved Performance This update has enhanced performance as this release of Flutter includes initial support for dirty region management. One of the Flutter community suggested this. It enabled partial repaints for a single dirty region on iOS/Metal. This change has reduced 90th and 99th percentile rasterization times on a few benchmarks by an order of magnitude, and reduced GPU utilization on these benchmarks from more than 90% to less than 10%. Previously in Flutter 2.8, there was flutter’s own internal picture recording format. Now in the 2.10 release, Flutter has started building optimizations with it. For example, one common case of opacity layers is now implemented much more efficiently. Even in the worst case, frame raster times in benchmarks fell to under a third of their previous value. Moreover, flutter will likely expand this optimization to cover more cases as it continues to develop the picture recording format. This release also includes faster implementations of type flow analysis. Interestingly, overall build time for a flutter app has been reduced to 10% according to their benchmark. Updates for iOS Flutter has also added some enhancements and features for iOS. One of the enhancements is the smooth keyboard transitions in iOS. It is provided by one of Flutter’s contributors and is automatically provided to your app without doing any specific action. In this release, the stability of the camera plugin for iOS has been improved by fixing a few edge case crashes. Finally, a new feature for iOS “compressed pointers” has also been introduced. It helps reduce memory usage in 64-bit iOS architectures as it occupies a lot of space when opting for 64-bit architecture. In case, you have a lot of objects, it will contain a lot of space, however, your iOS app is very unlikely to have enough objects to require a significant portion of even the 32-bit address space (2 billion objects), let alone the enormity of the 64-bit address space (9 million billion objects). Updates for Android In addition to improving performance and introducing windows support, this release contains several improvements for Android as well. When you create a new app, Flutter itself defaults to support the latest version of Android, version 12 (API level 31). In this release, Flutter defaults enabled multidex support automatically. If your app supports Android SDK versions below 21, override back button flutter and it exceeds the method limit of 64K, simply pass the –multidex flag to flutter build app bundle or flutter build apk and your app will support multidex. And last but not least, Flutter listened to developers’ feedback that Gradle error messages can be intimidating. Owing to this, the Flutter tool now suggests resolution steps to common issues. For instance, if you add a plugin to your app that requires you to increase the least supported Android SDK version, you now see a “Flutter Fix” suggestion in the logs. Web Updates This release has some improvements for the web as well. For example, in previous releases, when we scroll to the edge of a multiline TextField on the web, it wouldn’t scroll properly. This release introduced “edge scrolling for text selection”. When the pointer selecting the text moves outside of the text field, the field scrolls to view the scroll limit. This new feature is also available for both desktop apps. Moreover, flutter has also reduced the overhead of mapping Flutter to the web. In this release, Flutter created a new “non-painting platform view” for the web that removes that overhead particularly. And Flutter has taken advantage of this optimization in the Link widget, which means if you have many links in your Flutter web app, they no longer represent any significant overhead at all. Flutter also intends to apply this optimization to other widgets over time. Material 3 in Flutter 2.10 This release is a new step for transition

Read More »

What Makes Flutter Set A New Development Trend in 2024?

It is surprising to see the exponential increase in mobile apps available in app stores. This also makes the competition tough for enterprises and startups to stand out in the market. When it comes to developing an app, the first question that comes to mind is to figure out which reliable frameworks are present. Fast development process, optimal performance, cost-effectiveness, interactive UI/UX design, and easy development process are some of the major concerns of an app developer. These are responsible for Flutter to set a new development trend in 2023. Now the question is how to find a reliable platform having all these perks for having an app built. Although there are plenty of frameworks present out there. Each framework has its pros and cons. But fortunately, Flutter changed the game by stepping into the field of app development and setting new trends in mobile app development. Flutter has become the most common Mobile App Development Trends for building cross-platform apps. Moreover, the Flutter community is expanding quickly, and increasingly now many top Flutter app development companies across the world. It has gained almost 110,000 stars on GitHub until now. Likewise, Google has been providing continuous support for programmers via community platforms and regular updates. There are many reasons for Flutter being the first choice of developers. Let’s discuss a few of them. Reasons Why Flutter is the Future

Read More »