Flutter 3.7 - What's New In Flutter


Flutter released its new edition i.e. Flutter 3.7 and its new addition mostly focuses on improving the flutter framework such as: 

  • The ability to create custom menu bars
  • Cascading menus
  • Tools to better support internationalization
  • New debugging tools and much more which we will talk about further in this article

Flutter 3.7 Migrate mostly features

  1. Badge
  2. Banner
  3. BottomAppBar
  4. Filled buttons
  5. Filled Tonel Buttons
  6. SegmentedButton
  7. Check Box
  8. Divider
  9. Menus
  10. DropdownMenu
  11. Drawer 
  12. Navigation Drawer
  13. Progress Indicator
  14. Radio Buttons
  15. Slider
  16. Snack Bar
  17. TabBar
  18. TextField 
  19. Input Decorator

Besides the above widgets, new Flutter 3.7 also refines features like global selection, faster rendering with impeller, DevTools, and performance

Let's go a little bit more in context with some of the above features


Menu bars and cascading menus

  1. Flutter can now create menu bars and cascading context menus for only macOS.
  2. In macOS create a menu bar using the PlatformMenuBar widget(introduced in Flutter 3.7) which defines platform native menu bars rendered by macOS instead of Flutter.
  3. For all stages, we can define a Material Design menu that gives cascading menu bars or independent cascading menu bars set off by another UI component i.e. MenuAnchor. You can customize these menus and menu items and also you can create new menu item widgets(MenuItemButton, SubMenuButton).

 DevTools updates

  1. In this update, the DevTools memory debugging has undergone a complete overhaul and There are 3 new features such as Profile, Trace, and Diff to support all the previous memory.
  2. New features include the analysis of current memory allocation for the app by class and memory type means it will investigate what code paths are allocation memory for a set of classes at runtime and diff memory snapshots to understand the memory management of two different time

Custom context menus:

  1. Now you can create custom menus anywhere in your app and these new features also work outside of text selection too

 Scrolling updates:

  1. Polish and refinement for trackpad interactions.
  2. New widgets such as Scrollbars and DraggableScrollableSheet introduced
  3. Improved handling for text selection within scrolling contexts. 

 Memory Management:

  1. The collective effect of reducing jank caused by garbage collection pauses
  2. Reducing CPU utilization due to allocation velocity and background GC threads and also reducing the memory footprint. 

 Sunsetting macOS 10.11 through 10.13:

  • In a previous version of Flutter, there was no support for macOS 10.11 and 10.12. But now in Flutter 3.7 minimum macOS version supported by flutter is increased to 10.14.

Reduce animation jank on IOS devices:

  1. The addition of a dummy CADisplayLink on the main thread during gestures now faces refreshes at the maximum refresh rate.
  2. Keyboard animation now set the refresh rate of the CADisplayLink to the same refresh rate used by Flutter engine animation.

Bitcode Deprecation:

  1. With the new version of XCode i.e Xcode 14, Bitcode is no longer required for WatchOS and tvOS applications.
  2. Xcode will not accept bit code submissions from Xcode 14.





0 Comments